create-l5e 0.3.3-alpha.4 → 1.0.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 CHANGED
@@ -19,6 +19,13 @@ Available templates:
19
19
  - `basic`: example app with middleware rewrite, loader cache headers, action and swap interaction
20
20
  - `minimal`: small app with one server-rendered page
21
21
 
22
+ Each standalone template includes a root `pnpm-workspace.yaml` with `packages: []`
23
+ and `allowBuilds.esbuild: true`. This lets pnpm 10.26+ run esbuild's required install
24
+ script and prevents the generated app from inheriting a workspace in a parent
25
+ directory. If you move the app into an existing monorepo, merge
26
+ `allowBuilds.esbuild: true` into that monorepo's root workspace file while preserving
27
+ its existing `packages` patterns.
28
+
22
29
  Run the dev server immediately after install:
23
30
 
24
31
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-l5e",
3
- "version": "0.3.3-alpha.4",
3
+ "version": "1.0.0",
4
4
  "description": "Create an L5E app from the official starter template.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -13,10 +13,10 @@
13
13
  "README.md"
14
14
  ],
15
15
  "engines": {
16
- "node": ">=20.19.0"
16
+ "node": "^20.19.0 || >=22.12.0"
17
17
  },
18
18
  "publishConfig": {
19
- "tag": "latest"
19
+ "access": "public"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "node --check bin/create-l5e.js",
@@ -3,6 +3,9 @@
3
3
  "version": "0.1.0",
4
4
  "private": true,
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": "^20.19.0 || >=22.12.0"
8
+ },
6
9
  "scripts": {
7
10
  "dev": "tsx server.ts",
8
11
  "build": "vite build && vite build --ssr src/entry-server.ts --outDir dist/server && vite build --ssr server.ts --outDir dist --emptyOutDir false",
@@ -11,7 +14,7 @@
11
14
  "typecheck": "tsc --noEmit"
12
15
  },
13
16
  "dependencies": {
14
- "@withl5e/l5e": "^0.3.3-alpha.4",
17
+ "@withl5e/l5e": "^1.0.0",
15
18
  "react": "^19.0.0",
16
19
  "react-dom": "^19.0.0"
17
20
  },
@@ -21,11 +24,6 @@
21
24
  "cross-env": "^7.0.3",
22
25
  "tsx": "^4.7.0",
23
26
  "typescript": "^5.6.3",
24
- "vite": "^7.1.5"
25
- },
26
- "pnpm": {
27
- "onlyBuiltDependencies": [
28
- "esbuild"
29
- ]
27
+ "vite": "^8.2.2"
30
28
  }
31
29
  }
@@ -0,0 +1,4 @@
1
+ packages: []
2
+
3
+ allowBuilds:
4
+ esbuild: true
@@ -7,14 +7,14 @@ const __filename = fileURLToPath(import.meta.url);
7
7
  const __dirname = path.dirname(__filename);
8
8
 
9
9
  export default defineConfig({
10
- esbuild: {
10
+ oxc: {
11
11
  jsx: 'preserve',
12
12
  },
13
13
  plugins: [coreVite()],
14
14
  build: {
15
15
  outDir: 'dist/client',
16
16
  manifest: true,
17
- rollupOptions: {
17
+ rolldownOptions: {
18
18
  external: (id) => id === 'fsevents',
19
19
  },
20
20
  },
@@ -23,7 +23,7 @@ export default defineConfig({
23
23
  },
24
24
  ssr: {
25
25
  noExternal: ['@withl5e/l5e'],
26
- external: ['rollup', 'esbuild', 'fsevents'],
26
+ external: ['rolldown', 'esbuild', 'fsevents'],
27
27
  },
28
28
  resolve: {
29
29
  alias: {
@@ -3,6 +3,9 @@
3
3
  "version": "0.1.0",
4
4
  "private": true,
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": "^20.19.0 || >=22.12.0"
8
+ },
6
9
  "scripts": {
7
10
  "dev": "tsx server.ts",
8
11
  "build": "vite build && vite build --ssr src/entry-server.ts --outDir dist/server && vite build --ssr server.ts --outDir dist --emptyOutDir false",
@@ -11,7 +14,7 @@
11
14
  "typecheck": "tsc --noEmit"
12
15
  },
13
16
  "dependencies": {
14
- "@withl5e/l5e": "^0.3.3-alpha.4",
17
+ "@withl5e/l5e": "^1.0.0",
15
18
  "react": "^19.0.0",
16
19
  "react-dom": "^19.0.0"
17
20
  },
@@ -21,11 +24,6 @@
21
24
  "cross-env": "^7.0.3",
22
25
  "tsx": "^4.7.0",
23
26
  "typescript": "^5.6.3",
24
- "vite": "^7.1.5"
25
- },
26
- "pnpm": {
27
- "onlyBuiltDependencies": [
28
- "esbuild"
29
- ]
27
+ "vite": "^8.2.2"
30
28
  }
31
29
  }
@@ -0,0 +1,4 @@
1
+ packages: []
2
+
3
+ allowBuilds:
4
+ esbuild: true
@@ -7,14 +7,14 @@ const __filename = fileURLToPath(import.meta.url);
7
7
  const __dirname = path.dirname(__filename);
8
8
 
9
9
  export default defineConfig({
10
- esbuild: {
10
+ oxc: {
11
11
  jsx: 'preserve',
12
12
  },
13
13
  plugins: [coreVite()],
14
14
  build: {
15
15
  outDir: 'dist/client',
16
16
  manifest: true,
17
- rollupOptions: {
17
+ rolldownOptions: {
18
18
  external: (id) => id === 'fsevents',
19
19
  },
20
20
  },
@@ -23,7 +23,7 @@ export default defineConfig({
23
23
  },
24
24
  ssr: {
25
25
  noExternal: ['@withl5e/l5e'],
26
- external: ['rollup', 'esbuild', 'fsevents'],
26
+ external: ['rolldown', 'esbuild', 'fsevents'],
27
27
  },
28
28
  resolve: {
29
29
  alias: {