refactor: update project infrastructure to standard Prismic TypeScript template#49
Merged
angeloashmore merged 3 commits intomasterfrom Apr 3, 2026
Merged
Conversation
…t template Replace the entire build/test/lint/format/CI toolchain with the standard Prismic TypeScript template setup to align with other Prismic packages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
oxlint's consistent-type-imports rule requires inline `type` qualifiers when mixing type and value imports from the same module. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
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
Replaces the entire build/test/lint/format/CI toolchain with the standard Prismic TypeScript template infrastructure. This aligns
apollo-link-prismicwith other Prismic packages for consistency and modern tooling.Replaced:
Checklist
Preview
How to QA 1
All 6 tests pass with 100% coverage.
🤖 Generated with Claude Code
Note
Medium Risk
Replaces core project tooling (lint/format/test/build/CI/release), which is operationally impactful and may surface new build/test/publish failures despite minimal runtime code changes.
Overview
Updates the repository’s infrastructure to match the standard Prismic TypeScript template: replaces ESLint/Prettier with
oxlint/oxfmt, AVA withvitest, and the build pipeline withtsdown(via newtsdown.config.ts,vitest.config.ts, updatedtsconfig.json, and new npm scripts/devDependencies).Reworks GitHub Actions by removing the legacy
ci.ymland addingvalidate.yml(lint/build/unit on Node 20/22/24 plus type-check across multiple TypeScript versions) andpublish.yml(Release Please-driven releases, plus automated canary and per-PR prereleases with cleanup).Cleans up and modernizes repo metadata/docs by deleting old config/template files, tweaking
.gitignore, updatingCONTRIBUTING.md, and applying formatting-only changes toREADME.md/CHANGELOG.md.Written by Cursor Bugbot for commit 87491b2. This will update automatically on new commits. 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. ↩