summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-05-18 18:10:44 -0400
committerGitHub <noreply@github.com>2023-05-18 18:10:44 -0400
commit680ae31db8d39866275df81301d927deae187666 (patch)
tree9273dee216fc39c8ef735c83890430b5a7548b2b /cli/schemas
parenta45f7f237be46ae20553d34441c61cb1d01398cb (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.json4
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",