Skip to content

chore(deps): update dependencies - #292

Open
angeloashmore wants to merge 4 commits into
masterfrom
claude/dependencies
Open

angeloashmore wants to merge 4 commits into
masterfrom
claude/dependencies

Conversation

@angeloashmore

@angeloashmore angeloashmore commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

This PR updates dependencies to the latest versions published before the 3-day cutoff (2026-10-24).

Updated direct dependencies

Package Workspace From To
tsdown (dev) root 0.23.1 0.23.2
next e2e-projects/nextjs 16.4.2 16.4.3

npm update also refreshed transitive dependencies in package-lock.json (baseline-browser-mapping 2.11.31 → 2.11.32, and rolldown-plugin-dts 0.28.8 → 0.29.0-beta.2 via tsdown).

Tooling config change

tsdown 0.23.2 depends on rolldown-plugin-dts 0.29.0-beta.2. That version no longer selects the tsgo generator for TypeScript 7.0 (it needs the 7.1 API), so it falls back to tsc, which fails with TypeScript 7.0.2. tsdown.config.ts now sets dts: { generator: "oxc" }. The src/ code already passes --isolatedDeclarations.

I compared dist/ against the build on master: all .js and .d.ts files are identical. Only one source map (SliceZone.d.ts.map) has a small mapping difference. No source, test, CI, or peerDependencies changes. Lint, type-check, and build pass locally and in CI.

CI failure: not caused by this PR

The e2e jobs fail on one test on all Node.js versions: tests/PrismicToolbar.spec.ts › "adds the Prismic toolbar". The test expects an iframe whose src ends with iframe.html.

The hosted toolbar script (https://static.cdn.prismic.io/prismic.js) was replaced on 2026-10-27 05:50 UTC (S3 last-modified). The new script no longer contains iframe.html. It loads https://<repo>/prismic-toolbar/<hash>/shell.html and mounts the toolbar only when a preview session exists. The library output in this PR is identical to master, so master will fail the same test on its next run.

The fix is a change to the test's expected value (tests/infra/test.ts, toolbarIframe locator), or a new test approach for the new toolbar. Changing a test expectation is outside what this automated update is allowed to do, so this PR is left open for a human.

Decision for a human: update the toolbar e2e test for the new toolbar script (separately or on this branch), then re-run CI and merge.

Not updated

  • @prismicio/client 7.23.0, oxfmt 0.75.0, and oxlint 1.90.0 came out after the cutoff. A later run will pick them up.
  • @prismicio/types-internal (3.17.2, latest 4.8.0) is skipped by policy.

Held back

None. No updated package causes the failure; see above.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L1dGD6cQosStGAZrUEi4ev


Note

Low Risk
Dependency and build-tooling-only changes; published library artifacts are reported unchanged aside from a minor source map difference.

Overview
Bumps Next.js in the e2e app (16.4.2 → 16.4.3) and tsdown at the repo root (0.23.1 → 0.23.2), with matching package-lock.json refreshes (including Next SWC packages and transitive bumps such as rolldown-plugin-dts).

Because the new tsdown stack no longer generates .d.ts reliably with the default path on TypeScript 7.0.2, tsdown.config.ts now sets dts: { generator: "oxc" } so library builds keep working without changing application source.

Reviewed by Cursor Bugbot for commit cc9c98e. Bugbot is set up for automated code reviews on this repo. Configure here.

Update tsdown to 0.23.2 and next (e2e project) to 16.4.3, and refresh
transitive dependencies.

tsdown 0.23.2 uses rolldown-plugin-dts 0.29 beta, which does not pick
the tsgo generator for TypeScript 7.0. Set the dts generator to oxc. The
source already passes isolatedDeclarations, and the emitted .js and
.d.ts files do not change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1dGD6cQosStGAZrUEi4ev
The PrismicToolbar e2e test fails with next 16.4.3 on all Node.js
versions. The toolbar iframe does not load. Keep next at 16.4.2 until
a human looks at the cause.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1dGD7ewPZNoDUxbgXkdiW
The PrismicToolbar e2e failure also happens with a tree that is
identical to master. The dependency updates do not cause it. Restore
tsdown 0.23.2 and next 16.4.3, and keep the npm 11 lockfile format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1dGD7ewPZNoDUxbgXkdiW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants