Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion crates/vp_cli_snapshots/tests/cli_snapshots/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ struct Case {
seed_runtime: bool,
/// Expose the run-root node_modules as the workspace's parent-dir
/// node_modules for fixtures that address the linked checkout packages by path (`node
/// ../node_modules/vite-plus/bin/oxlint`) rather than by specifier
/// ../node_modules/vite-plus/bin/vp`) rather than by specifier
/// through Node's upward walk.
#[serde(default, rename = "link-node-modules")]
link_node_modules: bool,
Expand Down
33 changes: 0 additions & 33 deletions packages/cli/bin/oxfmt

This file was deleted.

38 changes: 0 additions & 38 deletions packages/cli/bin/oxlint

This file was deleted.

2 changes: 0 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"directory": "packages/cli"
},
"bin": {
"oxfmt": "./bin/oxfmt",
"oxlint": "./bin/oxlint",
"vp": "./bin/vp",
"vpr": "./bin/vpr"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ export const DEFAULT_ENVS = {
// Env var set while `vite.config.ts` is loaded only to read a config block, not
// to run the Vite pipeline. `lazyPlugins` skips the user's plugin factory while
// it is `'1'`. Single source of truth shared by `withConfigMetadataResolution`
// (in-process) and the oxlint/oxfmt resolvers + bins (which load the config in
// a subprocess). Keep the `bin/oxlint`/`bin/oxfmt` literals in sync with this.
// (in-process) and the oxlint/oxfmt resolvers (which load the config in
// a subprocess).
export const CONFIG_METADATA_ENV = 'VP_RESOLVING_CONFIG_METADATA';
1 change: 0 additions & 1 deletion packages/cli/tsdown.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export default defineConfig([
'lint-plugins': './src/lint-plugins.ts',
'lint-plugins-dev': './src/lint-plugins-dev.ts',
'oxlint-plugin': './src/oxlint-plugin.ts',
'tsgolint-path': './src/utils/tsgolint-path.ts',
pack: './src/pack.ts',
'pack-bin': './src/pack-bin.ts',
// Global commands — explicit entries ensure lazy loading via dynamic import in bin.ts.
Expand Down
Loading