Skip to content

Commit

Permalink
fix: conform bsconfig.schema.json to strict types (#1205)
Browse files Browse the repository at this point in the history
* fix: conform bsconfig.schema.json to strict types

* chore: move deprecate message to description

* Restore deprecationMessage, add unit test

---------

Co-authored-by: Bart van den Ende <[email protected]>
Co-authored-by: Bronley Plumb <[email protected]>
  • Loading branch information
3 people authored Jun 13, 2024
1 parent e4e1305 commit ec4f136
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 44 deletions.
4 changes: 3 additions & 1 deletion bsconfig.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"components/**/*.*",
"images/**/*.*"
],
"type": "array",
"items": {
"anyOf": [
{
Expand Down Expand Up @@ -138,6 +139,7 @@
"stagingFolderPath": {
"type": "string",
"deprecated": true,
"deprecationMessage": "Deprecated. Use `stagingDir` instead.",
"description": "The path to the staging folder (where all files are copied before creating the zip package)"
},
"ignoreErrorCodes": {
Expand Down Expand Up @@ -283,4 +285,4 @@
"default": false
}
}
}
}
Loading

0 comments on commit ec4f136

Please sign in to comment.