typespec-vscode 1.1.0-dev.1 → 1.1.0-dev.11

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/README.md CHANGED
@@ -84,7 +84,7 @@ The extension provides the following commands:
84
84
  | -------------------------------------------------- | ------------------------------------------------------------------- |
85
85
  | `TypeSpec: Create TypeSpec Project` | Scaffold a new TypeSpec project. |
86
86
  | `TypeSpec: Install TypeSpec Compiler/CLI globally` | Install the TypeSpec Compiler/CLI globally. |
87
- | `TypeSpec: Generate From TypeSpec` | Compile and generate from TypeSpec files into the specified output. |
87
+ | `TypeSpec: Emit from TypeSpec` | Compile and generate from TypeSpec files into the specified output. |
88
88
  | `TypeSpec: Restart TypeSpec Server` | Restart the TypeSpec language server. |
89
89
  | `TypeSpec: Show Output Channel` | Open the TypeSpec output channel to view logs. |
90
90
  | `TypeSpec: Preview API Documentation` | Preview API documentation generated from TypeSpec in the workspace. |
@@ -12,15 +12,21 @@ granted herein, whether by implication, estoppel or otherwise.
12
12
  2. balanced-match version 1.0.2 (https://github.com/juliangruber/balanced-match)
13
13
  3. brace-expansion version 2.0.1 (https://github.com/juliangruber/brace-expansion)
14
14
  4. change-case version 5.4.4 (https://github.com/blakeembrey/change-case)
15
- 5. fast-deep-equal version 3.1.3 (https://github.com/epoberezkin/fast-deep-equal)
16
- 6. fast-uri version 3.0.6 (https://github.com/fastify/fast-uri)
17
- 7. isexe version 3.1.1 (https://github.com/isaacs/isexe)
18
- 8. json-schema-traverse version 1.0.0 (https://github.com/epoberezkin/json-schema-traverse)
19
- 9. minimatch version 5.1.6 (https://github.com/isaacs/minimatch)
20
- 10. mustache version 4.2.0 (https://github.com/janl/mustache.js)
21
- 11. semver version 7.7.1 (https://github.com/npm/node-semver)
22
- 12. which version 5.0.0 (https://github.com/npm/node-which)
23
- 13. yaml version 2.7.1 (github:eemeli/yaml)
15
+ 5. cross-spawn version 7.0.6 (git@github.com:moxystudio/node-cross-spawn)
16
+ 6. fast-deep-equal version 3.1.3 (https://github.com/epoberezkin/fast-deep-equal)
17
+ 7. fast-uri version 3.0.6 (https://github.com/fastify/fast-uri)
18
+ 8. isexe version 2.0.0 (https://github.com/isaacs/isexe)
19
+ 9. isexe version 3.1.1 (https://github.com/isaacs/isexe)
20
+ 10. json-schema-traverse version 1.0.0 (https://github.com/epoberezkin/json-schema-traverse)
21
+ 11. minimatch version 5.1.6 (https://github.com/isaacs/minimatch)
22
+ 12. mustache version 4.2.0 (https://github.com/janl/mustache.js)
23
+ 13. path-key version 3.1.1 (sindresorhus/path-key)
24
+ 14. semver version 7.7.2 (https://github.com/npm/node-semver)
25
+ 15. shebang-command version 2.0.0 (kevva/shebang-command)
26
+ 16. shebang-regex version 3.0.0 (sindresorhus/shebang-regex)
27
+ 17. which version 2.0.2 (https://github.com/isaacs/node-which)
28
+ 18. which version 5.0.0 (https://github.com/npm/node-which)
29
+ 19. yaml version 2.7.1 (github:eemeli/yaml)
24
30
 
25
31
 
26
32
  %% ajv NOTICES AND INFORMATION BEGIN HERE
@@ -136,6 +142,34 @@ THE SOFTWARE.
136
142
  END OF change-case NOTICES AND INFORMATION
137
143
 
138
144
 
145
+ %% cross-spawn NOTICES AND INFORMATION BEGIN HERE
146
+ =====================================================
147
+ The MIT License (MIT)
148
+
149
+ Copyright (c) 2018 Made With MOXY Lda <hello@moxy.studio>
150
+
151
+ Permission is hereby granted, free of charge, to any person obtaining a copy
152
+ of this software and associated documentation files (the "Software"), to deal
153
+ in the Software without restriction, including without limitation the rights
154
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
155
+ copies of the Software, and to permit persons to whom the Software is
156
+ furnished to do so, subject to the following conditions:
157
+
158
+ The above copyright notice and this permission notice shall be included in
159
+ all copies or substantial portions of the Software.
160
+
161
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
162
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
163
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
164
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
165
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
166
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
167
+ THE SOFTWARE.
168
+
169
+ =====================================================");
170
+ END OF cross-spawn NOTICES AND INFORMATION
171
+
172
+
139
173
  %% fast-deep-equal NOTICES AND INFORMATION BEGIN HERE
140
174
  =====================================================
141
175
  MIT License
@@ -200,6 +234,28 @@ The complete list of contributors can be found at:
200
234
  END OF fast-uri NOTICES AND INFORMATION
201
235
 
202
236
 
237
+ %% isexe NOTICES AND INFORMATION BEGIN HERE
238
+ =====================================================
239
+ The ISC License
240
+
241
+ Copyright (c) Isaac Z. Schlueter and Contributors
242
+
243
+ Permission to use, copy, modify, and/or distribute this software for any
244
+ purpose with or without fee is hereby granted, provided that the above
245
+ copyright notice and this permission notice appear in all copies.
246
+
247
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
248
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
249
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
250
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
251
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
252
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
253
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
254
+
255
+ =====================================================");
256
+ END OF isexe NOTICES AND INFORMATION
257
+
258
+
203
259
  %% isexe NOTICES AND INFORMATION BEGIN HERE
204
260
  =====================================================
205
261
  The ISC License
@@ -290,6 +346,22 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
290
346
  END OF mustache NOTICES AND INFORMATION
291
347
 
292
348
 
349
+ %% path-key NOTICES AND INFORMATION BEGIN HERE
350
+ =====================================================
351
+ MIT License
352
+
353
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
354
+
355
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
356
+
357
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
358
+
359
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
360
+
361
+ =====================================================");
362
+ END OF path-key NOTICES AND INFORMATION
363
+
364
+
293
365
  %% semver NOTICES AND INFORMATION BEGIN HERE
294
366
  =====================================================
295
367
  The ISC License
@@ -312,6 +384,60 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
312
384
  END OF semver NOTICES AND INFORMATION
313
385
 
314
386
 
387
+ %% shebang-command NOTICES AND INFORMATION BEGIN HERE
388
+ =====================================================
389
+ MIT License
390
+
391
+ Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> (github.com/kevva)
392
+
393
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
394
+
395
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
396
+
397
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
398
+
399
+ =====================================================");
400
+ END OF shebang-command NOTICES AND INFORMATION
401
+
402
+
403
+ %% shebang-regex NOTICES AND INFORMATION BEGIN HERE
404
+ =====================================================
405
+ MIT License
406
+
407
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
408
+
409
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
410
+
411
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
412
+
413
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
414
+
415
+ =====================================================");
416
+ END OF shebang-regex NOTICES AND INFORMATION
417
+
418
+
419
+ %% which NOTICES AND INFORMATION BEGIN HERE
420
+ =====================================================
421
+ The ISC License
422
+
423
+ Copyright (c) Isaac Z. Schlueter and Contributors
424
+
425
+ Permission to use, copy, modify, and/or distribute this software for any
426
+ purpose with or without fee is hereby granted, provided that the above
427
+ copyright notice and this permission notice appear in all copies.
428
+
429
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
430
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
431
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
432
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
433
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
434
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
435
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
436
+
437
+ =====================================================");
438
+ END OF which NOTICES AND INFORMATION
439
+
440
+
315
441
  %% which NOTICES AND INFORMATION BEGIN HERE
316
442
  =====================================================
317
443
  The ISC License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typespec-vscode",
3
- "version": "1.1.0-dev.1",
3
+ "version": "1.1.0-dev.11",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec language support for VS Code",
6
6
  "homepage": "https://typespec.io",
@@ -23,11 +23,10 @@
23
23
  "Programming Languages",
24
24
  "Snippets"
25
25
  ],
26
- "type": "module",
27
26
  "main": "./dist/src/extension.cjs",
28
27
  "browser": "./dist/src/web/extension.js",
29
28
  "engines": {
30
- "vscode": "^1.98.0"
29
+ "vscode": "^1.100.0"
31
30
  },
32
31
  "activationEvents": [
33
32
  "onLanguage:typespec",
@@ -121,7 +120,7 @@
121
120
  },
122
121
  {
123
122
  "command": "typespec.emitCode",
124
- "when": "explorerResourceIsFolder || resourceLangId == typespec",
123
+ "when": "explorerResourceIsFolder || resourceLangId == typespec || resourceFilename == 'tspconfig.yaml'",
125
124
  "group": "typespec@1"
126
125
  },
127
126
  {
@@ -133,7 +132,7 @@
133
132
  "editor/context": [
134
133
  {
135
134
  "command": "typespec.emitCode",
136
- "when": "resourceLangId == typespec",
135
+ "when": "resourceLangId == typespec || resourceFilename == 'tspconfig.yaml'",
137
136
  "group": "typespec@1"
138
137
  },
139
138
  {
@@ -240,19 +239,21 @@
240
239
  ]
241
240
  },
242
241
  "devDependencies": {
242
+ "@types/cross-spawn": "~6.0.6",
243
243
  "@types/mocha": "^10.0.9",
244
244
  "@types/node": "~22.13.11",
245
245
  "@types/semver": "^7.5.8",
246
- "@types/vscode": "~1.98.0",
246
+ "@types/vscode": "~1.100.0",
247
247
  "@types/which": "^3.0.4",
248
248
  "@typespec/compiler": "^1.0.0",
249
249
  "@typespec/internal-build-utils": "^0.70.0 || >=0.71.0-dev <0.71.0",
250
250
  "@vitest/coverage-v8": "^3.1.2",
251
251
  "@vitest/ui": "^3.1.2",
252
- "@vscode/extension-telemetry": "^0.9.8",
253
- "@vscode/test-web": "^0.0.67",
252
+ "@vscode/extension-telemetry": "^1.0.0",
253
+ "@vscode/test-web": "^0.0.69",
254
254
  "@vscode/vsce": "~3.3.0",
255
255
  "ajv": "~8.17.1",
256
+ "cross-spawn": "^7.0.6",
256
257
  "c8": "^10.1.3",
257
258
  "esbuild": "^0.25.1",
258
259
  "mocha": "^11.1.0",
@@ -283,7 +284,7 @@
283
284
  "package-vsix": "vsce package",
284
285
  "deploy": "vsce publish",
285
286
  "open-in-browser": "vscode-test-web --extensionDevelopmentPath=. .",
286
- "test:e2e:skip": "pnpm test:web",
287
+ "test:e2e": "pnpm test:web",
287
288
  "test:web": "vscode-test-web --quality stable --extensionDevelopmentPath=. --headless --extensionTestsPath=dist/test/web/suite.js ./test/web/data"
288
289
  }
289
290
  }
Binary file