summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-16 09:12:52 -0400
committerGitHub <noreply@github.com>2024-08-16 13:12:52 +0000
commit57cd2951f193b02cbd3fb15f0ee14d83107a2855 (patch)
tree129294ae1f462a40bd75de5c88efa7982aed19c5 /cli/schemas
parent105d27bc7db5c0d2fd18cb26f41bd3193be74639 (diff)
feat(config/jsr): add license field (#25056)
1. Adds a new "license" field. 1. Adds this field by default when doing `deno init --lib`
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 96a95ca16..edbb6f6d1 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -546,6 +546,10 @@
}
}
},
+ "license": {
+ "description": "The SPDX license identifier if this is a JSR package. Specify this or add a license file to the package.",
+ "type": ["string"]
+ },
"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"],