Skip to content

Commit c366055

Browse files
(SCHEMA, MAINT) Update build/config for v3.1.0
This change makes minor adjustment to the build script for the canonical schemas to capture the new extension schemas. It also updates the configuration to bundle the extension schemas and the stdout schemas.
1 parent 8724b76 commit c366055

File tree

2 files changed

+69
-1
lines changed

2 files changed

+69
-1
lines changed

schemas/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,7 @@ process {
675675
"$OutputDirectory/config"
676676
"$OutputDirectory/metadata"
677677
"$OutputDirectory/definitions"
678+
"$OutputDirectory/extension"
678679
"$OutputDirectory/outputs"
679680
"$OutputDirectory/resource"
680681
)

schemas/schemas.config.yaml

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
host: https://raw.githubusercontent.com
22
prefix: PowerShell/DSC/main/schemas
3-
version: v3.0
3+
version: v3.1.0
44
docs_base_url: https://learn.microsoft.com/powershell/dsc
55
docs_version_pin: view=dsc-3.0&preserve-view=true
66
bundle_schemas:
7+
# Resource manifest bundle
8+
- ConfigFilePath: extension/manifest.json
9+
Name: manifest
10+
OutputDirectory: bundled/extension
11+
OutputFormat: ['Json', 'JsonVSCode']
12+
713
# Resource manifest bundle
814
- ConfigFilePath: resource/manifest.json
915
Name: manifest
@@ -37,6 +43,11 @@ bundle_schemas:
3743
OutputDirectory: bundled/outputs/config
3844
OutputFormat: ['Json', 'JsonVSCode']
3945

46+
- ConfigFilePath: outputs/extension/list.json
47+
Name: list
48+
OutputDirectory: bundled/outputs/extension
49+
OutputFormat: ['Json', 'JsonVSCode']
50+
4051
- ConfigFilePath: outputs/resource/get.json
4152
Name: get
4253
OutputDirectory: bundled/outputs/resource
@@ -61,3 +72,59 @@ bundle_schemas:
6172
Name: test
6273
OutputDirectory: bundled/outputs/resource
6374
OutputFormat: ['Json', 'JsonVSCode']
75+
76+
# stdout schema bundles
77+
- ConfigFilePath: extension/stdout/discover.json
78+
Name: discover
79+
OutputDirectory: bundled/extension/stdout
80+
OutputFormat: ['Json', 'JsonVSCode']
81+
82+
- ConfigFilePath: resource/stdout/delete.json
83+
Name: delete
84+
OutputDirectory: bundled/resource/stdout
85+
OutputFormat: ['Json', 'JsonVSCode']
86+
87+
- ConfigFilePath: resource/stdout/export.json
88+
Name: export
89+
OutputDirectory: bundled/resource/stdout
90+
OutputFormat: ['Json', 'JsonVSCode']
91+
92+
- ConfigFilePath: resource/stdout/get.json
93+
Name: get
94+
OutputDirectory: bundled/resource/stdout
95+
OutputFormat: ['Json', 'JsonVSCode']
96+
97+
- ConfigFilePath: resource/stdout/list.json
98+
Name: list
99+
OutputDirectory: bundled/resource/stdout
100+
OutputFormat: ['Json', 'JsonVSCode']
101+
102+
- ConfigFilePath: resource/stdout/resolve.json
103+
Name: resolve
104+
OutputDirectory: bundled/resource/stdout
105+
OutputFormat: ['Json', 'JsonVSCode']
106+
107+
- ConfigFilePath: resource/stdout/schema.json
108+
Name: schema
109+
OutputDirectory: bundled/resource/stdout
110+
OutputFormat: ['Json', 'JsonVSCode']
111+
112+
- ConfigFilePath: resource/stdout/set.json
113+
Name: set
114+
OutputDirectory: bundled/resource/stdout
115+
OutputFormat: ['Json', 'JsonVSCode']
116+
117+
- ConfigFilePath: resource/stdout/test.json
118+
Name: test
119+
OutputDirectory: bundled/resource/stdout
120+
OutputFormat: ['Json', 'JsonVSCode']
121+
122+
- ConfigFilePath: resource/stdout/validate.json
123+
Name: validate
124+
OutputDirectory: bundled/resource/stdout
125+
OutputFormat: ['Json', 'JsonVSCode']
126+
127+
- ConfigFilePath: resource/stdout/whatIf.json
128+
Name: whatIf
129+
OutputDirectory: bundled/resource/stdout
130+
OutputFormat: ['Json', 'JsonVSCode']

0 commit comments

Comments
 (0)