Skip to content

fix: upgrade infrastructure to match template#136

Merged
angeloashmore merged 1 commit intomainfrom
aa/upgrade-infrastructure
Apr 4, 2026
Merged

fix: upgrade infrastructure to match template#136
angeloashmore merged 1 commit intomainfrom
aa/upgrade-infrastructure

Conversation

@angeloashmore
Copy link
Copy Markdown
Member

@angeloashmore angeloashmore commented Apr 4, 2026

Resolves:

Description

Align project infrastructure with prismic-typescript-template:

  • Switch formatter from Prettier to oxfmt
  • Consolidate CI workflows from 4 files (release.yml, prerelease-canary.yml, prerelease-pr.yml, prerelease-pr-cleanup.yml) into 2 (validate.yml, publish.yml)
  • Update tsconfig.json with declarationMap, esModuleInterop, and other missing options
  • Add $schema and prefer-const rule to .oxlintrc.json
  • Update CONTRIBUTING.md to use Release Please publish flow and node --run commands
  • Update bug report issue template

Checklist

  • A comprehensive Linear ticket, providing sufficient context and details to facilitate the review of the PR, is linked to the PR.
  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

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, updated format script, dependency updates, and removal of Prettier config/ignore files) and tightening lint config ($schema + prefer-const in .oxlintrc.json).

Consolidates GitHub Actions publishing into a single publish.yml that handles Release Please releases plus canary/PR prereleases (and deprecation/cleanup), deleting the prior release.yml and prerelease workflows; validate.yml is also adjusted (e.g., MODE=production for builds).

Updates developer/docs ergonomics: tsconfig.json gains missing compiler options (e.g. declarationMap, esModuleInterop), CONTRIBUTING.md is updated to the Release Please flow and node --run commands, 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

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

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>
@angeloashmore angeloashmore changed the title chore: upgrade infrastructure to match template fix: upgrade infrastructure to match template Apr 4, 2026
@angeloashmore angeloashmore merged commit 1abb259 into main Apr 4, 2026
11 of 13 checks passed
@angeloashmore angeloashmore deleted the aa/upgrade-infrastructure branch April 4, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant