Skip to content

Package updates in preparation for team issues.#474

Open
v-craigjzgh wants to merge 1 commit intomainfrom
node_updates
Open

Package updates in preparation for team issues.#474
v-craigjzgh wants to merge 1 commit intomainfrom
node_updates

Conversation

@v-craigjzgh
Copy link
Copy Markdown
Collaborator

@v-craigjzgh v-craigjzgh commented Apr 16, 2026

This PR replicates #471, which needed to be opened by a contractor/GitHub employee. Below are the notes from #471 @seanmarcia :

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.

@v-craigjzgh v-craigjzgh requested review from Copilot and csmlo and removed request for Copilot April 16, 2026 06:10
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.

1 participant