@typespec/playground 0.5.0-dev.0 → 0.5.0-dev.2
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/dist/index.js +1 -1
- package/dist/manifest-cw894x-a-cw894x-a.js +6 -0
- package/dist/react/index.js +1148 -2595
- package/dist/src/services.d.ts.map +1 -1
- package/dist/{state-storage-BjOULkS3.js → state-storage-CPYqeLVy.js} +3 -0
- package/dist/vite.config.d.ts +1 -1
- package/package.json +27 -27
- package/dist/manifest-Bx5EZvxu-Bx5EZvxu.js +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAEd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAmC9C,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAEd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAmC9C,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,WAAW,iBA+T7D;AAED,wBAAgB,cAAc,CAC5B,gBAAgB,EAAE,cAAc,oBAAoB,CAAC,EACrD,MAAM,EAAE,gBAAgB,GAAG,OAAO,QAAQ,GACzC,MAAM,CAAC,MAAM,CAkBf"}
|
|
@@ -286,6 +286,9 @@ function getTypeSpecLanguageConfiguration() {
|
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
288
|
async function registerMonacoLanguage(host) {
|
|
289
|
+
if (monaco.languages.getLanguages().some((x) => x.id === "typespec")) {
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
289
292
|
monaco.languages.register({ id: "typespec", extensions: [".tsp"] });
|
|
290
293
|
monaco.languages.setLanguageConfiguration("typespec", getTypeSpecLanguageConfiguration());
|
|
291
294
|
const serverHost = {
|
package/dist/vite.config.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/playground",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.2",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec playground UI components.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"!dist/test/**"
|
|
56
56
|
],
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@fluentui/react-components": "~9.54.
|
|
59
|
-
"@fluentui/react-icons": "^2.0.
|
|
60
|
-
"@typespec/bundler": "~0.1.
|
|
61
|
-
"@typespec/compiler": "~0.
|
|
62
|
-
"@typespec/html-program-viewer": "~0.
|
|
63
|
-
"@typespec/http": "~0.
|
|
64
|
-
"@typespec/openapi": "~0.
|
|
65
|
-
"@typespec/openapi3": "~0.
|
|
66
|
-
"@typespec/protobuf": "~0.
|
|
67
|
-
"@typespec/rest": "~0.
|
|
68
|
-
"@typespec/versioning": "~0.
|
|
58
|
+
"@fluentui/react-components": "~9.54.5",
|
|
59
|
+
"@fluentui/react-icons": "^2.0.249",
|
|
60
|
+
"@typespec/bundler": "~0.1.6 || >=0.2.0-dev <0.2.0",
|
|
61
|
+
"@typespec/compiler": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
62
|
+
"@typespec/html-program-viewer": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
63
|
+
"@typespec/http": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
64
|
+
"@typespec/openapi": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
65
|
+
"@typespec/openapi3": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
66
|
+
"@typespec/protobuf": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
67
|
+
"@typespec/rest": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
68
|
+
"@typespec/versioning": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
69
69
|
"clsx": "^2.1.1",
|
|
70
70
|
"debounce": "~2.1.0",
|
|
71
71
|
"lzutf8": "0.6.3",
|
|
@@ -78,29 +78,29 @@
|
|
|
78
78
|
"vscode-languageserver-textdocument": "~1.0.11"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@babel/core": "^7.24.
|
|
82
|
-
"@playwright/test": "^1.45.
|
|
83
|
-
"@storybook/addon-actions": "^8.
|
|
84
|
-
"@storybook/cli": "^8.
|
|
85
|
-
"@storybook/react
|
|
86
|
-
"@storybook/react": "^8.
|
|
87
|
-
"@storybook/test": "^8.
|
|
88
|
-
"@storybook/types": "^8.
|
|
81
|
+
"@babel/core": "^7.24.9",
|
|
82
|
+
"@playwright/test": "^1.45.3",
|
|
83
|
+
"@storybook/addon-actions": "^8.2.5",
|
|
84
|
+
"@storybook/cli": "^8.2.5",
|
|
85
|
+
"@storybook/react": "^8.2.5",
|
|
86
|
+
"@storybook/react-vite": "^8.2.5",
|
|
87
|
+
"@storybook/test": "^8.2.5",
|
|
88
|
+
"@storybook/types": "^8.2.5",
|
|
89
89
|
"@types/debounce": "~1.2.4",
|
|
90
90
|
"@types/node": "~18.11.19",
|
|
91
|
-
"@types/react-dom": "~18.3.0",
|
|
92
91
|
"@types/react": "~18.3.3",
|
|
92
|
+
"@types/react-dom": "~18.3.0",
|
|
93
93
|
"@types/swagger-ui-dist": "~3.30.5",
|
|
94
|
-
"@typespec/bundler": "~0.1.
|
|
94
|
+
"@typespec/bundler": "~0.1.6 || >=0.2.0-dev <0.2.0",
|
|
95
95
|
"@vitejs/plugin-react": "~4.3.1",
|
|
96
96
|
"c8": "^10.1.2",
|
|
97
97
|
"cross-env": "~7.0.3",
|
|
98
98
|
"es-module-shims": "~1.10.0",
|
|
99
|
-
"rimraf": "~
|
|
100
|
-
"typescript": "~5.5.
|
|
101
|
-
"vite
|
|
102
|
-
"vite-plugin-
|
|
103
|
-
"vite": "
|
|
99
|
+
"rimraf": "~6.0.1",
|
|
100
|
+
"typescript": "~5.5.4",
|
|
101
|
+
"vite": "^5.3.4",
|
|
102
|
+
"vite-plugin-checker": "^0.7.2",
|
|
103
|
+
"vite-plugin-dts": "4.0.0-beta.1",
|
|
104
104
|
"@typespec/react-components": "~0.57.0"
|
|
105
105
|
},
|
|
106
106
|
"peerDependencies": {},
|