Repository navigation
chore(deps): update dependencies - #292
Open
angeloashmore wants to merge 4 commits into
Open
angeloashmore wants to merge 4 commits into
angeloashmore wants to merge 4 commits into
Conversation
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
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
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.
This PR updates dependencies to the latest versions published before the 3-day cutoff (2026-10-24).
Updated direct dependencies
npm updatealso refreshed transitive dependencies inpackage-lock.json(baseline-browser-mapping2.11.31 → 2.11.32, androlldown-plugin-dts0.28.8 → 0.29.0-beta.2 via tsdown).Tooling config change
tsdown 0.23.2 depends on
rolldown-plugin-dts0.29.0-beta.2. That version no longer selects thetsgogenerator for TypeScript 7.0 (it needs the 7.1 API), so it falls back totsc, which fails with TypeScript 7.0.2.tsdown.config.tsnow setsdts: { generator: "oxc" }. Thesrc/code already passes--isolatedDeclarations.I compared
dist/against the build onmaster: all.jsand.d.tsfiles are identical. Only one source map (SliceZone.d.ts.map) has a small mapping difference. No source, test, CI, orpeerDependencieschanges. Lint, type-check, and build pass locally and in CI.CI failure: not caused by this PR
The
e2ejobs fail on one test on all Node.js versions:tests/PrismicToolbar.spec.ts› "adds the Prismic toolbar". The test expects aniframewhosesrcends withiframe.html.The hosted toolbar script (
https://static.cdn.prismic.io/prismic.js) was replaced on 2026-10-27 05:50 UTC (S3last-modified). The new script no longer containsiframe.html. It loadshttps://<repo>/prismic-toolbar/<hash>/shell.htmland mounts the toolbar only when a preview session exists. The library output in this PR is identical tomaster, somasterwill fail the same test on its next run.The fix is a change to the test's expected value (
tests/infra/test.ts,toolbarIframelocator), 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/client7.23.0,oxfmt0.75.0, andoxlint1.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 matchingpackage-lock.jsonrefreshes (including Next SWC packages and transitive bumps such asrolldown-plugin-dts).Because the new tsdown stack no longer generates
.d.tsreliably with the default path on TypeScript 7.0.2,tsdown.config.tsnow setsdts: { 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.