@farm.js/create-app 0.1.65 → 0.1.67

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/dist/utils.js CHANGED
@@ -9,6 +9,11 @@ const logger = {
9
9
  warn: (message) => console.warn(`${picocolors.default.yellow("⚠")} ${message}`),
10
10
  error: (message) => console.error(`${picocolors.default.red("✗")} ${message}`)
11
11
  };
12
+ function showStarInvitation(isInteractive = Boolean(process.stdout.isTTY)) {
13
+ if (!isInteractive) return;
14
+ logger.info("");
15
+ logger.info("Enjoying Farm? Star it: https://github.com/farming-labs/farm.js");
16
+ }
12
17
  function showBanner() {
13
18
  const art = [
14
19
  "░██████████ ░███ ░█████████ ░███ ░███ ░█████ ░██████",
@@ -27,5 +32,6 @@ function showBanner() {
27
32
  }
28
33
  exports.logger = logger;
29
34
  exports.showBanner = showBanner;
35
+ exports.showStarInvitation = showStarInvitation;
30
36
 
31
37
  //# sourceMappingURL=utils.js.map
package/dist/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","names":["pc"],"sources":["../src/utils.ts"],"sourcesContent":["import pc from \"picocolors\";\n\nexport const logger = {\n info: (message: string) => console.log(`${pc.blue(\"ℹ\")} ${message}`),\n success: (message: string) => console.log(`${pc.green(\"✓\")} ${message}`),\n warn: (message: string) => console.warn(`${pc.yellow(\"⚠\")} ${message}`),\n error: (message: string) => console.error(`${pc.red(\"✗\")} ${message}`),\n};\n\nexport function showBanner() {\n const art = [\n \"░██████████ ░███ ░█████████ ░███ ░███ ░█████ ░██████\",\n \"░██ ░██░██ ░██ ░██ ░████ ░████ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██\",\n \"░█████████ ░█████████ ░█████████ ░██ ░████ ░██ ░██ ░████████\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██████ ░██████\",\n ];\n\n console.log(\"\");\n for (const line of art) {\n console.log(pc.cyan(line));\n }\n console.log(\"\");\n console.log(\n pc.bold(pc.green(\"Create FARMJS App\")) + pc.dim(\" the framework for the web and agents\"),\n );\n console.log(\"\");\n}\n"],"mappings":";;;;;AAEA,MAAa,SAAS;CACpB,OAAO,YAAoB,QAAQ,IAAI,GAAGA,WAAAA,QAAG,KAAK,GAAG,EAAE,GAAG,SAAS;CACnE,UAAU,YAAoB,QAAQ,IAAI,GAAGA,WAAAA,QAAG,MAAM,GAAG,EAAE,GAAG,SAAS;CACvE,OAAO,YAAoB,QAAQ,KAAK,GAAGA,WAAAA,QAAG,OAAO,GAAG,EAAE,GAAG,SAAS;CACtE,QAAQ,YAAoB,QAAQ,MAAM,GAAGA,WAAAA,QAAG,IAAI,GAAG,EAAE,GAAG,SAAS;AACvE;AAEA,SAAgB,aAAa;CAC3B,MAAM,MAAM;EACV;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,QAAQ,IAAI,EAAE;CACd,KAAK,MAAM,QAAQ,KACjB,QAAQ,IAAIA,WAAAA,QAAG,KAAK,IAAI,CAAC;CAE3B,QAAQ,IAAI,EAAE;CACd,QAAQ,IACNA,WAAAA,QAAG,KAAKA,WAAAA,QAAG,MAAM,mBAAmB,CAAC,IAAIA,WAAAA,QAAG,IAAI,wCAAwC,CAC1F;CACA,QAAQ,IAAI,EAAE;AAChB"}
1
+ {"version":3,"file":"utils.js","names":["pc"],"sources":["../src/utils.ts"],"sourcesContent":["import pc from \"picocolors\";\n\nexport const logger = {\n info: (message: string) => console.log(`${pc.blue(\"ℹ\")} ${message}`),\n success: (message: string) => console.log(`${pc.green(\"✓\")} ${message}`),\n warn: (message: string) => console.warn(`${pc.yellow(\"⚠\")} ${message}`),\n error: (message: string) => console.error(`${pc.red(\"✗\")} ${message}`),\n};\n\nexport function showStarInvitation(isInteractive = Boolean(process.stdout.isTTY)) {\n if (!isInteractive) return;\n\n logger.info(\"\");\n logger.info(\"Enjoying Farm? Star it: https://github.com/farming-labs/farm.js\");\n}\n\nexport function showBanner() {\n const art = [\n \"░██████████ ░███ ░█████████ ░███ ░███ ░█████ ░██████\",\n \"░██ ░██░██ ░██ ░██ ░████ ░████ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██\",\n \"░█████████ ░█████████ ░█████████ ░██ ░████ ░██ ░██ ░████████\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██████ ░██████\",\n ];\n\n console.log(\"\");\n for (const line of art) {\n console.log(pc.cyan(line));\n }\n console.log(\"\");\n console.log(\n pc.bold(pc.green(\"Create FARMJS App\")) + pc.dim(\" the framework for the web and agents\"),\n );\n console.log(\"\");\n}\n"],"mappings":";;;;;AAEA,MAAa,SAAS;CACpB,OAAO,YAAoB,QAAQ,IAAI,GAAGA,WAAAA,QAAG,KAAK,GAAG,EAAE,GAAG,SAAS;CACnE,UAAU,YAAoB,QAAQ,IAAI,GAAGA,WAAAA,QAAG,MAAM,GAAG,EAAE,GAAG,SAAS;CACvE,OAAO,YAAoB,QAAQ,KAAK,GAAGA,WAAAA,QAAG,OAAO,GAAG,EAAE,GAAG,SAAS;CACtE,QAAQ,YAAoB,QAAQ,MAAM,GAAGA,WAAAA,QAAG,IAAI,GAAG,EAAE,GAAG,SAAS;AACvE;AAEA,SAAgB,mBAAmB,gBAAgB,QAAQ,QAAQ,OAAO,KAAK,GAAG;CAChF,IAAI,CAAC,eAAe;CAEpB,OAAO,KAAK,EAAE;CACd,OAAO,KAAK,iEAAiE;AAC/E;AAEA,SAAgB,aAAa;CAC3B,MAAM,MAAM;EACV;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,QAAQ,IAAI,EAAE;CACd,KAAK,MAAM,QAAQ,KACjB,QAAQ,IAAIA,WAAAA,QAAG,KAAK,IAAI,CAAC;CAE3B,QAAQ,IAAI,EAAE;CACd,QAAQ,IACNA,WAAAA,QAAG,KAAKA,WAAAA,QAAG,MAAM,mBAAmB,CAAC,IAAIA,WAAAA,QAAG,IAAI,wCAAwC,CAC1F;CACA,QAAQ,IAAI,EAAE;AAChB"}
package/dist/utils.mjs CHANGED
@@ -6,6 +6,11 @@ const logger = {
6
6
  warn: (message) => console.warn(`${pc.yellow("⚠")} ${message}`),
7
7
  error: (message) => console.error(`${pc.red("✗")} ${message}`)
8
8
  };
9
+ function showStarInvitation(isInteractive = Boolean(process.stdout.isTTY)) {
10
+ if (!isInteractive) return;
11
+ logger.info("");
12
+ logger.info("Enjoying Farm? Star it: https://github.com/farming-labs/farm.js");
13
+ }
9
14
  function showBanner() {
10
15
  const art = [
11
16
  "░██████████ ░███ ░█████████ ░███ ░███ ░█████ ░██████",
@@ -22,6 +27,6 @@ function showBanner() {
22
27
  console.log(pc.bold(pc.green("Create FARMJS App")) + pc.dim(" the framework for the web and agents"));
23
28
  console.log("");
24
29
  }
25
- export { logger, showBanner };
30
+ export { logger, showBanner, showStarInvitation };
26
31
 
27
32
  //# sourceMappingURL=utils.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.mjs","names":[],"sources":["../src/utils.ts"],"sourcesContent":["import pc from \"picocolors\";\n\nexport const logger = {\n info: (message: string) => console.log(`${pc.blue(\"ℹ\")} ${message}`),\n success: (message: string) => console.log(`${pc.green(\"✓\")} ${message}`),\n warn: (message: string) => console.warn(`${pc.yellow(\"⚠\")} ${message}`),\n error: (message: string) => console.error(`${pc.red(\"✗\")} ${message}`),\n};\n\nexport function showBanner() {\n const art = [\n \"░██████████ ░███ ░█████████ ░███ ░███ ░█████ ░██████\",\n \"░██ ░██░██ ░██ ░██ ░████ ░████ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██\",\n \"░█████████ ░█████████ ░█████████ ░██ ░████ ░██ ░██ ░████████\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██████ ░██████\",\n ];\n\n console.log(\"\");\n for (const line of art) {\n console.log(pc.cyan(line));\n }\n console.log(\"\");\n console.log(\n pc.bold(pc.green(\"Create FARMJS App\")) + pc.dim(\" the framework for the web and agents\"),\n );\n console.log(\"\");\n}\n"],"mappings":";;AAEA,MAAa,SAAS;CACpB,OAAO,YAAoB,QAAQ,IAAI,GAAG,GAAG,KAAK,GAAG,EAAE,GAAG,SAAS;CACnE,UAAU,YAAoB,QAAQ,IAAI,GAAG,GAAG,MAAM,GAAG,EAAE,GAAG,SAAS;CACvE,OAAO,YAAoB,QAAQ,KAAK,GAAG,GAAG,OAAO,GAAG,EAAE,GAAG,SAAS;CACtE,QAAQ,YAAoB,QAAQ,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,GAAG,SAAS;AACvE;AAEA,SAAgB,aAAa;CAC3B,MAAM,MAAM;EACV;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,QAAQ,IAAI,EAAE;CACd,KAAK,MAAM,QAAQ,KACjB,QAAQ,IAAI,GAAG,KAAK,IAAI,CAAC;CAE3B,QAAQ,IAAI,EAAE;CACd,QAAQ,IACN,GAAG,KAAK,GAAG,MAAM,mBAAmB,CAAC,IAAI,GAAG,IAAI,wCAAwC,CAC1F;CACA,QAAQ,IAAI,EAAE;AAChB"}
1
+ {"version":3,"file":"utils.mjs","names":[],"sources":["../src/utils.ts"],"sourcesContent":["import pc from \"picocolors\";\n\nexport const logger = {\n info: (message: string) => console.log(`${pc.blue(\"ℹ\")} ${message}`),\n success: (message: string) => console.log(`${pc.green(\"✓\")} ${message}`),\n warn: (message: string) => console.warn(`${pc.yellow(\"⚠\")} ${message}`),\n error: (message: string) => console.error(`${pc.red(\"✗\")} ${message}`),\n};\n\nexport function showStarInvitation(isInteractive = Boolean(process.stdout.isTTY)) {\n if (!isInteractive) return;\n\n logger.info(\"\");\n logger.info(\"Enjoying Farm? Star it: https://github.com/farming-labs/farm.js\");\n}\n\nexport function showBanner() {\n const art = [\n \"░██████████ ░███ ░█████████ ░███ ░███ ░█████ ░██████\",\n \"░██ ░██░██ ░██ ░██ ░████ ░████ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██\",\n \"░█████████ ░█████████ ░█████████ ░██ ░████ ░██ ░██ ░████████\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██\",\n \"░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██ ░██████ ░██████\",\n ];\n\n console.log(\"\");\n for (const line of art) {\n console.log(pc.cyan(line));\n }\n console.log(\"\");\n console.log(\n pc.bold(pc.green(\"Create FARMJS App\")) + pc.dim(\" the framework for the web and agents\"),\n );\n console.log(\"\");\n}\n"],"mappings":";;AAEA,MAAa,SAAS;CACpB,OAAO,YAAoB,QAAQ,IAAI,GAAG,GAAG,KAAK,GAAG,EAAE,GAAG,SAAS;CACnE,UAAU,YAAoB,QAAQ,IAAI,GAAG,GAAG,MAAM,GAAG,EAAE,GAAG,SAAS;CACvE,OAAO,YAAoB,QAAQ,KAAK,GAAG,GAAG,OAAO,GAAG,EAAE,GAAG,SAAS;CACtE,QAAQ,YAAoB,QAAQ,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,GAAG,SAAS;AACvE;AAEA,SAAgB,mBAAmB,gBAAgB,QAAQ,QAAQ,OAAO,KAAK,GAAG;CAChF,IAAI,CAAC,eAAe;CAEpB,OAAO,KAAK,EAAE;CACd,OAAO,KAAK,iEAAiE;AAC/E;AAEA,SAAgB,aAAa;CAC3B,MAAM,MAAM;EACV;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,QAAQ,IAAI,EAAE;CACd,KAAK,MAAM,QAAQ,KACjB,QAAQ,IAAI,GAAG,KAAK,IAAI,CAAC;CAE3B,QAAQ,IAAI,EAAE;CACd,QAAQ,IACN,GAAG,KAAK,GAAG,MAAM,mBAAmB,CAAC,IAAI,GAAG,IAAI,wCAAwC,CAC1F;CACA,QAAQ,IAAI,EAAE;AAChB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm.js/create-app",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
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.65",
14
+ "@farm.js/core": "0.1.67",
15
15
  "@farm.js/preact": "0.1.0-beta.37",
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.6.7"
20
20
  },
21
21
  "devDependencies": {
22
- "@farm.js/cli": "0.1.65",
23
- "@farm.js/devtools": "0.1.65",
22
+ "@farm.js/cli": "0.1.67",
23
+ "@farm.js/devtools": "0.1.67",
24
24
  "@tailwindcss/vite": "^4.3.3",
25
25
  "tailwindcss": "^4.0.0",
26
26
  "typescript": "^5.3.3"
@@ -10,7 +10,7 @@
10
10
  "type-check": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@farm.js/core": "0.1.65",
13
+ "@farm.js/core": "0.1.67",
14
14
  "@farm.js/solid": "0.1.0-beta.34",
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.6.7"
19
19
  },
20
20
  "devDependencies": {
21
- "@farm.js/cli": "0.1.65",
22
- "@farm.js/devtools": "0.1.65",
21
+ "@farm.js/cli": "0.1.67",
22
+ "@farm.js/devtools": "0.1.67",
23
23
  "@tailwindcss/vite": "^4.3.3",
24
24
  "tailwindcss": "^4.0.0",
25
25
  "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.65",
14
+ "@farm.js/core": "0.1.67",
15
15
  "@farm.js/svelte": "0.1.0-beta.36",
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.6.7"
20
20
  },
21
21
  "devDependencies": {
22
- "@farm.js/cli": "0.1.65",
23
- "@farm.js/devtools": "0.1.65",
22
+ "@farm.js/cli": "0.1.67",
23
+ "@farm.js/devtools": "0.1.67",
24
24
  "@tailwindcss/vite": "^4.3.3",
25
25
  "svelte-check": "4.7.5",
26
26
  "tailwindcss": "^4.0.0",
@@ -10,7 +10,7 @@
10
10
  "type-check": "vue-tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@farm.js/core": "0.1.65",
13
+ "@farm.js/core": "0.1.67",
14
14
  "@farm.js/vue": "0.1.0-beta.34",
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.6.7"
19
19
  },
20
20
  "devDependencies": {
21
- "@farm.js/cli": "0.1.65",
22
- "@farm.js/devtools": "0.1.65",
21
+ "@farm.js/cli": "0.1.67",
22
+ "@farm.js/devtools": "0.1.67",
23
23
  "@tailwindcss/vite": "^4.3.3",
24
24
  "tailwindcss": "^4.0.0",
25
25
  "typescript": "^5.3.3",
@@ -12,8 +12,8 @@
12
12
  "type-check": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@farm.js/auth": "0.1.65",
16
- "@farm.js/core": "0.1.65",
15
+ "@farm.js/auth": "0.1.67",
16
+ "@farm.js/core": "0.1.67",
17
17
  "@farming-labs/docs": "0.2.143",
18
18
  "@farming-labs/farmjs": "0.2.143",
19
19
  "@farming-labs/theme": "0.2.143",
@@ -24,8 +24,8 @@
24
24
  "react-dom": "^19.0.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@farm.js/cli": "0.1.65",
28
- "@farm.js/devtools": "0.1.65",
27
+ "@farm.js/cli": "0.1.67",
28
+ "@farm.js/devtools": "0.1.67",
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.65",
13
+ "@farm.js/core": "0.1.67",
14
14
  "@farming-labs/docs": "0.2.143",
15
15
  "@farming-labs/farmjs": "0.2.143",
16
16
  "@farming-labs/theme": "0.2.143",
@@ -20,8 +20,8 @@
20
20
  "react-dom": "^19.0.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@farm.js/cli": "0.1.65",
24
- "@farm.js/devtools": "0.1.65",
23
+ "@farm.js/cli": "0.1.67",
24
+ "@farm.js/devtools": "0.1.67",
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.65",
16
- "@farm.js/core": "0.1.65",
15
+ "@farm.js/better-auth": "0.1.67",
16
+ "@farm.js/core": "0.1.67",
17
17
  "@farming-labs/docs": "0.2.143",
18
18
  "@farming-labs/farmjs": "0.2.143",
19
19
  "@farming-labs/theme": "0.2.143",
@@ -26,8 +26,8 @@
26
26
  "react-dom": "^19.0.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@farm.js/cli": "0.1.65",
30
- "@farm.js/devtools": "0.1.65",
29
+ "@farm.js/cli": "0.1.67",
30
+ "@farm.js/devtools": "0.1.67",
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.65",
15
- "@farm.js/react": "0.1.0-beta.39",
14
+ "@farm.js/core": "0.1.67",
15
+ "@farm.js/react": "0.1.0-beta.40",
16
16
  "@farming-labs/docs": "0.2.143",
17
17
  "@farming-labs/farmjs": "0.2.143",
18
18
  "@farming-labs/theme": "0.2.143",
@@ -22,8 +22,8 @@
22
22
  "react-dom": "19.2.8"
23
23
  },
24
24
  "devDependencies": {
25
- "@farm.js/cli": "0.1.65",
26
- "@farm.js/devtools": "0.1.65",
25
+ "@farm.js/cli": "0.1.67",
26
+ "@farm.js/devtools": "0.1.67",
27
27
  "@playwright/test": "^1.52.0",
28
28
  "@tailwindcss/vite": "^4.3.3",
29
29
  "@types/node": "22.20.1",