From 57cd2951f193b02cbd3fb15f0ee14d83107a2855 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 16 Aug 2024 09:12:52 -0400 Subject: feat(config/jsr): add license field (#25056) 1. Adds a new "license" field. 1. Adds this field by default when doing `deno init --lib` --- cli/schemas/config-file.v1.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli/schemas') 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"], -- cgit v1.2.3