Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --lock-write references #876

Merged
merged 1 commit into from
Sep 21, 2024
Merged
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
Remove --lock-write references
  • Loading branch information
bartlomieju committed Sep 20, 2024
commit 38b2d5f20b0fd246738be01987a18f0dfefc19f1
2 changes: 1 addition & 1 deletion runtime/getting_started/command_line_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Affect commands which can download resources to the cache: `deno cache`,

```sh
--lock <FILE> Check the specified lock file
--lock-write Write lock file. Use with --lock.
--frozen[=<BOOLEAN>] Error out if lockfile is out of date
```

Find out more about these
Expand Down
6 changes: 3 additions & 3 deletions runtime/reference/cli/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Cache and compile remote dependencies recursively.
deno cache [--no-check[=<NO_CHECK_TYPE>]] [--import-map <FILE>] [-q|--quiet]
[--no-remote] [--no-npm] [--node-modules-dir[=<node-modules-dir>]] [--vendor[=<vendor>]]
[-c|--config <FILE>] [--no-config] [-r|--reload[=<CACHE_BLOCKLIST>...]]
[--lock [<FILE>]] [--lock-write] [--no-lock] [--cert <FILE>] [--check[=<CHECK_TYPE>]] <FILE>
[--lock [<FILE>]] [--frozen] [--no-lock] [--cert <FILE>] [--check[=<CHECK_TYPE>]] <FILE>

deno cache -h|--help
```
Expand Down Expand Up @@ -117,9 +117,9 @@ detected from it's imports.
Check the specified lock file. If value is not provided, defaults to
"deno.lock" in the current working directory.

- `--lock-write`
- `--frozen[=<BOOLEAN>]`

Force overwriting the lock file
Error out if lockfile is out of date [possible values: true, false]

- `--no-lock`

Expand Down
6 changes: 3 additions & 3 deletions runtime/reference/cli/check.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Type-check a program without execution.
deno check [--import-map <FILE>] [--no-remote] [-q|--quiet] [--no-npm]
[--node-modules-dir[=<node-modules-dir>]] [--vendor[=<vendor>]]
[-c|--config <FILE>] [--no-config] [-r|--reload[=<CACHE_BLOCKLIST>...]]
[--lock [<FILE>]] [--lock-write] [--no-lock] [--cert <FILE>]
[--lock [<FILE>]] [--frozen] [--no-lock] [--cert <FILE>]
[--doc] [--doc-only] [--all] <FILE>

deno check -h|--help
Expand Down Expand Up @@ -100,9 +100,9 @@ The module entrypoint can be a local file or a remote URL.
Check the specified lock file. If value is not provided, defaults to
"deno.lock" in the current working directory.

- `--lock-write`
- `--frozen[=<BOOLEAN>]`

Force overwriting the lock file
Error out if lockfile is out of date [possible values: true, false]

- `--no-lock`

Expand Down
6 changes: 3 additions & 3 deletions runtime/reference/cli/eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ argument.
```bash
deno eval [--no-check[=<NO_CHECK_TYPE]] [--import-map <FILE>] [-q|--quiet] [--no-remote] [--no-npm]
[--node-modules-dir[=<node-modules-dir>]] [--vendor[=<vendor>]] [-c|--config <FILE>] [--no-config]
[-r|--reload[=<CACHE_BLOCKLIST>...]] [--lock [<FILE>]] [--lock-write] [--no-lock] [--cert <FILE>]
[-r|--reload[=<CACHE_BLOCKLIST>...]] [--lock [<FILE>]] [--frozen] [--no-lock] [--cert <FILE>]
[--inspect[=<HOST_AND_PORT>]] [--inspect-brk[=<HOST_AND_PORT>]] [--inspect-wait[=<HOST_AND_PORT>]]
[--cached-only] [--location <HREF>] [--v8-flags[=<v8-flags>...]] [--seed <NUMBER>]
[--check[=<CHECK_TYPE>]] [--ext <EXT>] [-p|--print] [--env[=<FILE>]] <CODE_ARG>
Expand Down Expand Up @@ -112,9 +112,9 @@ evaluate.
Check the specified lock file. If value is not provided, defaults to
"deno.lock" in the current working directory.

- `--lock-write`
- `--frozen[=<BOOLEAN>]`

Force overwriting the lock file
Error out if lockfile is out of date [possible values: true, false]

- `--no-lock`

Expand Down
7 changes: 4 additions & 3 deletions runtime/reference/cli/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Run tests using Deno's built-in test runner.
deno test [--no-check[=<NO_CHECK_TYPE>]] [--import-map <FILE>] [-q|--quiet]
[--no-remote] [--no-npm] [--node-modules-dir[=<node-modules-dir>]]
[--vendor[=<vendor>]][-c|--config <FILE>] [--no-config]
[-r|--reload[=<CACHE_BLOCKLIST>...]] [--lock [<FILE>]] [--lock-write]
[-r|--reload[=<CACHE_BLOCKLIST>...]] [--lock [<FILE>]] [--frozen]
[--no-lock] [--cert <FILE>] [--allow-read[=<PATH>...]] [--deny-read[=<PATH>...]]
[--allow-write[=<PATH>...]] [--deny-write[=<PATH>...]]
[--allow-net[=<IP_OR_HOSTNAME>...]] [--deny-net[=<IP_OR_HOSTNAME>...]]
Expand Down Expand Up @@ -111,8 +111,9 @@ Arguments passed to script files
Check the specified lock file. If value is not provided, defaults to
"deno.lock" in the current working directory.

- `--lock-write`\
Force overwriting the lock file.
- `--frozen[=<BOOLEAN>]`

Error out if lockfile is out of date [possible values: true, false]

- `--no-lock`\
Disable auto discovery of the lock file.
Expand Down
2 changes: 1 addition & 1 deletion runtime/reference/continuous_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ In order to increment this version, you can update the `import` statement and
then reload the cache and update the lockfile locally:

```console
deno cache --reload --lock=deno.lock --lock-write deps.ts
deno cache --reload --lock=deno.lock --frozen=false deps.ts
```

You should see changes in the lockfile's contents after running this. When this
Expand Down