fix: upgrade infrastructure to match template#136
Merged
angeloashmore merged 1 commit intomainfrom Apr 4, 2026
Merged
Conversation
Switch from Prettier to oxfmt, consolidate CI workflows (4 -> 2), update tsconfig.json, oxlintrc.json, and CONTRIBUTING.md to align with prismic-typescript-template. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Align project infrastructure with
prismic-typescript-template:release.yml,prerelease-canary.yml,prerelease-pr.yml,prerelease-pr-cleanup.yml) into 2 (validate.yml,publish.yml)tsconfig.jsonwithdeclarationMap,esModuleInterop, and other missing options$schemaandprefer-construle to.oxlintrc.jsonCONTRIBUTING.mdto use Release Please publish flow andnode --runcommandsChecklist
Preview
How to QA 1
Note
Medium Risk
Mostly infrastructure/tooling churn (CI workflow consolidation, formatter swap, tsconfig tweaks) with low runtime impact, but it changes the npm publish/release automation and formatting rules across the repo, which could disrupt releases or CI if misconfigured.
Overview
Aligns repository infrastructure with the template by replacing Prettier with
oxfmt(new.oxfmtrc.json, updatedformatscript, dependency updates, and removal of Prettier config/ignore files) and tightening lint config ($schema+prefer-constin.oxlintrc.json).Consolidates GitHub Actions publishing into a single
publish.ymlthat handles Release Please releases plus canary/PR prereleases (and deprecation/cleanup), deleting the priorrelease.ymland prerelease workflows;validate.ymlis also adjusted (e.g.,MODE=productionfor builds).Updates developer/docs ergonomics:
tsconfig.jsongains missing compiler options (e.g.declarationMap,esModuleInterop),CONTRIBUTING.mdis updated to the Release Please flow andnode --runcommands, the bug report template wording/examples are refreshed, and a large set of source/e2e files are reformatted to match the new style (no semicolons/import sorting) with no intended behavior changes.Reviewed by Cursor Bugbot for commit c1e8ce4. 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. ↩