mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
* feat(studio): add a light @hyperframes/studio/keys subpath for key parsing and defaults parseCombo, matchCombo and DEFAULT_STUDIO_KEYS, with their types, from an entry that imports nothing else, so a host can read Studio's keys without loading the editor. The defaults move to a module of their own, which studioShortcuts re-exports as before. * fix(studio): declare the keys subpath in package-subpaths.json and regenerate the manifest * test(studio): read the keys import graph with platform paths so it passes on Windows
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"package": "@hyperframes/studio",
|
|
"subpaths": {
|
|
".": {
|
|
"source": "./src/index.ts",
|
|
"runtime": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"environments": ["browser"]
|
|
},
|
|
"./ui": {
|
|
"source": "./src/ui.ts",
|
|
"runtime": "./dist/ui.js",
|
|
"types": "./dist/ui.d.ts",
|
|
"environments": ["browser"]
|
|
},
|
|
"./player": {
|
|
"source": "./src/playerEntry.ts",
|
|
"runtime": "./dist/player.js",
|
|
"types": "./dist/player.d.ts",
|
|
"environments": ["browser"]
|
|
},
|
|
"./keys": {
|
|
"source": "./src/keys.ts",
|
|
"runtime": "./dist/keys.js",
|
|
"types": "./dist/keys.d.ts",
|
|
"environments": ["browser", "bun", "node"]
|
|
},
|
|
"./tailwind-preset": {
|
|
"source": "./src/styles/tailwind-preset.ts",
|
|
"runtime": "./dist/styles/tailwind-preset.js",
|
|
"types": "./dist/styles/tailwind-preset.d.ts",
|
|
"environments": ["bun", "node"]
|
|
},
|
|
"./theme.css": {
|
|
"source": "./src/styles/theme.css",
|
|
"runtime": "./src/styles/theme.css",
|
|
"types": null,
|
|
"environments": ["browser"]
|
|
},
|
|
"./components.css": {
|
|
"source": "./src/styles/components.css",
|
|
"runtime": "./src/styles/components.css",
|
|
"types": null,
|
|
"environments": ["browser"]
|
|
},
|
|
"./styles.css": {
|
|
"source": "./src/styles/studio.css",
|
|
"runtime": "./dist/styles.css",
|
|
"types": null,
|
|
"environments": ["browser"]
|
|
},
|
|
"./package.json": {
|
|
"source": "./package.json",
|
|
"runtime": "./package.json",
|
|
"types": null,
|
|
"environments": ["browser", "bun", "node"]
|
|
}
|
|
}
|
|
}
|