@farm.js/create-app 0.1.1-beta.1 → 0.1.1-beta.2

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
@@ -5,7 +5,7 @@ Create a new FARMJS application
5
5
  See [Stability and Support](https://farmjs.dev/docs/stability) for what this package guarantees.
6
6
 
7
7
  ```bash
8
- PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app my-app --template basic
8
+ pnpm create @farm.js/app my-app --template basic
9
9
  cd my-app
10
10
  pnpm dev
11
11
  ```
@@ -15,13 +15,19 @@ automatically. Every starter also registers the official
15
15
  [`@farm.js/devtools`](https://farmjs.dev/docs/plugins/devtools) workspace, available at
16
16
  `/__farm/devtools` (or `Command/Ctrl + Shift + .`) during `pnpm dev`. The command explicitly selects the minimal Basic starter. Use `pnpm create`, not
17
17
  `pnpm add`; pnpm resolves this initializer command to the published `@farm.js/create-app` package.
18
- `PNPM_CONFIG_DLX_CACHE_MAX_AGE=0` refreshes pnpm's one-day `create`/`dlx` cache so the `beta`
19
- dist-tag is resolved on every run. `PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE` keeps pnpm's default
20
- release-age protection enabled for third-party packages while allowing newly published
21
- `@farm.js/*` betas. Generated pnpm projects preserve that scoped exclusion. Pass `--skip-install`
22
- when you only want to generate the project files.
18
+ Pass `--skip-install` when you only want to generate the project files.
19
+
20
+ Right after a release, pnpm can still start the previous initializer: its `create` cache lasts a
21
+ day, and pnpm 11's default release-age policy holds back packages published in the last day. Set
22
+ both for the shell, then run the command again:
23
+
24
+ ```bash
25
+ export PNPM_CONFIG_DLX_CACHE_MAX_AGE=0
26
+ export PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]'
27
+ pnpm create @farm.js/app my-app --template basic
28
+ ```
23
29
 
24
- In PowerShell, set the same variables before running the command:
30
+ In PowerShell:
25
31
 
26
32
  ```powershell
27
33
  $env:PNPM_CONFIG_DLX_CACHE_MAX_AGE = "0"
@@ -32,7 +38,7 @@ pnpm create @farm.js/app my-app --template basic
32
38
  Choose React, Preact, Solid, Vue, or Svelte for the Basic and Better Auth starters:
33
39
 
34
40
  ```bash
35
- PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app my-app --template better-auth --renderer solid
41
+ pnpm create @farm.js/app my-app --template better-auth --renderer solid
36
42
  ```
37
43
 
38
44
  React remains the default when `--renderer` is omitted. The interactive Basic and Better Auth
@@ -41,7 +47,7 @@ flows also offer a renderer chooser.
41
47
  List every starter:
42
48
 
43
49
  ```bash
44
- PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app --list-templates
50
+ pnpm create @farm.js/app --list-templates
45
51
  ```
46
52
 
47
53
  Available templates:
@@ -56,7 +62,7 @@ home page, and setup documentation. Better Auth has renderer-native UI for all f
56
62
  other integration templates currently use React. For example:
57
63
 
58
64
  ```bash
59
- PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app stripe-app --template stripe
65
+ pnpm create @farm.js/app stripe-app --template stripe
60
66
  ```
61
67
 
62
68
  See the [FARMJS repository](https://github.com/farming-labs/farm.js) for documentation, examples, and support.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm.js/create-app",
3
- "version": "0.1.1-beta.1",
3
+ "version": "0.1.1-beta.2",
4
4
  "description": "Create a new FARMJS application",
5
5
  "keywords": [
6
6
  "@farm.js/create-app",
@@ -10,7 +10,7 @@
10
10
  "type-check": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@farm.js/core": "0.1.1-beta.1",
13
+ "@farm.js/core": "0.1.1-beta.2",
14
14
  "@farm.js/preact": "0.1.0-beta.33",
15
15
  "@fontsource-variable/geist": "5.3.0",
16
16
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -18,8 +18,8 @@
18
18
  "zod": "4.1.12"
19
19
  },
20
20
  "devDependencies": {
21
- "@farm.js/cli": "0.1.1-beta.1",
22
- "@farm.js/devtools": "0.1.1-beta.1",
21
+ "@farm.js/cli": "0.1.1-beta.2",
22
+ "@farm.js/devtools": "0.1.1-beta.2",
23
23
  "tailwindcss": "^4.0.0",
24
24
  "typescript": "^5.3.3"
25
25
  },
@@ -9,7 +9,7 @@
9
9
  "type-check": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@farm.js/core": "0.1.1-beta.1",
12
+ "@farm.js/core": "0.1.1-beta.2",
13
13
  "@farm.js/solid": "0.1.0-beta.29",
14
14
  "@fontsource-variable/geist": "5.3.0",
15
15
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -17,8 +17,8 @@
17
17
  "zod": "4.1.12"
18
18
  },
19
19
  "devDependencies": {
20
- "@farm.js/cli": "0.1.1-beta.1",
21
- "@farm.js/devtools": "0.1.1-beta.1",
20
+ "@farm.js/cli": "0.1.1-beta.2",
21
+ "@farm.js/devtools": "0.1.1-beta.2",
22
22
  "tailwindcss": "^4.0.0",
23
23
  "typescript": "^5.3.3"
24
24
  },
@@ -11,7 +11,7 @@
11
11
  "type-check": "svelte-check --tsconfig ./tsconfig.json"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/core": "0.1.1-beta.1",
14
+ "@farm.js/core": "0.1.1-beta.2",
15
15
  "@farm.js/svelte": "0.1.0-beta.32",
16
16
  "@fontsource-variable/geist": "5.3.0",
17
17
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -19,8 +19,8 @@
19
19
  "zod": "4.1.12"
20
20
  },
21
21
  "devDependencies": {
22
- "@farm.js/cli": "0.1.1-beta.1",
23
- "@farm.js/devtools": "0.1.1-beta.1",
22
+ "@farm.js/cli": "0.1.1-beta.2",
23
+ "@farm.js/devtools": "0.1.1-beta.2",
24
24
  "svelte-check": "4.7.5",
25
25
  "tailwindcss": "^4.0.0",
26
26
  "typescript": "^5.3.3"
@@ -9,7 +9,7 @@
9
9
  "type-check": "vue-tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@farm.js/core": "0.1.1-beta.1",
12
+ "@farm.js/core": "0.1.1-beta.2",
13
13
  "@farm.js/vue": "0.1.0-beta.29",
14
14
  "@fontsource-variable/geist": "5.3.0",
15
15
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -17,8 +17,8 @@
17
17
  "zod": "4.1.12"
18
18
  },
19
19
  "devDependencies": {
20
- "@farm.js/cli": "0.1.1-beta.1",
21
- "@farm.js/devtools": "0.1.1-beta.1",
20
+ "@farm.js/cli": "0.1.1-beta.2",
21
+ "@farm.js/devtools": "0.1.1-beta.2",
22
22
  "tailwindcss": "^4.0.0",
23
23
  "typescript": "^5.3.3",
24
24
  "vue-tsc": "3.3.9"
@@ -20,7 +20,7 @@ This project was generated from the FARMJS Auth template included with `@farm.js
20
20
  ## Quick start
21
21
 
22
22
  ```bash
23
- PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app my-app --template auth
23
+ pnpm create @farm.js/app my-app --template auth
24
24
  cd my-app
25
25
  pnpm dev
26
26
  ```
@@ -11,8 +11,8 @@
11
11
  "type-check": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/auth": "0.1.1-beta.1",
15
- "@farm.js/core": "0.1.1-beta.1",
14
+ "@farm.js/auth": "0.1.1-beta.2",
15
+ "@farm.js/core": "0.1.1-beta.2",
16
16
  "@farming-labs/docs": "0.2.116",
17
17
  "@farming-labs/farmjs": "0.2.116",
18
18
  "@farming-labs/theme": "0.2.116",
@@ -23,8 +23,8 @@
23
23
  "react-dom": "^19.0.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@farm.js/cli": "0.1.1-beta.1",
27
- "@farm.js/devtools": "0.1.1-beta.1",
26
+ "@farm.js/cli": "0.1.1-beta.2",
27
+ "@farm.js/devtools": "0.1.1-beta.2",
28
28
  "@types/node": "22.20.1",
29
29
  "@types/react": "^19.0.0",
30
30
  "@types/react-dom": "^19.0.0",
@@ -9,7 +9,7 @@
9
9
  "type-check": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@farm.js/core": "0.1.1-beta.1",
12
+ "@farm.js/core": "0.1.1-beta.2",
13
13
  "@farming-labs/docs": "0.2.116",
14
14
  "@farming-labs/farmjs": "0.2.116",
15
15
  "@farming-labs/theme": "0.2.116",
@@ -19,8 +19,8 @@
19
19
  "react-dom": "^19.0.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@farm.js/cli": "0.1.1-beta.1",
23
- "@farm.js/devtools": "0.1.1-beta.1",
22
+ "@farm.js/cli": "0.1.1-beta.2",
23
+ "@farm.js/devtools": "0.1.1-beta.2",
24
24
  "@types/react": "^19.0.0",
25
25
  "@types/react-dom": "^19.0.0",
26
26
  "tailwindcss": "^4.0.0",
@@ -19,7 +19,7 @@ This project was generated from the Better Auth template included with `@farm.js
19
19
  ## Quick start
20
20
 
21
21
  ```bash
22
- PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app my-app --template better-auth --renderer solid
22
+ pnpm create @farm.js/app my-app --template better-auth --renderer solid
23
23
  cd my-app
24
24
  cp .env.example .env.local
25
25
  ```
@@ -11,8 +11,8 @@
11
11
  "type-check": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/better-auth": "0.1.1-beta.1",
15
- "@farm.js/core": "0.1.1-beta.1",
14
+ "@farm.js/better-auth": "0.1.1-beta.2",
15
+ "@farm.js/core": "0.1.1-beta.2",
16
16
  "@farming-labs/docs": "0.2.116",
17
17
  "@farming-labs/farmjs": "0.2.116",
18
18
  "@farming-labs/theme": "0.2.116",
@@ -25,8 +25,8 @@
25
25
  "react-dom": "^19.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@farm.js/cli": "0.1.1-beta.1",
29
- "@farm.js/devtools": "0.1.1-beta.1",
28
+ "@farm.js/cli": "0.1.1-beta.2",
29
+ "@farm.js/devtools": "0.1.1-beta.2",
30
30
  "@types/node": "22.20.1",
31
31
  "@types/pg": "8.20.0",
32
32
  "@types/react": "^19.0.0",
@@ -10,7 +10,7 @@ update beside ordinary React reconciliation.
10
10
  ## Create this starter
11
11
 
12
12
  ```bash
13
- PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app my-compiler-app --template react-compiler
13
+ pnpm create @farm.js/app my-compiler-app --template react-compiler
14
14
  cd my-compiler-app
15
15
  pnpm dev
16
16
  ```
@@ -11,8 +11,8 @@
11
11
  "type-check": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/core": "0.1.1-beta.1",
15
- "@farm.js/react": "0.1.0-beta.16",
14
+ "@farm.js/core": "0.1.1-beta.2",
15
+ "@farm.js/react": "0.1.0-beta.18",
16
16
  "@farming-labs/docs": "0.2.116",
17
17
  "@farming-labs/farmjs": "0.2.116",
18
18
  "@farming-labs/theme": "0.2.116",
@@ -22,8 +22,8 @@
22
22
  "react-dom": "19.2.8"
23
23
  },
24
24
  "devDependencies": {
25
- "@farm.js/cli": "0.1.1-beta.1",
26
- "@farm.js/devtools": "0.1.1-beta.1",
25
+ "@farm.js/cli": "0.1.1-beta.2",
26
+ "@farm.js/devtools": "0.1.1-beta.2",
27
27
  "@playwright/test": "^1.52.0",
28
28
  "@types/react": "^19.0.0",
29
29
  "@types/react-dom": "^19.0.0",