Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ruyadorno
Copy link
Member

Add a --lockfile-only option to the CLI and the support to a lockfileOnly option in the @vltpkg/graph library so that installs are limited to only saving to the vlt-lock.json file while avoiding any node_modules related file system operations.

Refs: https://docs.npmjs.com/cli/v11/commands/npm-install#package-lock-only
Refs: https://pnpm.io/cli/install#--lockfile-only

Add a `--lockfile-only` option to the CLI and the support to a
`lockfileOnly` option in the `@vltpkg/graph` library so that installs
are limited to only saving to the `vlt-lock.json` file while avoiding
any `node_modules` related file system operations.

Refs: https://docs.npmjs.com/cli/v11/commands/npm-install#package-lock-only
Refs: https://pnpm.io/cli/install#--lockfile-only
Copy link

vercel bot commented Aug 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Aug 11, 2025 3:45pm

@ruyadorno
Copy link
Member Author

Will also need to write to importers package.json files.

Copy link

🐰 Bencher Report

Branchruyadorno/add-cli-lockfile-only
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
seconds (s)
(Result Δ%)
Upper Boundary
seconds (s)
(Limit %)
vlt install: vue & cache-lockfile📈 view plot
🚷 view threshold
10.68 s
(-1.35%)Baseline: 10.82 s
11.90 s
(89.68%)
vlt install: vue & cache-lockfile-node-modules📈 view plot
🚷 view threshold
8.07 s
(-0.47%)Baseline: 8.11 s
8.92 s
(90.48%)
vlt install: vue & clean📈 view plot
🚷 view threshold
14.50 s
(+4.43%)Baseline: 13.88 s
15.27 s
(94.94%)
vlt install: vue & lockfile📈 view plot
🚷 view threshold
13.79 s
(-0.39%)Baseline: 13.85 s
15.23 s
(90.56%)
🐰 View full continuous benchmarking report in Bencher

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