Skip to content

Commit

Permalink
[rush] Fix lack of "local-only" option for cacheProvider in build-cac…
Browse files Browse the repository at this point in the history
…he.schema.json (#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
  • Loading branch information
witcher112 authored Nov 9, 2024
1 parent 9193215 commit da48ac3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Fix lack of \"local-only\" option for cacheProvider in build-cache.schema.json",
"type": "none"
}
],
"packageName": "@microsoft/rush"
}
12 changes: 11 additions & 1 deletion libraries/rush-lib/src/schemas/build-cache.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,17 @@
"properties": {
"cacheProvider": {
"type": "string",
"pattern": "^(?:(?!azure-blob-storage|amazon-s3|http).)*$"
"pattern": "^(?:(?!local-only|azure-blob-storage|amazon-s3|http).)*$"
}
}
},
{
"type": "object",
"additionalProperties": true,
"properties": {
"cacheProvider": {
"type": "string",
"enum": ["local-only"]
}
}
},
Expand Down

0 comments on commit da48ac3

Please # to comment.