typespec-vscode 0.64.0-dev.7 → 0.64.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ThirdPartyNotices.txt +30 -1
- package/package.json +122 -2
- package/typespec-vscode-0.63.0.vsix +0 -0
package/ThirdPartyNotices.txt
CHANGED
|
@@ -12,6 +12,7 @@ granted herein, whether by implication, estoppel or otherwise.
|
|
|
12
12
|
2. brace-expansion version 2.0.1 (https://github.com/juliangruber/brace-expansion)
|
|
13
13
|
3. minimatch version 5.1.6 (https://github.com/isaacs/minimatch)
|
|
14
14
|
4. semver version 7.6.3 (https://github.com/npm/node-semver)
|
|
15
|
+
5. yaml version 2.5.1 (github:eemeli/yaml)
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
%% balanced-match NOTICES AND INFORMATION BEGIN HERE
|
|
@@ -111,4 +112,32 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
|
111
112
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
112
113
|
|
|
113
114
|
=====================================================");
|
|
114
|
-
END OF semver NOTICES AND INFORMATION
|
|
115
|
+
END OF semver NOTICES AND INFORMATION
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
%% yaml NOTICES AND INFORMATION BEGIN HERE
|
|
119
|
+
=====================================================
|
|
120
|
+
MIT License
|
|
121
|
+
|
|
122
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
123
|
+
|
|
124
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
125
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
126
|
+
in the Software without restriction, including without limitation the rights
|
|
127
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
128
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
129
|
+
furnished to do so, subject to the following conditions:
|
|
130
|
+
|
|
131
|
+
The above copyright notice and this permission notice shall be included in all
|
|
132
|
+
copies or substantial portions of the Software.
|
|
133
|
+
|
|
134
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
135
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
136
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
137
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
138
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
139
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
140
|
+
SOFTWARE
|
|
141
|
+
|
|
142
|
+
=====================================================");
|
|
143
|
+
END OF yaml NOTICES AND INFORMATION
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typespec-vscode",
|
|
3
|
-
"version": "0.64.0-dev.
|
|
3
|
+
"version": "0.64.0-dev.8",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec language support for VS Code",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -108,6 +108,104 @@
|
|
|
108
108
|
],
|
|
109
109
|
"default": "off",
|
|
110
110
|
"description": "Define whether/how the TypeSpec language server should send traces to client. For the traces to show properly in vscode Output, make sure 'Log Level' is also set to 'Trace' so that they won't be filtered at client side, which can be set through 'Developer: Set Log Level...' command."
|
|
111
|
+
},
|
|
112
|
+
"typespec.generateCode.emitters": {
|
|
113
|
+
"scope": "window",
|
|
114
|
+
"type": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {
|
|
118
|
+
"language": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"enum": [
|
|
121
|
+
".NET",
|
|
122
|
+
"Java",
|
|
123
|
+
"JavaScript",
|
|
124
|
+
"Python",
|
|
125
|
+
"Go",
|
|
126
|
+
"OpenAPI3",
|
|
127
|
+
"ProtoBuf",
|
|
128
|
+
"JsonSchema"
|
|
129
|
+
],
|
|
130
|
+
"description": "Define the language the emitter will emit."
|
|
131
|
+
},
|
|
132
|
+
"package": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Define the emitter package.\n\nExample (with version): @typespec/http-client-csharp@1.0.0\n\nExample (without version): @typespec/http-client-csharp"
|
|
135
|
+
},
|
|
136
|
+
"sourceRepo": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "Define the source repository of the emitter package."
|
|
139
|
+
},
|
|
140
|
+
"requisites": {
|
|
141
|
+
"type": "array",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"description": "Define the requisites of the emitter package."
|
|
146
|
+
},
|
|
147
|
+
"kind": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"enum": [
|
|
150
|
+
"client",
|
|
151
|
+
"server",
|
|
152
|
+
"openapi"
|
|
153
|
+
],
|
|
154
|
+
"description": "Define the emitter kind."
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"default": [
|
|
159
|
+
{
|
|
160
|
+
"language": ".NET",
|
|
161
|
+
"package": "@typespec/http-client-csharp",
|
|
162
|
+
"sourceRepo": "https://github.com/microsoft/typespec/tree/main/packages/http-client-csharp",
|
|
163
|
+
"requisites": [
|
|
164
|
+
".NET 8.0 SDK"
|
|
165
|
+
],
|
|
166
|
+
"kind": "client"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"language": "Java",
|
|
170
|
+
"package": "@typespec/http-client-java",
|
|
171
|
+
"sourceRepo": "https://github.com/microsoft/typespec/tree/main/packages/http-client-java",
|
|
172
|
+
"requisites": [
|
|
173
|
+
"Java 17 or above",
|
|
174
|
+
"Maven"
|
|
175
|
+
],
|
|
176
|
+
"kind": "client"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"language": "JavaScript",
|
|
180
|
+
"package": "@azure-tools/typespec-ts",
|
|
181
|
+
"sourceRepo": "https://github.com/Azure/autorest.typescript/tree/main/packages/typespec-ts",
|
|
182
|
+
"kind": "client"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"language": "Python",
|
|
186
|
+
"package": "@typespec/http-client-python",
|
|
187
|
+
"sourceRepo": "https://github.com/microsoft/typespec/tree/main/packages/http-client-python",
|
|
188
|
+
"kind": "client"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"language": ".NET",
|
|
192
|
+
"package": "@typespec/http-server-csharp",
|
|
193
|
+
"sourceRepo": "https://github.com/microsoft/typespec/tree/main/packages/http-server-csharp",
|
|
194
|
+
"kind": "server"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"language": "JavaScript",
|
|
198
|
+
"package": "@typespec/http-server-javascript",
|
|
199
|
+
"sourceRepo": "https://github.com/microsoft/typespec/tree/main/packages/http-server-javascript",
|
|
200
|
+
"kind": "server"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"language": "OpenAPI3",
|
|
204
|
+
"package": "@typespec/openapi3",
|
|
205
|
+
"sourceRepo": "https://github.com/microsoft/typespec/tree/main/packages/openapi3",
|
|
206
|
+
"kind": "openapi"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
111
209
|
}
|
|
112
210
|
}
|
|
113
211
|
}
|
|
@@ -141,6 +239,11 @@
|
|
|
141
239
|
"title": "Show Output Channel",
|
|
142
240
|
"category": "TypeSpec"
|
|
143
241
|
},
|
|
242
|
+
{
|
|
243
|
+
"command": "typespec.generateCode",
|
|
244
|
+
"title": "Generate from TypeSpec",
|
|
245
|
+
"category": "TypeSpec"
|
|
246
|
+
},
|
|
144
247
|
{
|
|
145
248
|
"command": "typespec.createProject",
|
|
146
249
|
"title": "Create TypeSpec Project",
|
|
@@ -152,6 +255,22 @@
|
|
|
152
255
|
"category": "TypeSpec"
|
|
153
256
|
}
|
|
154
257
|
],
|
|
258
|
+
"menus": {
|
|
259
|
+
"explorer/context": [
|
|
260
|
+
{
|
|
261
|
+
"command": "typespec.generateCode",
|
|
262
|
+
"when": "explorerResourceIsFolder || resourceLangId == typespec",
|
|
263
|
+
"group": "code_generation"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"editor/context": [
|
|
267
|
+
{
|
|
268
|
+
"command": "typespec.generateCode",
|
|
269
|
+
"when": "resourceLangId == typespec",
|
|
270
|
+
"group": "code_generation"
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
155
274
|
"semanticTokenScopes": [
|
|
156
275
|
{
|
|
157
276
|
"scopes": {
|
|
@@ -214,7 +333,8 @@
|
|
|
214
333
|
"typescript": "~5.6.3",
|
|
215
334
|
"vitest": "^2.1.5",
|
|
216
335
|
"vscode-languageclient": "~9.0.1",
|
|
217
|
-
"semver": "^7.6.3"
|
|
336
|
+
"semver": "^7.6.3",
|
|
337
|
+
"yaml": "~2.5.1"
|
|
218
338
|
},
|
|
219
339
|
"dependencies": {},
|
|
220
340
|
"peerDependencies": {},
|
|
Binary file
|