Skip to content

Package updates in preparation for team issues.#471

Open
seanmarcia wants to merge 1 commit intogithub:mainfrom
seanmarcia:node_updates
Open

Package updates in preparation for team issues.#471
seanmarcia wants to merge 1 commit intogithub:mainfrom
seanmarcia:node_updates

Conversation

@seanmarcia
Copy link
Contributor

Clean up and get things ready for team issues.

This pull request includes several updates focused on dependency upgrades, build tooling, and minor UI improvements. The most significant changes are the upgrade of dependencies (including major updates to React, Next.js, ESLint, and related libraries), adjustments to build and linting configurations, and small enhancements to UI components and styles.

Dependency and Tooling Upgrades:

  • Upgraded major dependencies in package.json, including React to v19, Next.js to v16.2.0, TypeScript, ESLint, Prettier, and various related packages. This also updates FontAwesome, Octokit, and other libraries to their latest versions for improved compatibility and security.
  • Updated the Node.js version used in GitHub Actions workflows (deploy.yml and pr.yml) from 20 to 22 to align with the latest supported versions. [1] [2]

Linting and Build Configuration:

  • Removed the .eslintrc.json configuration file, likely moving ESLint configuration elsewhere or relying on defaults.
  • Changed the lint script in package.json to run eslint . directly instead of next lint.
  • Simplified the Husky pre-commit hook to only run npm run lint, removing the Husky shell script boilerplate.
  • Updated postcss.config.js to use the @tailwindcss/postcss plugin and simplified the syntax.
  • Added Tailwind CSS imports and custom CSS variables to styles/globals.scss for consistent theming and utility classes.

UI and Component Improvements:

  • Added instanceId props to Select components in LanguageFilter.tsx and SDGFilter.tsx to improve accessibility and prevent React warnings. [1] [2]
  • Added an inline style to the logo image in Header.tsx to ensure correct rendering.

Data and Miscellaneous:

  • Expanded the list of topics in topics.json, adding multiple SDG-related entries.
  • Minor code cleanup in generate.ts, removing unused imports. [1] [2]
  • Minor formatting changes in GitHub Actions YAML files (e.g., using double quotes for consistency). [1] [2]

These changes collectively modernize the project’s dependencies, streamline the build and linting process, and introduce small but meaningful improvements to the codebase and user interface.

Copilot AI review requested due to automatic review settings March 21, 2026 17:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the project’s frontend/tooling stack (Next/React/ESLint/Tailwind), updates build/CI configuration, and includes minor UI/data tweaks in preparation for upcoming team issue work.

Changes:

  • Upgrades core dependencies and tooling (React/Next/TypeScript/ESLint/Prettier/Tailwind) and adjusts related configs.
  • Updates GitHub Actions workflows to use Node 22 and tweaks deployment/build settings for static export.
  • Adds small UI improvements (react-select instanceId, header logo styling) and updates generated topic data/styles.

Reviewed changes

Copilot reviewed 12 out of 16 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
package.json Major dependency/tooling version bumps; changes lint and prepare scripts.
tsconfig.json Adjusts JSX compilation mode and formatting of config arrays.
next.config.js Adds images.unoptimized to support static export behavior.
postcss.config.js Switches Tailwind PostCSS plugin configuration format.
tailwind.config.js Removes an ESLint-disable comment at the top of the file.
styles/globals.scss Adds Tailwind directives + theme tokens and updates base font-family variable.
components/LanguageFilter.tsx Adds instanceId and reformats the Select usage.
components/SDGFilter.tsx Adds instanceId to the Select.
components/Header/Header.tsx Adds inline style to logo image to control height behavior.
generate.ts Removes unused imports (cleanup).
topics.json Expands the topics list (currently with duplicates).
.husky/pre-commit Simplifies hook to only run lint.
.github/workflows/pr.yml Updates Node version to 22.
.github/workflows/deploy.yml Updates Node version to 22; adjusts schedule/quoting.
.eslintrc.json Removes legacy ESLint config file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants