Conversation
- Replace Prettier with oxfmt for formatting - Update Node engine requirement from >=14.15.0 to >=20 - Update tsconfig: moduleResolution "bundler", enable declaration/declarationMap - Update oxlintrc: add $schema, remove padding-line-between-statements - Consolidate 4 publish workflows into single publish.yml - Add MODE: production env to validate build job - Clean up .gitignore (add *.tgz, remove stale entries) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 980651d. Configure here.
| "oxfmt": "^0.43.0", | ||
| "oxlint": "^1.58.0", | ||
| "tsdown": "^0.21.7", | ||
| "typescript": "^6.0.2", |
There was a problem hiding this comment.
CI types matrix tests outdated TypeScript versions
High Severity
The typescript devDependency was updated to ^6.0.2 in package.json, but the validate.yml CI matrix for type-checking still only tests TypeScript 5.x versions. Since TypeScript 6.0 includes significant breaking changes, the project's actual TypeScript version isn't validated in CI, meaning type-checking regressions specific to TS 6.x might go undetected.
Reviewed by Cursor Bugbot for commit 980651d. Configure here.


Resolves:
Description
Aligns this project's infrastructure with the current prismic-typescript-template to keep tooling and CI/CD consistent across Prismic packages.
Key changes:
moduleResolution: "bundler", enabledeclaration/declarationMap$schemato oxlintrc, removepadding-line-between-statementsrulepublish.yml*.tgz, remove stale playground/Next.js entriesChecklist
Preview
How to QA 1
npm run formatuses oxfmt🤖 Generated with Claude Code
Note
Medium Risk
Medium risk because it changes the release/publish automation and bumps the minimum Node.js engine to >=20, which can affect consumers and CI behavior. Most other changes are tooling/config updates with minimal runtime impact.
Overview
Consolidates npm publishing automation by replacing the separate
release,prerelease-canary,prerelease-pr, and PR cleanup workflows with a singlepublish.ymlthat handles releases (via release-please) plus canary/PR prereleases and tag cleanup.Refreshes project tooling to match the template: replaces Prettier with
oxfmt(adds.oxfmtrc.json, removes Prettier config/ignore), tweaksoxlintconfig (adds$schema, dropspadding-line-between-statements), and updates.gitignore(ignore*.tgz, remove stale Next/playground entries).Upgrades platform/deps by bumping
engines.nodeto>=20, updating build/test tooling dependencies (TypeScript/Vitest/jsdom/tsdown/oxlint), and making small formatting-only changes inSimulatorAPI/SimulatorClient.Reviewed by Cursor Bugbot for commit 980651d. 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. ↩