@typespec/playground 0.8.1 → 0.8.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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createBrowserHost, r as registerMonacoLanguage } from './services-
|
|
1
|
+
export { c as createBrowserHost, r as registerMonacoLanguage } from './services-BOARIFqT.js';
|
|
2
2
|
export { createUrlStateStorage } from './state-storage.js';
|
|
3
3
|
|
|
4
4
|
function registerMonacoDefaultWorkersForVite() {
|
package/dist/react/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { mergeClasses, Popover, PopoverTrigger, PopoverSurface, Title3, Table, T
|
|
|
5
5
|
import { Settings24Regular, Save16Regular, Broom16Filled, Bug16Regular, FolderListRegular, DataLineRegular, ErrorCircle16Filled, Warning16Filled, ChevronDown16Regular } from '@fluentui/react-icons';
|
|
6
6
|
import debounce from 'debounce';
|
|
7
7
|
import { CompletionItemTag } from 'vscode-languageserver';
|
|
8
|
-
import { a as resolveVirtualPath, g as getMonacoRange, c as createBrowserHost, r as registerMonacoLanguage } from '../services-
|
|
8
|
+
import { a as resolveVirtualPath, g as getMonacoRange, c as createBrowserHost, r as registerMonacoLanguage } from '../services-BOARIFqT.js';
|
|
9
9
|
import { ErrorBoundary } from 'react-error-boundary';
|
|
10
10
|
import { TypeGraph } from '@typespec/html-program-viewer/react';
|
|
11
11
|
import '@typespec/html-program-viewer/style.css';
|
|
@@ -555,7 +555,7 @@ async function registerMonacoLanguage(host) {
|
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
557
|
function getMonacoRange(typespecCompiler, target) {
|
|
558
|
-
const loc = typespecCompiler.getSourceLocation(target);
|
|
558
|
+
const loc = typespecCompiler.getSourceLocation(target, { locateId: true });
|
|
559
559
|
if (loc === void 0 || loc.file.path !== "/test/main.tsp") {
|
|
560
560
|
return {
|
|
561
561
|
startLineNumber: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/playground",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec playground UI components.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"!dist/test/**"
|
|
60
60
|
],
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@fluentui/react-components": "~9.
|
|
62
|
+
"@fluentui/react-components": "~9.63.0",
|
|
63
63
|
"@fluentui/react-icons": "^2.0.292",
|
|
64
64
|
"clsx": "^2.1.1",
|
|
65
65
|
"debounce": "~2.2.0",
|
|
@@ -67,19 +67,19 @@
|
|
|
67
67
|
"monaco-editor": "~0.52.2",
|
|
68
68
|
"react": "~18.3.1",
|
|
69
69
|
"react-dom": "~18.3.1",
|
|
70
|
-
"react-error-boundary": "^
|
|
70
|
+
"react-error-boundary": "^6.0.0",
|
|
71
71
|
"swagger-ui-dist": "^5.20.1",
|
|
72
72
|
"vscode-languageserver": "~9.0.1",
|
|
73
73
|
"vscode-languageserver-textdocument": "~1.0.12",
|
|
74
|
-
"@typespec/bundler": "^0.4.
|
|
75
|
-
"@typespec/
|
|
76
|
-
"@typespec/
|
|
77
|
-
"@typespec/http": "^1.
|
|
78
|
-
"@typespec/
|
|
79
|
-
"@typespec/
|
|
80
|
-
"@typespec/protobuf": "^0.
|
|
81
|
-
"@typespec/rest": "^0.
|
|
82
|
-
"@typespec/versioning": "^0.
|
|
74
|
+
"@typespec/bundler": "^0.4.1",
|
|
75
|
+
"@typespec/html-program-viewer": "^0.71.0",
|
|
76
|
+
"@typespec/compiler": "^1.1.0",
|
|
77
|
+
"@typespec/http": "^1.1.0",
|
|
78
|
+
"@typespec/openapi3": "^1.1.0",
|
|
79
|
+
"@typespec/openapi": "^1.1.0",
|
|
80
|
+
"@typespec/protobuf": "^0.71.0",
|
|
81
|
+
"@typespec/rest": "^0.71.0",
|
|
82
|
+
"@typespec/versioning": "^0.71.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@babel/core": "^7.26.10",
|
|
@@ -95,17 +95,17 @@
|
|
|
95
95
|
"@types/react": "~18.3.11",
|
|
96
96
|
"@types/react-dom": "~18.3.0",
|
|
97
97
|
"@types/swagger-ui-dist": "~3.30.5",
|
|
98
|
-
"@vitejs/plugin-react": "~4.
|
|
98
|
+
"@vitejs/plugin-react": "~4.4.1",
|
|
99
99
|
"c8": "^10.1.3",
|
|
100
100
|
"cross-env": "~7.0.3",
|
|
101
|
-
"es-module-shims": "~2.0
|
|
101
|
+
"es-module-shims": "~2.5.0",
|
|
102
102
|
"rimraf": "~6.0.1",
|
|
103
103
|
"typescript": "~5.8.2",
|
|
104
|
-
"vite": "^6.2.
|
|
104
|
+
"vite": "^6.2.7",
|
|
105
105
|
"vite-plugin-checker": "^0.9.1",
|
|
106
106
|
"vite-plugin-dts": "4.5.3",
|
|
107
|
-
"@typespec/
|
|
108
|
-
"@typespec/
|
|
107
|
+
"@typespec/react-components": "^0.57.0",
|
|
108
|
+
"@typespec/bundler": "^0.4.1"
|
|
109
109
|
},
|
|
110
110
|
"scripts": {
|
|
111
111
|
"clean": "rimraf ./dist ./dist-dev ./temp ./typespecContents.json",
|