Skip to content

Fix dependency installation and production build - #1075

Merged
James Siri (jamesiri) merged 2 commits into
mainfrom
fix-build-dependencies
Nov 18, 2026
Merged

James Siri (jamesiri) merged 2 commits into
mainfrom
fix-build-dependencies

Conversation

@jeffwilcox

Copy link
Copy Markdown
Contributor

Summary

  • Pin dependency versions available from the configured npm feed and refresh the lockfile, including a TypeScript 6-compatible typescript-eslint.
  • Use ESLint 9 to satisfy the peer dependency ranges of Next.js's ESLint plugins.
  • Read the lockfile packages map on the thanks page so builds work with npm lockfile v3.

Validation

  • npm ci --strict-peer-deps --no-audit --no-fund
  • npm ls --all
  • npm run lint (39 existing warnings, no errors)
  • npx tsc --noEmit
  • npm run build
  • A11Y_USE_EXISTING_BUILD=1 npm run a11y -- --reporter=line (13 passed)

The local environment could not reach the public npm registry used by CI; dependency installation was verified against the configured internal feed.

Several pinned versions on main (@tanstack/react-query 5.108.0, @playwright/test 1.65.1,
eslint 10.15.0, postcss 8.5.33, serve 14.2.8) are not yet available from the package
feed, breaking npm ci. Pin to the newest available versions and regenerate the lockfile,
which also refreshes typescript-eslint to 8.72.2 so it supports TypeScript 6.

The regenerated lockfile is v3, which has no top-level dependencies map, so the /thanks
page now reads the packages map (present in v2 and v3).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jamesiri
James Siri (jamesiri) merged commit c1afbe1 into main Nov 18, 2026
5 checks passed

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pointblank-Bunner'S

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.

3 participants