Skip to content

Commit

Permalink
Remove --lock-write references (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Sep 21, 2024
1 parent fef7d93 commit 4f9a7f2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
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

0 comments on commit 4f9a7f2

Please sign in to comment.