Skip to content

fix: update dependencies#444

Merged
angeloashmore merged 3 commits into
masterfrom
chore/modernize-tooling
Apr 4, 2026
Merged

fix: update dependencies#444
angeloashmore merged 3 commits into
masterfrom
chore/modernize-tooling

Conversation

@angeloashmore

@angeloashmore angeloashmore commented Apr 3, 2026

Copy link
Copy Markdown
Member

Resolves:

Description

Modernize the project's tooling by replacing Prettier with oxfmt for code formatting, consolidating CI workflows, and cleaning up project configuration.

Key changes:

  • Formatter: Switch from Prettier to oxfmt with sorted imports, single-line JSDoc collapsing, and no semicolons. Removes .prettierrc, .prettierignore, and Prettier dependencies.
  • CI workflows: Merge release.yml, prerelease-canary.yml, prerelease-pr.yml, and prerelease-pr-cleanup.yml into one unified publish.yml. Bump actions/checkout to v6 and add MODE=production env to build step.
  • Dependencies: Add oxfmt, remove prettier and its plugins. Keep @prismicio/types-internal on v3.
  • Node engine: Bump minimum Node from 14.15.0 to 20.
  • Linting: Remove curly rule from oxlint (handled by oxfmt).
  • Cleanup: Remove release-please manifest file (.release-please-manifest.json).

The source and test file diffs are entirely formatting changes from the oxfmt migration.

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

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.

Modernize the tooling setup by switching the formatter from Prettier to
oxfmt, consolidating four separate publish/prerelease CI workflows into
a single `publish.yml`, and bumping dependencies and minimum Node to 20.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 309f231. Configure here.

Comment thread .github/workflows/publish.yml
Comment thread .github/workflows/publish.yml
@angeloashmore angeloashmore changed the title chore: replace Prettier with oxfmt and consolidate CI workflows fix: update dependencies Apr 3, 2026
angeloashmore and others added 2 commits April 3, 2026 13:44
The manifest file is unnecessary — release-please reads the version from package.json directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The v4 types-internal package is not yet available. Downgrade to ^3.17.0
and update all test imports to use the v3 deep import paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@angeloashmore
angeloashmore merged commit bdf131b into master Apr 4, 2026
13 checks passed
@angeloashmore
angeloashmore deleted the chore/modernize-tooling branch April 4, 2026 00:21
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