@farm.js/create-app 0.1.34 → 0.1.36

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": "@farm.js/create-app",
3
- "version": "0.1.34",
3
+ "version": "0.1.36",
4
4
  "description": "Create a new FARMJS application",
5
5
  "keywords": [
6
6
  "@farm.js/create-app",
@@ -11,7 +11,7 @@
11
11
  "type-check": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/core": "0.1.34",
14
+ "@farm.js/core": "0.1.36",
15
15
  "@farm.js/preact": "0.1.0-beta.33",
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.34",
23
- "@farm.js/devtools": "0.1.34",
22
+ "@farm.js/cli": "0.1.36",
23
+ "@farm.js/devtools": "0.1.36",
24
24
  "@tailwindcss/vite": "^4.3.3",
25
25
  "tailwindcss": "^4.0.0",
26
26
  "typescript": "^5.3.3"
@@ -78,6 +78,14 @@ export default function HomePage() {
78
78
  .md, is listed in /llms.txt, and carries JSON-LD and Open Graph from your metadata.
79
79
  </p>
80
80
  </li>
81
+ <li>
82
+ <span>05</span>
83
+ <p>
84
+ <strong>Server functions.</strong> src/app/api/greeting/route.ts runs only on the
85
+ server. The button above calls it through a typed client, so a change to its input
86
+ or output shows up as a type error here.
87
+ </p>
88
+ </li>
81
89
  </ul>
82
90
 
83
91
  <ResourceLinks className="resource-links" />
@@ -10,7 +10,7 @@
10
10
  "type-check": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@farm.js/core": "0.1.34",
13
+ "@farm.js/core": "0.1.36",
14
14
  "@farm.js/solid": "0.1.0-beta.30",
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.34",
22
- "@farm.js/devtools": "0.1.34",
21
+ "@farm.js/cli": "0.1.36",
22
+ "@farm.js/devtools": "0.1.36",
23
23
  "@tailwindcss/vite": "^4.3.3",
24
24
  "tailwindcss": "^4.0.0",
25
25
  "typescript": "^5.3.3"
@@ -68,6 +68,14 @@ export default function HomePage() {
68
68
  .md, is listed in /llms.txt, and carries JSON-LD and Open Graph from your metadata.
69
69
  </p>
70
70
  </li>
71
+ <li>
72
+ <span>05</span>
73
+ <p>
74
+ <strong>Server functions.</strong> src/app/api/greeting/route.ts runs only on the
75
+ server. The button above calls it through a typed client, so a change to its input
76
+ or output shows up as a type error here.
77
+ </p>
78
+ </li>
71
79
  </ul>
72
80
 
73
81
  <ResourceLinks className="resource-links" />
@@ -11,7 +11,7 @@
11
11
  "type-check": "svelte-check --tsconfig ./tsconfig.json"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/core": "0.1.34",
14
+ "@farm.js/core": "0.1.36",
15
15
  "@farm.js/svelte": "0.1.0-beta.34",
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.34",
23
- "@farm.js/devtools": "0.1.34",
22
+ "@farm.js/cli": "0.1.36",
23
+ "@farm.js/devtools": "0.1.36",
24
24
  "@tailwindcss/vite": "^4.3.3",
25
25
  "svelte-check": "4.7.5",
26
26
  "tailwindcss": "^4.0.0",
@@ -71,6 +71,10 @@
71
71
  <span>04</span>
72
72
  <p><strong>Agent-ready.</strong> Every page also answers as Markdown at its URL plus .md, is listed in /llms.txt, and carries JSON-LD and Open Graph from your metadata.</p>
73
73
  </li>
74
+ <li>
75
+ <span>05</span>
76
+ <p><strong>Server functions.</strong> src/app/api/greeting/route.ts runs only on the server. The button above calls it through a typed client, so a change to its input or output shows up as a type error here.</p>
77
+ </li>
74
78
  </ul>
75
79
 
76
80
  <ResourceLinks class="resource-links" />
@@ -10,7 +10,7 @@
10
10
  "type-check": "vue-tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@farm.js/core": "0.1.34",
13
+ "@farm.js/core": "0.1.36",
14
14
  "@farm.js/vue": "0.1.0-beta.32",
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.34",
22
- "@farm.js/devtools": "0.1.34",
21
+ "@farm.js/cli": "0.1.36",
22
+ "@farm.js/devtools": "0.1.36",
23
23
  "@tailwindcss/vite": "^4.3.3",
24
24
  "tailwindcss": "^4.0.0",
25
25
  "typescript": "^5.3.3",
@@ -82,6 +82,14 @@ async function callServer() {
82
82
  is listed in /llms.txt, and carries JSON-LD and Open Graph from your metadata.
83
83
  </p>
84
84
  </li>
85
+ <li>
86
+ <span>05</span>
87
+ <p>
88
+ <strong>Server functions.</strong> src/app/api/greeting/route.ts runs only on the
89
+ server. The button above calls it through a typed client, so a change to its input or
90
+ output shows up as a type error here.
91
+ </p>
92
+ </li>
85
93
  </ul>
86
94
 
87
95
  <ResourceLinks class="resource-links" />
@@ -1,4 +1,5 @@
1
- # FARMJS Auth needs no environment variables in local development.
1
+ # FARMJS Auth needs no environment variables in local development; it generates
2
+ # a random secret in .farm/auth-secret.
2
3
  # Configure these values in the production deployment environment.
3
4
 
4
5
  # FARM_AUTH_URL=https://your-app.example.com
@@ -27,7 +27,8 @@ pnpm dev
27
27
 
28
28
  Open [http://localhost:3000](http://localhost:3000), create an account, and continue to the
29
29
  protected dashboard. Local development needs no database or auth environment variables; FARMJS Auth
30
- creates and migrates `.farm/auth.sqlite` when auth is first used.
30
+ creates and migrates `.farm/auth.sqlite` and generates a random secret in `.farm/auth-secret` when auth
31
+ is first used.
31
32
 
32
33
  ## How it is wired
33
34
 
@@ -12,8 +12,8 @@
12
12
  "type-check": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@farm.js/auth": "0.1.34",
16
- "@farm.js/core": "0.1.34",
15
+ "@farm.js/auth": "0.1.36",
16
+ "@farm.js/core": "0.1.36",
17
17
  "@farming-labs/docs": "0.2.127",
18
18
  "@farming-labs/farmjs": "0.2.127",
19
19
  "@farming-labs/theme": "0.2.127",
@@ -24,8 +24,8 @@
24
24
  "react-dom": "^19.0.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@farm.js/cli": "0.1.34",
28
- "@farm.js/devtools": "0.1.34",
27
+ "@farm.js/cli": "0.1.36",
28
+ "@farm.js/devtools": "0.1.36",
29
29
  "@tailwindcss/vite": "^4.3.3",
30
30
  "@types/node": "22.20.1",
31
31
  "@types/react": "^19.0.0",
@@ -10,7 +10,7 @@
10
10
  "type-check": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@farm.js/core": "0.1.34",
13
+ "@farm.js/core": "0.1.36",
14
14
  "@farming-labs/docs": "0.2.127",
15
15
  "@farming-labs/farmjs": "0.2.127",
16
16
  "@farming-labs/theme": "0.2.127",
@@ -20,8 +20,8 @@
20
20
  "react-dom": "^19.0.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@farm.js/cli": "0.1.34",
24
- "@farm.js/devtools": "0.1.34",
23
+ "@farm.js/cli": "0.1.36",
24
+ "@farm.js/devtools": "0.1.36",
25
25
  "@tailwindcss/vite": "^4.3.3",
26
26
  "@types/react": "^19.0.0",
27
27
  "@types/react-dom": "^19.0.0",
@@ -12,8 +12,8 @@
12
12
  "type-check": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@farm.js/better-auth": "0.1.34",
16
- "@farm.js/core": "0.1.34",
15
+ "@farm.js/better-auth": "0.1.36",
16
+ "@farm.js/core": "0.1.36",
17
17
  "@farming-labs/docs": "0.2.127",
18
18
  "@farming-labs/farmjs": "0.2.127",
19
19
  "@farming-labs/theme": "0.2.127",
@@ -26,8 +26,8 @@
26
26
  "react-dom": "^19.0.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@farm.js/cli": "0.1.34",
30
- "@farm.js/devtools": "0.1.34",
29
+ "@farm.js/cli": "0.1.36",
30
+ "@farm.js/devtools": "0.1.36",
31
31
  "@tailwindcss/vite": "^4.3.3",
32
32
  "@types/node": "22.20.1",
33
33
  "@types/pg": "8.20.0",
@@ -11,8 +11,8 @@
11
11
  "type-check": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@farm.js/core": "0.1.34",
15
- "@farm.js/react": "0.1.0-beta.30",
14
+ "@farm.js/core": "0.1.36",
15
+ "@farm.js/react": "0.1.0-beta.31",
16
16
  "@farming-labs/docs": "0.2.127",
17
17
  "@farming-labs/farmjs": "0.2.127",
18
18
  "@farming-labs/theme": "0.2.127",
@@ -22,8 +22,8 @@
22
22
  "react-dom": "19.2.8"
23
23
  },
24
24
  "devDependencies": {
25
- "@farm.js/cli": "0.1.34",
26
- "@farm.js/devtools": "0.1.34",
25
+ "@farm.js/cli": "0.1.36",
26
+ "@farm.js/devtools": "0.1.36",
27
27
  "@playwright/test": "^1.52.0",
28
28
  "@tailwindcss/vite": "^4.3.3",
29
29
  "@types/node": "22.20.1",