Update schemas (#1314)
* Update schemas/ * Update package.json --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Родитель
8352db380c
Коммит
5a87252fd2
|
@ -26,6 +26,7 @@ What's changed since v2.9.0:
|
|||
- Updated PSRule schema files.
|
||||
[#1209](https://github.com/microsoft/PSRule-vscode/pull/1209)
|
||||
[#1261](https://github.com/microsoft/PSRule-vscode/pull/1261)
|
||||
[#1314](https://github.com/microsoft/PSRule-vscode/pull/1314)
|
||||
- Bump vscode engine to v1.85.0.
|
||||
[#1303](https://github.com/microsoft/PSRule-vscode/pull/1303)
|
||||
- Bump typescript to v5.3.3.
|
||||
|
|
|
@ -349,12 +349,15 @@
|
|||
],
|
||||
"jsonValidation": [
|
||||
{
|
||||
"fileMatch": "*.Rule.json",
|
||||
"fileMatch": [
|
||||
"*.Rule.json",
|
||||
"*.Rule.jsonc"
|
||||
],
|
||||
"url": "./schemas/PSRule-resources.schema.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": "*.Rule.jsonc",
|
||||
"url": "./schemas/PSRule-resources.schema.json"
|
||||
"fileMatch": "ps-rule.lock.json",
|
||||
"url": "./schemas/PSRule-lock.schema.json"
|
||||
}
|
||||
],
|
||||
"problemMatchers": [
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"modules": {
|
||||
"PSRule.Rules.MSFT.OSS": {
|
||||
"version": "1.1.0"
|
||||
}
|
||||
}
|
||||
}
|
18
ps-rule.yaml
18
ps-rule.yaml
|
@ -10,21 +10,21 @@ repository:
|
|||
|
||||
requires:
|
||||
PSRule: '@pre >=2.9.0'
|
||||
PSRule.Rules.MSFT.OSS: '@pre >=1.0.1'
|
||||
PSRule.Rules.MSFT.OSS: '@pre >=1.1.0'
|
||||
|
||||
include:
|
||||
module:
|
||||
- PSRule.Rules.MSFT.OSS
|
||||
- PSRule.Rules.MSFT.OSS
|
||||
|
||||
output:
|
||||
culture:
|
||||
- en-US
|
||||
- en-US
|
||||
|
||||
input:
|
||||
pathIgnore:
|
||||
- '*.md'
|
||||
- 'schemas/*.json'
|
||||
- 'syntaxes/*.json'
|
||||
- 'snippets/*.json'
|
||||
- '.vscode/'
|
||||
- '**/node_modules/'
|
||||
- '*.md'
|
||||
- 'schemas/*.json'
|
||||
- 'syntaxes/*.json'
|
||||
- 'snippets/*.json'
|
||||
- '.vscode/'
|
||||
- '**/node_modules/'
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"title": "PSRule lock",
|
||||
"description": "A schema for the PSRule lock file.",
|
||||
"properties": {
|
||||
"modules": {
|
||||
"type": "object",
|
||||
"title": "Modules",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "string",
|
||||
"title": "Version"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"version"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"modules"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
Загрузка…
Ссылка в новой задаче