create-gridland 0.2.30 → 0.2.32

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,6 +1,6 @@
1
1
  {
2
2
  "name": "create-gridland",
3
- "version": "0.2.30",
3
+ "version": "0.2.32",
4
4
  "description": "Create a new Gridland project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+ "use client"
3
+
4
+ import { TUI } from "@gridland/web"
5
+ import { useKeyboard } from "@gridland/core"
6
+ import { LandingApp } from "@gridland/demo/landing"
7
+
8
+ export default function GridlandApp() {
9
+ return (
10
+ <TUI style={{ width: "100vw", height: "100vh" }} backgroundColor="#1a1a2e">
11
+ <LandingApp useKeyboard={useKeyboard} />
12
+ </TUI>
13
+ )
14
+ }
@@ -1,14 +1,12 @@
1
1
  // @ts-nocheck
2
2
  "use client"
3
3
 
4
- import { TUI } from "@gridland/web"
5
- import { useKeyboard } from "@gridland/core"
6
- import { LandingApp } from "@gridland/demo/landing"
4
+ import dynamic from "next/dynamic"
5
+
6
+ // Dynamic import with SSR disabled @gridland/core uses top-level await
7
+ // (Yoga WASM) which is not supported during Next.js server-side rendering.
8
+ const GridlandApp = dynamic(() => import("./gridland-app"), { ssr: false })
7
9
 
8
10
  export default function Home() {
9
- return (
10
- <TUI style={{ width: "100vw", height: "100vh" }} backgroundColor="#1a1a2e">
11
- <LandingApp useKeyboard={useKeyboard} />
12
- </TUI>
13
- )
11
+ return <GridlandApp />
14
12
  }
@@ -7,9 +7,9 @@
7
7
  "start": "next start"
8
8
  },
9
9
  "dependencies": {
10
- "@gridland/core": "^0.2.30",
11
- "@gridland/demo": "^0.2.30",
12
- "@gridland/web": "^0.2.30",
10
+ "@gridland/core": "^0.2.32",
11
+ "@gridland/demo": "^0.2.32",
12
+ "@gridland/web": "^0.2.32",
13
13
  "next": "^15.0.0",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0"
@@ -8,9 +8,9 @@
8
8
  "preview": "vite preview"
9
9
  },
10
10
  "dependencies": {
11
- "@gridland/core": "^0.2.30",
12
- "@gridland/demo": "^0.2.30",
13
- "@gridland/web": "^0.2.30",
11
+ "@gridland/core": "^0.2.32",
12
+ "@gridland/demo": "^0.2.32",
13
+ "@gridland/web": "^0.2.32",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0"
16
16
  },