mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
c13b6d1413
Closes #18296. Adds a `--frozen` (alias `--frozen-lockfile`) flag that errors out if the lockfile is out of date. This is useful for running in CI (where an out of date lockfile is usually a mistake) or to prevent accidental changes in dependencies. ![Screenshot 2024-06-26 at 7 11 13 PM](https://github.com/denoland/deno/assets/17734409/538404b8-b422-4f05-89e8-4c9b1c248576)
11 lines
475 B
Text
11 lines
475 B
Text
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
|
|
changes:
|
|
5 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
|
|
5 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0",
|
|
6 | + "npm:@denotest/subtract@1": "npm:@denotest/subtract@1.0.0"
|
|
11 | - }
|
|
12 | + },
|
|
13 | + "@denotest/subtract@1.0.0": {
|
|
14 | + "integrity": "[WILDCARD]",
|
|
15 | + "dependencies": {}
|
|
16 | + }
|