@typespec/html-program-viewer 0.59.0 → 0.60.0-dev.1
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/react/index.js
CHANGED
|
@@ -27609,7 +27609,7 @@ let manifest;
|
|
|
27609
27609
|
try {
|
|
27610
27610
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
27611
27611
|
// @ts-ignore
|
|
27612
|
-
manifest = (await import('../manifest-
|
|
27612
|
+
manifest = (await import('../manifest-G42dIyIQ.js')).default;
|
|
27613
27613
|
}
|
|
27614
27614
|
catch {
|
|
27615
27615
|
const name = "../dist/manifest.js";
|
|
@@ -40815,7 +40815,8 @@ function computeTree(program) {
|
|
|
40815
40815
|
};
|
|
40816
40816
|
}
|
|
40817
40817
|
function computeTypeNode(parentPath, type, name) {
|
|
40818
|
-
const
|
|
40818
|
+
const pathSeg = name ?? type.name.toString();
|
|
40819
|
+
const path = parentPath + "." + pathSeg;
|
|
40819
40820
|
return computeTypeNodeProps(path, type, name);
|
|
40820
40821
|
}
|
|
40821
40822
|
function computeTypeNodeProps(path, type, name) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/html-program-viewer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0-dev.1",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting an html view of the program.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"!dist/test/**"
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@typespec/compiler": "~0.59.0"
|
|
39
|
+
"@typespec/compiler": "~0.59.0 || >=0.60.0-dev <0.60.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@fluentui/react-components": "~9.54.5",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"@types/node": "~18.11.19",
|
|
55
55
|
"@types/react": "~18.3.3",
|
|
56
56
|
"@types/react-dom": "~18.3.0",
|
|
57
|
+
"@typespec/compiler": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
57
58
|
"@vitejs/plugin-react": "~4.3.1",
|
|
58
59
|
"@vitest/coverage-v8": "^2.0.4",
|
|
59
60
|
"@vitest/ui": "^2.0.4",
|
|
@@ -64,7 +65,6 @@
|
|
|
64
65
|
"vite-plugin-checker": "^0.7.2",
|
|
65
66
|
"vite-plugin-dts": "4.0.0-beta.1",
|
|
66
67
|
"vitest": "^2.0.4",
|
|
67
|
-
"@typespec/compiler": "~0.59.0",
|
|
68
68
|
"@typespec/react-components": "~0.57.0"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|