typespec-vscode 1.1.0-dev.0 → 1.1.0-dev.10

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. |
@@ -18,7 +18,7 @@ granted herein, whether by implication, estoppel or otherwise.
18
18
  8. json-schema-traverse version 1.0.0 (https://github.com/epoberezkin/json-schema-traverse)
19
19
  9. minimatch version 5.1.6 (https://github.com/isaacs/minimatch)
20
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)
21
+ 11. semver version 7.7.2 (https://github.com/npm/node-semver)
22
22
  12. which version 5.0.0 (https://github.com/npm/node-which)
23
23
  13. yaml version 2.7.1 (github:eemeli/yaml)
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typespec-vscode",
3
- "version": "1.1.0-dev.0",
3
+ "version": "1.1.0-dev.10",
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
  {
@@ -243,14 +242,14 @@
243
242
  "@types/mocha": "^10.0.9",
244
243
  "@types/node": "~22.13.11",
245
244
  "@types/semver": "^7.5.8",
246
- "@types/vscode": "~1.98.0",
245
+ "@types/vscode": "~1.100.0",
247
246
  "@types/which": "^3.0.4",
248
247
  "@typespec/compiler": "^1.0.0",
249
248
  "@typespec/internal-build-utils": "^0.70.0 || >=0.71.0-dev <0.71.0",
250
249
  "@vitest/coverage-v8": "^3.1.2",
251
250
  "@vitest/ui": "^3.1.2",
252
- "@vscode/extension-telemetry": "^0.9.8",
253
- "@vscode/test-web": "^0.0.67",
251
+ "@vscode/extension-telemetry": "^1.0.0",
252
+ "@vscode/test-web": "^0.0.69",
254
253
  "@vscode/vsce": "~3.3.0",
255
254
  "ajv": "~8.17.1",
256
255
  "c8": "^10.1.3",
Binary file