Skip to content

fix(migration): pin @oxlint/migrate to bundled oxlint version#1243

Merged
fengmk2 merged 4 commits intomainfrom
lock-migrate-version
Mar 31, 2026
Merged

fix(migration): pin @oxlint/migrate to bundled oxlint version#1243
fengmk2 merged 4 commits intomainfrom
lock-migrate-version

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Mar 31, 2026

Prevent version drift between @oxlint/migrate and the oxlint binary
shipped with vite-plus. Without this, vp migrate fetches the latest
@oxlint/migrate from npm, which may reference rules not yet supported
by the bundled oxlint, causing vp lint errors after migration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 31, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit bd87fe8
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69cbbae22ce04e0007d5d47b

Copy link
Copy Markdown
Member Author

fengmk2 commented Mar 31, 2026


How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 marked this pull request as ready for review March 31, 2026 12:02
@fengmk2 fengmk2 self-assigned this Mar 31, 2026
@fengmk2 fengmk2 added test: e2e Auto run e2e tests labels Mar 31, 2026
fengmk2 added 4 commits March 31, 2026 20:14
Prevent version drift between @oxlint/migrate and the oxlint binary
shipped with vite-plus. Without this, `vp migrate` fetches the latest
@oxlint/migrate from npm, which may reference rules not yet supported
by the bundled oxlint, causing `vp lint` errors after migration.
Prevent version drift between @oxlint/migrate and the oxlint binary
shipped with vite-plus. Without this, `vp migrate` fetches the latest
@oxlint/migrate from npm, which may reference rules not yet supported
by the bundled oxlint, causing `vp lint` errors after migration.

Reads the oxlint version from dist/versions.js via dynamic import,
externalized in rolldown so it resolves at runtime.
@fengmk2 fengmk2 force-pushed the lock-migrate-version branch from 071a851 to bd87fe8 Compare March 31, 2026 12:15
@fengmk2 fengmk2 merged commit df34c13 into main Mar 31, 2026
65 checks passed
@fengmk2 fengmk2 deleted the lock-migrate-version branch March 31, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: e2e Auto run e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants