diff options
Diffstat (limited to 'cli/schemas')
-rw-r--r-- | cli/schemas/config-file.v1.json | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index adfe3b0c2..733a9cab6 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -552,8 +552,20 @@ }, "lock": { "description": "Whether to use a lock file or the path to use for the lock file. Can be overridden by CLI arguments.", - "type": ["string", "boolean"], - "default": true + "type": ["string", "boolean", "object"], + "default": true, + "properties": { + "path": { + "type": "string", + "description": "The path to use for the lock file.", + "default": "deno.lock" + }, + "frozen": { + "type": "boolean", + "description": "Whether to exit with an error if lock file is out of date.", + "default": false + } + } }, "unstable": { "type": "array", |