Skip to content

chore(deps): update dependencies - #271

Merged
angeloashmore merged 2 commits into
masterfrom
claude/busy-archimedes-s3umeo
Sep 18, 2026
Merged

angeloashmore merged 2 commits into
masterfrom
claude/busy-archimedes-s3umeo

Conversation

@angeloashmore

@angeloashmore angeloashmore commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

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 during npm ci. engines.node becomes >=22 and 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:

  • oxlint now enables react/refs and react/immutability by default. The callback refs in PrismicToolbar are written in an effect, and imgixParams is copied before it is normalized.
  • @types/node no longer permits a non-string property on ProcessEnv, so CI is declared as a string.
  • @prismicio/types-internal moves to the root dev dependencies. It is used by tests/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-internal stays on 3.x. Version 4 is a rewrite. Its models require a schema literal that Prismic sets rather than the caller, and its Zod-inferred types use mutable arrays, which the as const fixtures in tests/infra/setup.ts cannot 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 setup project, which needs Prismic credentials.

Checklist

  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

How to QA 1

🤖 Generated with Claude Code

https://claude.ai/code/session_0188j8bZtppjZzgiM5snmz6k

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment. ↩

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
@angeloashmore
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
@angeloashmore
angeloashmore merged commit c2e05c8 into master Sep 18, 2026
16 checks passed
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