8000 [rush] Fix lack of "local-only" option for cacheProvider in build-cac… · atingmicrosoft/rushstack@da48ac3 · GitHub
[go: up one dir, main page]

Skip to content

Commit da48ac3

Browse files
authored
[rush] Fix lack of "local-only" option for cacheProvider in build-cache.schema.json (microsoft#4996)
* fix: include missing "local-only" cacheProvider in build-cache.schema.json * chore: rush change * fix: include missing "local-only" cacheProvider in build-cache.schema.json
1 parent 9193215 commit da48ac3

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/rush",
5+
"comment": "Fix lack of \"local-only\" option for cacheProvider in build-cache.schema.json",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/rush"
10+
}

libraries/rush-lib/src/schemas/build-cache.schema.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,17 @@
148148
"properties": {
149149
"cacheProvider": {
150150
"type": "string",
151-
"pattern": "^(?:(?!azure-blob-storage|amazon-s3|http).)*$"
151+
"pattern": "^(?:(?!local-only|azure-blob-storage|amazon-s3|http).)*$"
152+
}
153+
}
154+
},
155+
{
156+
"type": "object",
157+
"additionalProperties": true,
158+
"properties": {
159+
"cacheProvider": {
160+
"type": "string",
161+
"enum": ["local-only"]
152162
}
153163
}
154164
},

0 commit comments

Comments
 (0)
0