1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/cli/args
Roj 44b2b950fd
feat(cli): support configuring the lock file in the config file (#16781)
This allows the user to completely opt out from the lock file or rename
it without having to use `--no-lock` and/or `--lock` in all commands.

## Don’t Use Lock File

```json
{
  "lock": false
}
```

## Use Lock File With a Different Name

```json
{
  "lock": "deno2.lock"
}
```

The CLI args `--no-lock` and `--lock` will always override what is in
the config file.

Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2022-12-08 00:13:45 +01:00
..
config_file.rs feat(cli): support configuring the lock file in the config file (#16781) 2022-12-08 00:13:45 +01:00
flags.rs feat(npm): add support for NPM_CONFIG_REGISTRY (#16980) 2022-12-07 16:10:50 -05:00
flags_allow_net.rs refactor: create args folder (#14982) 2022-06-27 16:54:09 -04:00
lockfile.rs feat(cli): support configuring the lock file in the config file (#16781) 2022-12-08 00:13:45 +01:00
mod.rs fix(repl): respect --quiet flag (#16875) 2022-11-30 23:25:20 +01:00