summaryrefslogtreecommitdiff
path: root/cli/schemas
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-01-24 21:30:08 +0100
committerGitHub <noreply@github.com>2024-01-24 20:30:08 +0000
commit176118a0468c5b4f2117d18271d814000d4752b2 (patch)
tree69c1327c8378b3738616af609a3b4a459e892d6f /cli/schemas
parentfb24b004ba598cbc618e6a27b657fc38a5f84af2 (diff)
feat(publish): exclude and include (#22055)
Diffstat (limited to 'cli/schemas')
-rw-r--r--cli/schemas/config-file.v1.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json
index 8e4bc75a4..58293ce8b 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -487,6 +487,26 @@
}
}
},
+ "publish": {
+ "description": "Configuration for deno publish",
+ "type": "object",
+ "properties": {
+ "include": {
+ "type": "array",
+ "description": "List of files, directories or globs that will be included in the published package.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "exclude": {
+ "type": "array",
+ "description": "List of files, directories or globs that will be excluded from the published package.",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
"bench": {
"description": "Configuration for deno bench",
"type": "object",