create-murasaki 0.0.8 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-murasaki",
3
- "version": "0.0.8",
3
+ "version": "0.1.0",
4
4
  "description": "Scaffolder for Murasaki apps. Run with `npm create murasaki@latest`.",
5
5
  "keywords": [
6
6
  "murasaki",
@@ -7,12 +7,6 @@
7
7
  "dev": "murasaki dev"
8
8
  },
9
9
  "dependencies": {
10
- "murasaki": "^0.0.3",
11
- "react": "^19.2.7",
12
- "react-dom": "^19.2.7"
13
- },
14
- "devDependencies": {
15
- "@types/react": "^19.2.17",
16
- "@types/react-dom": "^19.2.3"
10
+ "murasaki": "^0.1.0"
17
11
  }
18
12
  }
@@ -1,7 +1,7 @@
1
1
  // src/layout.tsx — wraps your app. Edit me to change the global shell.
2
2
  // Global styles live in src/globals.css (auto-injected by murasaki).
3
3
 
4
- import type { ReactNode } from 'react'
4
+ import type { Child } from 'murasaki/jsx'
5
5
  import type { Metadata } from 'murasaki'
6
6
 
7
7
  export const metadata: Metadata = {
@@ -13,7 +13,7 @@ export const metadata: Metadata = {
13
13
  },
14
14
  }
15
15
 
16
- export default function Layout({ children }: { children: ReactNode }) {
16
+ export default function Layout({ children }: { children?: Child }) {
17
17
  return (
18
18
  <html lang="en">
19
19
  <head>
@@ -4,6 +4,7 @@
4
4
  "module": "ESNext",
5
5
  "moduleResolution": "Bundler",
6
6
  "jsx": "react-jsx",
7
+ "jsxImportSource": "murasaki",
7
8
  "strict": true,
8
9
  "esModuleInterop": true,
9
10
  "allowSyntheticDefaultImports": true,