@pstdio/workbench 0.1.0
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 +343 -0
- package/dist/context-key-service-C--cHa0B.js +447 -0
- package/dist/context-key-service-C--cHa0B.js.map +1 -0
- package/dist/core.d.ts +1885 -0
- package/dist/core.js +64 -0
- package/dist/core.js.map +1 -0
- package/dist/extensions.d.ts +1934 -0
- package/dist/extensions.js +1728 -0
- package/dist/extensions.js.map +1 -0
- package/dist/file-renderer-view-DrrhYnb_.js +171 -0
- package/dist/file-renderer-view-DrrhYnb_.js.map +1 -0
- package/dist/icon-B9XolQG8.js +35 -0
- package/dist/icon-B9XolQG8.js.map +1 -0
- package/dist/index.d.ts +1885 -0
- package/dist/index.js +64 -0
- package/dist/index.js.map +1 -0
- package/dist/react.d.ts +2020 -0
- package/dist/react.js +3905 -0
- package/dist/react.js.map +1 -0
- package/dist/storage.d.ts +128 -0
- package/dist/storage.js +87 -0
- package/dist/storage.js.map +1 -0
- package/dist/surface-reconcile-DkRf01ro.js +260 -0
- package/dist/surface-reconcile-DkRf01ro.js.map +1 -0
- package/dist/testing.d.ts +1620 -0
- package/dist/testing.js +46 -0
- package/dist/testing.js.map +1 -0
- package/dist/webview-runtime.d.ts +10 -0
- package/dist/webview-runtime.js +31 -0
- package/dist/webview-runtime.js.map +1 -0
- package/dist/workbench-core-DFpwi8Lo.js +2264 -0
- package/dist/workbench-core-DFpwi8Lo.js.map +1 -0
- package/dist/workbench-menu-paths-CQVH6z4_.js +11 -0
- package/dist/workbench-menu-paths-CQVH6z4_.js.map +1 -0
- package/package.json +95 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const a = (e) => ["workbench", "header", e, "leading"], n = (e) => ["workbench", "header", e, "trailing"], r = (e) => ["workbench", "areaTabs", e, "leading"], o = ["workbench", "commandPalette"], t = a("nav"), c = n("nav"), h = (e) => ["workbench", "resource", e, "context"];
|
|
2
|
+
export {
|
|
3
|
+
n as a,
|
|
4
|
+
o as b,
|
|
5
|
+
t as c,
|
|
6
|
+
c as d,
|
|
7
|
+
a as h,
|
|
8
|
+
h as r,
|
|
9
|
+
r as w
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=workbench-menu-paths-CQVH6z4_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbench-menu-paths-CQVH6z4_.js","sources":["../src/core/registries/menus/workbench-menu-paths.ts"],"sourcesContent":["import type { MenuPath } from \"./menu-registry\";\n\nexport const headerLeadingMenuPath = (area: string): MenuPath => [\"workbench\", \"header\", area, \"leading\"];\n\nexport const headerTrailingMenuPath = (area: string): MenuPath => [\"workbench\", \"header\", area, \"trailing\"];\n\nexport const workbenchAreaTabLeadingMenuPath = (area: string): MenuPath => [\"workbench\", \"areaTabs\", area, \"leading\"];\n\nexport const workbenchCommandPaletteMenuPath = [\"workbench\", \"commandPalette\"] as const satisfies MenuPath;\n\nexport const workbenchTopHeaderLeadingMenuPath = headerLeadingMenuPath(\"nav\");\n\nexport const workbenchTopHeaderTrailingMenuPath = headerTrailingMenuPath(\"nav\");\n\nexport const resourceContextMenuPath = (resourceKind: string): MenuPath => [\n \"workbench\",\n \"resource\",\n resourceKind,\n \"context\",\n];\n"],"names":["headerLeadingMenuPath","area","headerTrailingMenuPath","workbenchAreaTabLeadingMenuPath","workbenchCommandPaletteMenuPath","workbenchTopHeaderLeadingMenuPath","workbenchTopHeaderTrailingMenuPath","resourceContextMenuPath","resourceKind"],"mappings":"AAEO,MAAMA,IAAwBA,CAACC,MAA2B,CAAC,aAAa,UAAUA,GAAM,SAAS,GAE3FC,IAAyBA,CAACD,MAA2B,CAAC,aAAa,UAAUA,GAAM,UAAU,GAE7FE,IAAkCA,CAACF,MAA2B,CAAC,aAAa,YAAYA,GAAM,SAAS,GAEvGG,IAAkC,CAAC,aAAa,gBAAgB,GAEhEC,IAAoCL,EAAsB,KAAK,GAE/DM,IAAqCJ,EAAuB,KAAK,GAEjEK,IAA0BA,CAACC,MAAmC,CACzE,aACA,YACAA,GACA,SAAS;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pstdio/workbench",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/pufflyai/prompt-studio"
|
|
7
|
+
},
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"type": "module",
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"**/*.css"
|
|
17
|
+
],
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./core": {
|
|
25
|
+
"types": "./dist/core.d.ts",
|
|
26
|
+
"import": "./dist/core.js"
|
|
27
|
+
},
|
|
28
|
+
"./react": {
|
|
29
|
+
"types": "./dist/react.d.ts",
|
|
30
|
+
"import": "./dist/react.js"
|
|
31
|
+
},
|
|
32
|
+
"./storage": {
|
|
33
|
+
"types": "./dist/storage.d.ts",
|
|
34
|
+
"import": "./dist/storage.js"
|
|
35
|
+
},
|
|
36
|
+
"./extensions": {
|
|
37
|
+
"types": "./dist/extensions.d.ts",
|
|
38
|
+
"import": "./dist/extensions.js"
|
|
39
|
+
},
|
|
40
|
+
"./testing": {
|
|
41
|
+
"types": "./dist/testing.d.ts",
|
|
42
|
+
"import": "./dist/testing.js"
|
|
43
|
+
},
|
|
44
|
+
"./webview-runtime": {
|
|
45
|
+
"types": "./dist/webview-runtime.d.ts",
|
|
46
|
+
"import": "./dist/webview-runtime.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "vite build",
|
|
51
|
+
"typecheck": "tsc --noEmit",
|
|
52
|
+
"lint": "bun run typecheck && biome check .",
|
|
53
|
+
"format": "biome check --write .",
|
|
54
|
+
"test": "bun test --conditions production --silent",
|
|
55
|
+
"storybook": "storybook dev -p 6007",
|
|
56
|
+
"build-storybook": "storybook build",
|
|
57
|
+
"test:coverage": "bun test --conditions production --coverage",
|
|
58
|
+
"prepublishOnly": "bun run build"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"@chakra-ui/react": "^3.0.0",
|
|
62
|
+
"@emotion/react": "^11.0.0",
|
|
63
|
+
"react": "^19.0.0",
|
|
64
|
+
"react-dom": "^19.0.0"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@pstdio/sdk": "workspace:*",
|
|
68
|
+
"@pstdio/ui": "workspace:*",
|
|
69
|
+
"@tanstack/react-hotkeys": "0.10.0",
|
|
70
|
+
"lucide-react": "^0.556.0",
|
|
71
|
+
"rimless": "0.8.2",
|
|
72
|
+
"zustand": "^5.0.8"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@chakra-ui/react": "3.32.0",
|
|
76
|
+
"@emotion/react": "11.14.0",
|
|
77
|
+
"@storybook/addon-docs": "10.1.9",
|
|
78
|
+
"@storybook/react": "^10.1.9",
|
|
79
|
+
"@storybook/react-vite": "^10.1.9",
|
|
80
|
+
"@types/bun": "latest",
|
|
81
|
+
"@types/react": "19.2.3",
|
|
82
|
+
"@types/react-dom": "19.2.3",
|
|
83
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
84
|
+
"babel-plugin-react-compiler": "^1.0.0",
|
|
85
|
+
"pstdio-api-contracts": "workspace:*",
|
|
86
|
+
"pstdio-extensions": "workspace:*",
|
|
87
|
+
"react": "19.2.4",
|
|
88
|
+
"react-dom": "19.2.4",
|
|
89
|
+
"storybook": "^10.1.9",
|
|
90
|
+
"typescript": "6.0.2",
|
|
91
|
+
"vite": "^7.2.4",
|
|
92
|
+
"vite-plugin-dts": "^4.5.4",
|
|
93
|
+
"vite-plugin-externalize-deps": "^0.8.0"
|
|
94
|
+
}
|
|
95
|
+
}
|