diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-05-18 18:10:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 18:10:44 -0400 |
commit | 680ae31db8d39866275df81301d927deae187666 (patch) | |
tree | 9273dee216fc39c8ef735c83890430b5a7548b2b /cli/schemas | |
parent | a45f7f237be46ae20553d34441c61cb1d01398cb (diff) |
feat(cli): add `nodeModulesDir` option to config file (#19095)
This adds an option to disable or enable using a local `node_modules`
directory as a project wide setting.
https://github.com/denoland/manual/pull/659
Closes #17930
Diffstat (limited to 'cli/schemas')
-rw-r--r-- | cli/schemas/config-file.v1.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 000699767..864042877 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -422,6 +422,10 @@ } } }, + "nodeModulesDir": { + "description": "Enables or disables the use of a local node_modules folder for npm packages. Alternatively, use the `--node-modules-dir` or `--node-modules-dir=false` flag.", + "type": "boolean" + }, "tasks": { "description": "Configuration for deno task", "type": "object", |