@dfosco/storyboard-react 4.2.0-alpha.5 → 4.2.0-alpha.6

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/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "@dfosco/storyboard-react",
3
- "version": "4.2.0-alpha.5",
3
+ "version": "4.2.0-alpha.6",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@base-ui/react": "^1.4.0",
7
- "@dfosco/storyboard-core": "4.2.0-alpha.5",
8
- "@dfosco/tiny-canvas": "4.2.0-alpha.5",
7
+ "@dfosco/storyboard-core": "4.2.0-alpha.6",
8
+ "@dfosco/tiny-canvas": "4.2.0-alpha.6",
9
9
  "@neodrag/react": "^2.3.1",
10
10
  "glob": "^11.0.0",
11
11
  "jsonc-parser": "^3.3.1",
12
12
  "remark": "^15.0.1",
13
13
  "remark-gfm": "^4.0.1",
14
14
  "react-cmdk": "^1.3.9",
15
- "remark-html": "^16.0.1"
15
+ "remark-html": "^16.0.1",
16
+ "ghostty-web": "^0.4.0"
16
17
  },
17
18
  "license": "MIT",
18
19
  "repository": {
@@ -27,13 +28,7 @@
27
28
  "@primer/octicons-react": ">=19",
28
29
  "react": ">=18",
29
30
  "react-router-dom": ">=6",
30
- "vite": ">=5",
31
- "ghostty-web": ">=0.4.0"
32
- },
33
- "peerDependenciesMeta": {
34
- "ghostty-web": {
35
- "optional": true
36
- }
31
+ "vite": ">=5"
37
32
  },
38
33
  "exports": {
39
34
  ".": "./src/index.js",
@@ -14,7 +14,7 @@ const terminalSchema = schemas['terminal']
14
14
  let ghosttyPromise = null
15
15
  function loadGhostty() {
16
16
  if (!ghosttyPromise) {
17
- ghosttyPromise = import(/* @vite-ignore */ 'ghostty-web')
17
+ ghosttyPromise = import('ghostty-web')
18
18
  .then(async (mod) => {
19
19
  if (mod.init) await mod.init()
20
20
  return mod