chore(deps): update dependencies - #271
Merged
Merged
Conversation
Update all dependencies and dev dependencies to their latest versions. Changes needed to keep the test suite green: - `oxlint` enables the `react/refs` and `react/immutability` rules by default. Write the callback refs in an effect and copy `imgixParams` before it is normalized. - `@types/node` no longer permits a non-string property on `ProcessEnv`. Declare `CI` as a string. - Move `@prismicio/types-internal` to the root dev dependencies. It is used by the test infrastructure, not by the Next.js end-to-end project. - `@prismicio/types-internal` stays on 3.x. Version 4 is a rewrite with new module paths, renamed types, and a different custom type model shape. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0188j8bZtppjZzgiM5snmz6k
3 tasks
angeloashmore
marked this pull request as ready for review
September 18, 2026 19:07
The updated build tool does not support Node.js 20. tsdown needs `^22.18.0 || ^24.11.0 || >=26.0.0`, and on Node.js 20 it fails during `npm ci`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0188j8bZtppjZzgiM5snmz6k
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves:
Description
Updates all dependencies and dev dependencies to their latest versions.
This drops Node.js 20. tsdown needs
^22.18.0 || ^24.11.0 || >=26.0.0, so on Node.js 20 it fails duringnpm ci.engines.nodebecomes>=22and the e2e matrix becomes 22 and 24. #272 adds Node.js 26, which is a separate change.Small source changes were needed to keep the suite green:
oxlintnow enablesreact/refsandreact/immutabilityby default. The callback refs inPrismicToolbarare written in an effect, andimgixParamsis copied before it is normalized.@types/nodeno longer permits a non-string property onProcessEnv, soCIis declared as a string.@prismicio/types-internalmoves to the root dev dependencies. It is used bytests/infra, not by the Next.js end-to-end project, and npm no longer hoists it to a place the root can resolve.@prismicio/types-internalstays on 3.x. Version 4 is a rewrite. Its models require aschemaliteral that Prismic sets rather than the caller, and its Zod-inferred types use mutable arrays, which theas constfixtures intests/infra/setup.tscannot satisfy. Migrate the custom type model tests to @prismicio/types-internal v4 prismic-client#454 tracks the migration for both packages.Lint, types, and build pass locally. The Playwright suite was not run here — every project depends on the
setupproject, which needs Prismic credentials.Checklist
Preview
How to QA 1
🤖 Generated with Claude Code
https://claude.ai/code/session_0188j8bZtppjZzgiM5snmz6k
Footnotes
Please use these labels when submitting a review:
⚠️ #issue: Strongly suggest a change.
❓ #ask: Ask a question.
💡 #idea: Suggest an idea.
🎉 #nice: Share a compliment. ↩