chore: follow the latest TypeScript repository template - #272
Merged
Merged
Conversation
angeloashmore
force-pushed
the
claude/busy-archimedes-s3umeo-template
branch
from
September 18, 2026 19:19
bc6f49b to
3337fe9
Compare
3 tasks
Align the repository with prismicio/prismic-typescript-template: - Use Node.js 26 in CI and test on Node.js 22, 24, and 26. - Use actions/checkout@v7, actions/setup-node@v7, and googleapis/release-please-action@v5. - Test types against TypeScript 5, 6, and 7. - Require Node.js 22 or later. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0188j8bZtppjZzgiM5snmz6k
angeloashmore
force-pushed
the
claude/busy-archimedes-s3umeo-template
branch
from
September 18, 2026 19:37
3337fe9 to
a59f312
Compare
angeloashmore
marked this pull request as ready for review
September 18, 2026 19:43
angeloashmore
changed the base branch from
claude/busy-archimedes-s3umeo
to
master
September 18, 2026 19:52
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
Aligns the repository with
prismicio/prismic-typescript-template. Stacked on top of #271.engines.nodeto>=22, because the updated toolchain requires it.actions/checkout@v7,actions/setup-node@v7,googleapis/release-please-action@v5..gitignorefollows the template's ordering.Left alone on purpose: the
e2ejob runs Playwright instead of the template'sunitjob, andtsconfig.jsonand.oxlintrc.jsonkeep their React-specific settings.Checklist
Preview
How to QA 1
🤖 Generated with Claude Code
https://claude.ai/code/session_0188j8bZtppjZzgiM5snmz6k
Note
Medium Risk
Raises minimum Node to 22 and bumps TypeScript/build tooling, which can break consumers on older Node or type-check setups; small runtime behavior fixes in image params and toolbar callbacks are low blast radius but worth a quick preview/e2e pass.
Overview
Brings the repo in line with the Prismic TypeScript template: Node 26 in publish/validate (and e2e matrix 22 / 24 / 26),
engines.noderaised to>=22, GitHub Actions bumped to checkout/setup-node v7 and release-please v5, and the types CI matrix simplified to TypeScript 5, 6, and 7.Dev toolchain and e2e move to TypeScript 7, tsdown 0.23, newer Playwright/oxlint/oxfmt, React 19.3, and refreshed Next/Prismic client versions in the Next e2e workspace (lockfile regenerated).
Library fixes:
PrismicImageclonesimgixParamsbefore normalizing nulls so callers are not mutated;PrismicToolbarsyncs preview callback refs inuseEffectinstead of on every render. Playwright env typing treatsCIasstring..gitignorereorders the*.tgzentry to match the template.Reviewed by Cursor Bugbot for commit a59f312. Bugbot is set up for automated code reviews on this repo. Configure here.
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. ↩