@farm.js/create-app 0.1.0-beta.101 → 0.1.0-beta.103

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
  FARMJS is currently in beta.
6
6
 
7
7
  ```bash
8
- pnpm --config.minimumReleaseAge=0 create @farm.js/app@beta my-app --template basic
8
+ PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app@beta my-app --template basic
9
9
  cd my-app
10
10
  pnpm dev
11
11
  ```
@@ -15,13 +15,24 @@ 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
- The command scopes `minimumReleaseAge=0` to the initializer so pnpm 11 can resolve a beta published
19
- within the last 24 hours. Pass `--skip-install` when you only want to generate the project files.
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.
23
+
24
+ In PowerShell, set the same variables before running the command:
25
+
26
+ ```powershell
27
+ $env:PNPM_CONFIG_DLX_CACHE_MAX_AGE = "0"
28
+ $env:PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE = '["@farm.js/*"]'
29
+ pnpm create @farm.js/app@beta my-app --template basic
30
+ ```
20
31
 
21
32
  Choose React, Preact, Solid, Vue, or Svelte for the Basic and Better Auth starters:
22
33
 
23
34
  ```bash
24
- pnpm --config.minimumReleaseAge=0 create @farm.js/app@beta my-app --template better-auth --renderer solid
35
+ PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app@beta my-app --template better-auth --renderer solid
25
36
  ```
26
37
 
27
38
  React remains the default when `--renderer` is omitted. The interactive Basic and Better Auth
@@ -30,7 +41,7 @@ flows also offer a renderer chooser.
30
41
  List every starter:
31
42
 
32
43
  ```bash
33
- pnpm --config.minimumReleaseAge=0 create @farm.js/app@beta --list-templates
44
+ PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app@beta --list-templates
34
45
  ```
35
46
 
36
47
  Available templates:
@@ -45,7 +56,7 @@ home page, and setup documentation. Better Auth has renderer-native UI for all f
45
56
  other integration templates currently use React. For example:
46
57
 
47
58
  ```bash
48
- pnpm --config.minimumReleaseAge=0 create @farm.js/app@beta stripe-app --template stripe
59
+ PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app@beta stripe-app --template stripe
49
60
  ```
50
61
 
51
62
  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.0-beta.101",
3
+ "version": "0.1.0-beta.103",
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.0-beta.101",
13
+ "@farm.js/core": "0.1.0-beta.103",
14
14
  "@farm.js/preact": "0.1.0-beta.31",
15
15
  "@fontsource-variable/geist": "5.3.0",
16
16
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -18,7 +18,7 @@
18
18
  "zod": "4.1.12"
19
19
  },
20
20
  "devDependencies": {
21
- "@farm.js/cli": "0.1.0-beta.101",
21
+ "@farm.js/cli": "0.1.0-beta.103",
22
22
  "@farm.js/devtools": "0.1.0-beta.1",
23
23
  "tailwindcss": "^4.0.0",
24
24
  "typescript": "^5.3.3"
@@ -9,7 +9,7 @@
9
9
  "type-check": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@farm.js/core": "0.1.0-beta.101",
12
+ "@farm.js/core": "0.1.0-beta.103",
13
13
  "@farm.js/solid": "0.1.0-beta.27",
14
14
  "@fontsource-variable/geist": "5.3.0",
15
15
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -17,7 +17,7 @@
17
17
  "zod": "4.1.12"
18
18
  },
19
19
  "devDependencies": {
20
- "@farm.js/cli": "0.1.0-beta.101",
20
+ "@farm.js/cli": "0.1.0-beta.103",
21
21
  "@farm.js/devtools": "0.1.0-beta.1",
22
22
  "tailwindcss": "^4.0.0",
23
23
  "typescript": "^5.3.3"
@@ -11,7 +11,7 @@
11
11
  "type-check": "svelte-check --tsconfig ./tsconfig.json"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/core": "0.1.0-beta.101",
14
+ "@farm.js/core": "0.1.0-beta.103",
15
15
  "@farm.js/svelte": "0.1.0-beta.30",
16
16
  "@fontsource-variable/geist": "5.3.0",
17
17
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -19,7 +19,7 @@
19
19
  "zod": "4.1.12"
20
20
  },
21
21
  "devDependencies": {
22
- "@farm.js/cli": "0.1.0-beta.101",
22
+ "@farm.js/cli": "0.1.0-beta.103",
23
23
  "@farm.js/devtools": "0.1.0-beta.1",
24
24
  "svelte-check": "4.7.5",
25
25
  "tailwindcss": "^4.0.0",
@@ -9,7 +9,7 @@
9
9
  "type-check": "vue-tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@farm.js/core": "0.1.0-beta.101",
12
+ "@farm.js/core": "0.1.0-beta.103",
13
13
  "@farm.js/vue": "0.1.0-beta.27",
14
14
  "@fontsource-variable/geist": "5.3.0",
15
15
  "@fontsource-variable/geist-mono": "5.3.0",
@@ -17,7 +17,7 @@
17
17
  "zod": "4.1.12"
18
18
  },
19
19
  "devDependencies": {
20
- "@farm.js/cli": "0.1.0-beta.101",
20
+ "@farm.js/cli": "0.1.0-beta.103",
21
21
  "@farm.js/devtools": "0.1.0-beta.1",
22
22
  "tailwindcss": "^4.0.0",
23
23
  "typescript": "^5.3.3",
@@ -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.minimumReleaseAge=0 create @farm.js/app@beta my-app --template auth
23
+ PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app@beta 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.0-beta.101",
15
- "@farm.js/core": "0.1.0-beta.101",
14
+ "@farm.js/auth": "0.1.0-beta.103",
15
+ "@farm.js/core": "0.1.0-beta.103",
16
16
  "@farming-labs/docs": "0.2.111",
17
17
  "@farming-labs/farmjs": "0.2.111",
18
18
  "@farming-labs/theme": "0.2.111",
@@ -23,7 +23,7 @@
23
23
  "react-dom": "^19.0.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@farm.js/cli": "0.1.0-beta.101",
26
+ "@farm.js/cli": "0.1.0-beta.103",
27
27
  "@farm.js/devtools": "0.1.0-beta.1",
28
28
  "@types/node": "22.20.1",
29
29
  "@types/react": "^19.0.0",
@@ -8,6 +8,4 @@ allowBuilds:
8
8
  sharp: true
9
9
  vue-demi: true
10
10
  minimumReleaseAgeExclude:
11
- - "@farm.js/auth"
12
- - "@farm.js/cli"
13
- - "@farm.js/core"
11
+ - "@farm.js/*"
@@ -9,7 +9,7 @@
9
9
  "type-check": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@farm.js/core": "0.1.0-beta.101",
12
+ "@farm.js/core": "0.1.0-beta.103",
13
13
  "@farming-labs/docs": "0.2.111",
14
14
  "@farming-labs/farmjs": "0.2.111",
15
15
  "@farming-labs/theme": "0.2.111",
@@ -19,7 +19,7 @@
19
19
  "react-dom": "^19.0.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@farm.js/cli": "0.1.0-beta.101",
22
+ "@farm.js/cli": "0.1.0-beta.103",
23
23
  "@farm.js/devtools": "0.1.0-beta.1",
24
24
  "@types/react": "^19.0.0",
25
25
  "@types/react-dom": "^19.0.0",
@@ -6,3 +6,6 @@ allowBuilds:
6
6
  esbuild: true
7
7
  sharp: true
8
8
  vue-demi: true
9
+
10
+ minimumReleaseAgeExclude:
11
+ - "@farm.js/*"
@@ -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.minimumReleaseAge=0 create @farm.js/app@beta my-app --template better-auth --renderer solid
22
+ PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app@beta 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.0-beta.101",
15
- "@farm.js/core": "0.1.0-beta.101",
14
+ "@farm.js/better-auth": "0.1.0-beta.103",
15
+ "@farm.js/core": "0.1.0-beta.103",
16
16
  "@farming-labs/docs": "0.2.111",
17
17
  "@farming-labs/farmjs": "0.2.111",
18
18
  "@farming-labs/theme": "0.2.111",
@@ -25,7 +25,7 @@
25
25
  "react-dom": "^19.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@farm.js/cli": "0.1.0-beta.101",
28
+ "@farm.js/cli": "0.1.0-beta.103",
29
29
  "@farm.js/devtools": "0.1.0-beta.1",
30
30
  "@types/node": "22.20.1",
31
31
  "@types/pg": "8.20.0",
@@ -7,7 +7,4 @@ allowBuilds:
7
7
  sharp: true
8
8
  vue-demi: true
9
9
  minimumReleaseAgeExclude:
10
- - "@farm.js/better-auth"
11
- - "@farm.js/cli"
12
- - "@farm.js/core"
13
- - "@farm.js/integration-utils"
10
+ - "@farm.js/*"
@@ -10,7 +10,7 @@ update beside ordinary React reconciliation.
10
10
  ## Create this starter
11
11
 
12
12
  ```bash
13
- pnpm --config.minimumReleaseAge=0 create @farm.js/app@beta my-compiler-app --template react-compiler
13
+ PNPM_CONFIG_DLX_CACHE_MAX_AGE=0 PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE='["@farm.js/*"]' pnpm create @farm.js/app@beta 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.0-beta.101",
15
- "@farm.js/react": "0.1.0-beta.10",
14
+ "@farm.js/core": "0.1.0-beta.103",
15
+ "@farm.js/react": "0.1.0-beta.11",
16
16
  "@farming-labs/docs": "0.2.111",
17
17
  "@farming-labs/farmjs": "0.2.111",
18
18
  "@farming-labs/theme": "0.2.111",
@@ -22,7 +22,7 @@
22
22
  "react-dom": "19.2.8"
23
23
  },
24
24
  "devDependencies": {
25
- "@farm.js/cli": "0.1.0-beta.101",
25
+ "@farm.js/cli": "0.1.0-beta.103",
26
26
  "@farm.js/devtools": "0.1.0-beta.1",
27
27
  "@playwright/test": "^1.52.0",
28
28
  "@types/react": "^19.0.0",
@@ -6,3 +6,6 @@ allowBuilds:
6
6
  esbuild: true
7
7
  sharp: true
8
8
  vue-demi: true
9
+
10
+ minimumReleaseAgeExclude:
11
+ - "@farm.js/*"