@tanstack/create 0.63.7 → 0.63.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @tanstack/create
2
2
 
3
+ ## 0.63.9
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(create): correct netlify.toml key, eslint scripts, and missing eslint dep ([`e38729f`](https://github.com/TanStack/cli/commit/e38729fe0b6a16e8d34417d2334baf2b2db94942))
8
+
9
+ - The generated `netlify.toml` for both React and Solid used `dir` under
10
+ `[build]`, which is not a valid Netlify configuration key. Per Netlify's
11
+ TanStack Start guide it must be `publish`. Closes #423.
12
+ - The eslint toolchain had `format` and `check` scripts swapped: `format`
13
+ ran prettier in read-only mode while `check` mutated files. Swap them so
14
+ `format` writes (`prettier --write . && eslint --fix`) and `check` is
15
+ read-only (`prettier --check .`). Closes #403.
16
+ - `@tanstack/eslint-config` lists `eslint` as a peer dependency, so eslint
17
+ was not installed by package managers that don't auto-install peers. Add
18
+ `eslint` to `devDependencies` in the eslint toolchain. Closes #417.
19
+
20
+ ## 0.63.8
21
+
22
+ ### Patch Changes
23
+
24
+ - fix(cli): require Node.js >=20 and surface a clear error on older runtimes ([#438](https://github.com/TanStack/cli/pull/438))
25
+
26
+ Older Node versions (e.g. Node 16) lack `events.addAbortListener`, which is
27
+ used transitively by the CLI. Running on those versions produced a cryptic
28
+ `SyntaxError: ... does not provide an export named 'addAbortListener'` during
29
+ module instantiation. Both packages now declare `engines.node: ">=20"` so
30
+ package managers warn at install time, and the CLI bin performs an early
31
+ runtime check that prints an actionable message before any modules load.
32
+
33
+ Closes #433
34
+
3
35
  ## 0.63.7
4
36
 
5
37
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  [build]
2
2
  command = "vite build"
3
- dir = "dist/client"
3
+ publish = "dist/client"
4
4
  [dev]
5
5
  command = "npm run dev"
6
6
  targetPort = 3000
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "scripts": {
3
3
  "lint": "eslint",
4
- "format": "prettier --check .",
5
- "check": "prettier --write . && eslint --fix"
4
+ "format": "prettier --write . && eslint --fix",
5
+ "check": "prettier --check ."
6
6
  },
7
7
  "devDependencies": {
8
8
  "@tanstack/eslint-config": "latest",
9
+ "eslint": "^9.20.0",
9
10
  "prettier": "^3.8.1"
10
11
  }
11
12
  }
@@ -1,6 +1,6 @@
1
1
  [build]
2
2
  command = "vite build"
3
- dir = "dist/client"
3
+ publish = "dist/client"
4
4
  [dev]
5
5
  command = "npm run dev"
6
6
  targetPort = 3000
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "scripts": {
3
3
  "lint": "eslint",
4
- "format": "prettier --check .",
5
- "check": "prettier --write . && eslint --fix"
4
+ "format": "prettier --write . && eslint --fix",
5
+ "check": "prettier --check ."
6
6
  },
7
7
  "devDependencies": {
8
8
  "@tanstack/eslint-config": "latest",
9
+ "eslint": "^9.20.0",
9
10
  "prettier": "^3.8.1"
10
11
  }
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/create",
3
- "version": "0.63.7",
3
+ "version": "0.63.9",
4
4
  "description": "TanStack Application Builder Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,6 +22,9 @@
22
22
  ],
23
23
  "author": "Jack Herrington <jherr@pobox.com>",
24
24
  "license": "MIT",
25
+ "engines": {
26
+ "node": ">=20"
27
+ },
25
28
  "dependencies": {
26
29
  "ejs": "^3.1.10",
27
30
  "execa": "^9.5.2",
@@ -1,6 +1,6 @@
1
1
  [build]
2
2
  command = "vite build"
3
- dir = "dist/client"
3
+ publish = "dist/client"
4
4
  [dev]
5
5
  command = "npm run dev"
6
6
  targetPort = 3000
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "scripts": {
3
3
  "lint": "eslint",
4
- "format": "prettier --check .",
5
- "check": "prettier --write . && eslint --fix"
4
+ "format": "prettier --write . && eslint --fix",
5
+ "check": "prettier --check ."
6
6
  },
7
7
  "devDependencies": {
8
8
  "@tanstack/eslint-config": "latest",
9
+ "eslint": "^9.20.0",
9
10
  "prettier": "^3.8.1"
10
11
  }
11
12
  }
@@ -1,6 +1,6 @@
1
1
  [build]
2
2
  command = "vite build"
3
- dir = "dist/client"
3
+ publish = "dist/client"
4
4
  [dev]
5
5
  command = "npm run dev"
6
6
  targetPort = 3000
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "scripts": {
3
3
  "lint": "eslint",
4
- "format": "prettier --check .",
5
- "check": "prettier --write . && eslint --fix"
4
+ "format": "prettier --write . && eslint --fix",
5
+ "check": "prettier --check ."
6
6
  },
7
7
  "devDependencies": {
8
8
  "@tanstack/eslint-config": "latest",
9
+ "eslint": "^9.20.0",
9
10
  "prettier": "^3.8.1"
10
11
  }
11
12
  }