From cab87c95029ebe6b6b8af5a4874f23bb3e0a4b11 Mon Sep 17 00:00:00 2001 From: Sean Marcia Date: Sat, 21 Mar 2026 13:38:46 -0400 Subject: [PATCH] Package updates in preparation for team issues. --- .eslintrc.json | 17 - .github/workflows/deploy.yml | 13 +- .github/workflows/pr.yml | 2 +- .husky/pre-commit | 3 - components/Header/Header.tsx | 1 + components/LanguageFilter.tsx | 13 +- components/SDGFilter.tsx | 3 + generate.ts | 3 +- next.config.js | 6 +- package-lock.json | 9397 ++++++++++++++++++--------------- package.json | 71 +- postcss.config.js | 7 +- styles/globals.scss | 55 +- tailwind.config.js | 1 - topics.json | 12 +- tsconfig.json | 21 +- 16 files changed, 5337 insertions(+), 4288 deletions(-) delete mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index fb243737..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": [ - "plugin:@typescript-eslint/recommended", - "next", - "next/core-web-vitals", - "prettier" - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaFeatures": { - "jsx": true - }, - "ecmaVersion": 12, - "sourceType": "module" - }, - "plugins": ["@typescript-eslint"] -} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 36d40932..91b59c8e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,11 +10,10 @@ on: # Allows you to trigger this workflow from another workflow workflow_call: - - # Cron schedule, everyday at midnight - schedule: - - cron: '0 */6 * * *' + # Cron schedule, every 6 hours + schedule: + - cron: "0 */6 * * *" # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: @@ -37,7 +36,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "20" + node-version: "22" cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v2 @@ -68,9 +67,9 @@ jobs: with: commit_message: update generated.json [skip actions] branch: deploy - file_pattern: 'generated.json' + file_pattern: "generated.json" skip_checkout: true - push_options: '--force' + push_options: "--force" - name: Upload artifact uses: actions/upload-pages-artifact@v3.0.1 with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3b52a7ce..8ce47ade 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "20" + node-version: "22" cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v2 diff --git a/.husky/pre-commit b/.husky/pre-commit index 75fac8e1..3867a0fe 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npm run lint diff --git a/components/Header/Header.tsx b/components/Header/Header.tsx index 46179483..ad97da85 100644 --- a/components/Header/Header.tsx +++ b/components/Header/Header.tsx @@ -14,6 +14,7 @@ export const Header = () => { width={144} height={32} alt="For Good First Issue logo" + style={{ height: "auto" }} />