feat(lint): add ./lint export and use it for oxlint config generation#710
Merged
Brooooooklyn merged 5 commits intomainfrom Mar 6, 2026
Merged
feat(lint): add ./lint export and use it for oxlint config generation#710Brooooooklyn merged 5 commits intomainfrom
./lint export and use it for oxlint config generation#710Brooooooklyn merged 5 commits intomainfrom
Conversation
✅ Deploy Preview for viteplus-staging canceled.
|
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
fengmk2
approved these changes
Mar 6, 2026
fengmk2
reviewed
Mar 6, 2026
6a27245 to
9bc4541
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
09f8d92 to
5ee2ee8
Compare
…G.md Replaces the inaccurate three-layer pipeline description with a correct two-category breakdown (manual vs automated). The previous version incorrectly claimed sync-remote-deps.ts managed CLI package.json exports and referenced ./rolldown/* entries that don't exist in this package. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add `./lint` subpath export to CLI package.json - Create `src/lint.ts` to re-export `defineConfig` from the lint module - Update Rust config generator to import from `vite-plus/lint` instead of `oxlint` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The snap test harness symlinks `packages/cli/node_modules` into the temp directory, but `vite-plus` itself isn't in that directory (it only exists in the workspace root `node_modules`). Create a real `node_modules` dir with individual symlinks plus a `vite-plus` entry pointing to the CLI package, so `vite-plus/*` subpath imports resolve in generated files like `.vite-plus-lint.tmp.mts`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5ee2ee8 to
f9329cf
Compare
Member
Author
Merge activity
|
graphite-app bot
pushed a commit
that referenced
this pull request
Mar 31, 2026
Historically, it appears to have been added in #710. However, since this code no longer exists, there are no practical use cases for it. Furthermore, its use is not recommended for general users.
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.

docs(cli): rewrite package.json exports management section in BUNDLING.md
Replaces the inaccurate three-layer pipeline description with a correct
two-category breakdown (manual vs automated). The previous version
incorrectly claimed sync-remote-deps.ts managed CLI package.json exports
and referenced ./rolldown/* entries that don't exist in this package.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
feat(lint): add
./lintexport and use it for oxlint config generation./lintsubpath export to CLI package.jsonsrc/lint.tsto re-exportdefineConfigfrom the lint modulevite-plus/lintinsteadof
oxlintCo-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Note
Medium Risk
Changes package export surface and the CLI’s generated lint config import path, which could break lint config resolution if the new subpath export or build output is misconfigured. Snap-test harness changes also alter module resolution behavior in tests.
Overview
Adds a new public subpath export
vite-plus/lintthat re-exportsoxlint’sdefineConfig(and related types), and updates the Rust CLI config generator to emit temp lint configs that import fromvite-plus/lintinstead ofoxlint.Updates snap-test infrastructure to create a real
node_modulesin the temp workspace and symlink thevite-pluspackage itself sovite-plus/*imports resolve during tests, and refreshes global CLI snapshots accordingly.Rewrites
packages/cli/BUNDLING.mdto clarifypackage.jsonexports as manual vs automated (with./test/*handled by the sync step) and documents the new./lintexport.Written by Cursor Bugbot for commit f9329cf. This will update automatically on new commits. Configure here.