create-guren-app 1.13.3 → 1.14.0
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/cli.js
CHANGED
|
@@ -1945,6 +1945,10 @@ runMain(defineCommand({
|
|
|
1945
1945
|
type: "boolean",
|
|
1946
1946
|
description: "Include authentication scaffolding with auto-configured providers and middleware"
|
|
1947
1947
|
},
|
|
1948
|
+
prototype: {
|
|
1949
|
+
type: "boolean",
|
|
1950
|
+
description: "Install prototype mode (RFC 0021): a fixture module and a static, server-less build for customer walkthroughs"
|
|
1951
|
+
},
|
|
1948
1952
|
blueprint: {
|
|
1949
1953
|
type: "string",
|
|
1950
1954
|
description: `Starter blueprint to scaffold (${listAppBlueprints().join(", ")})`
|
|
@@ -1996,6 +2000,15 @@ runMain(defineCommand({
|
|
|
1996
2000
|
const shouldInstall = args.install !== false;
|
|
1997
2001
|
let installed = false;
|
|
1998
2002
|
if (shouldInstall) installed = await installDependencies(targetDir);
|
|
2003
|
+
if (args.prototype && blueprint.name !== "api") {
|
|
2004
|
+
let prototypeInstalled = false;
|
|
2005
|
+
if (installed) {
|
|
2006
|
+
consola.start("Installing prototype mode...");
|
|
2007
|
+
prototypeInstalled = await runAppCli(targetDir, ["add", "prototype"]);
|
|
2008
|
+
if (prototypeInstalled) consola.success("Prototype mode installed: bun run dev:prototype / bun run build:prototype");
|
|
2009
|
+
}
|
|
2010
|
+
if (!prototypeInstalled) consola.warn("Prototype mode was not installed automatically. Run `bunx guren add prototype` inside the app after installing dependencies.");
|
|
2011
|
+
} else if (args.prototype) consola.info("The api blueprint has no pages to prototype — ignoring --prototype.");
|
|
1999
2012
|
if (agents === null) consola.info("Skipping the AI agent harness. Add it later with `bunx guren agent:init --target <agents>`.");
|
|
2000
2013
|
else {
|
|
2001
2014
|
const targetList = agents.join(",");
|
package/package.json
CHANGED
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"test": "bun test"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@guren/cli": "^2.
|
|
24
|
-
"@guren/core": "^1.
|
|
25
|
-
"@guren/orm": "^2.7.
|
|
23
|
+
"@guren/cli": "^2.20.0",
|
|
24
|
+
"@guren/core": "^1.16.0",
|
|
25
|
+
"@guren/orm": "^2.7.1",
|
|
26
26
|
"drizzle-orm": "1.0.0-rc.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@guren/testing": "^1.
|
|
29
|
+
"@guren/testing": "^1.10.0",
|
|
30
30
|
"bun-types": "^1.3.1",
|
|
31
31
|
"drizzle-kit": "1.0.0-rc.4",
|
|
32
32
|
"oxlint": "~1.81.0",
|
|
33
|
-
"typescript": "^
|
|
33
|
+
"typescript": "^7.0.2"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"db:seed": "bunx guren db:seed"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@guren/cli": "^2.
|
|
25
|
-
"@guren/core": "^1.
|
|
26
|
-
"@guren/inertia-client": "^1.
|
|
27
|
-
"@guren/orm": "^2.7.
|
|
24
|
+
"@guren/cli": "^2.20.0",
|
|
25
|
+
"@guren/core": "^1.16.0",
|
|
26
|
+
"@guren/inertia-client": "^1.2.0",
|
|
27
|
+
"@guren/orm": "^2.7.1",
|
|
28
28
|
"@inertiajs/react": "^3.6.1",
|
|
29
29
|
"drizzle-orm": "1.0.0-rc.4",
|
|
30
30
|
"react": "^19.0.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"zod": "^4.5.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@guren/testing": "^1.
|
|
35
|
+
"@guren/testing": "^1.10.0",
|
|
36
36
|
"@tailwindcss/vite": "^4.2.2",
|
|
37
37
|
"@types/react": "^19.0.0",
|
|
38
38
|
"@types/react-dom": "^19.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"mermaid": "^11.0.0",
|
|
43
43
|
"oxlint": "~1.81.0",
|
|
44
44
|
"tailwindcss": "^4.2.2",
|
|
45
|
-
"typescript": "^
|
|
45
|
+
"typescript": "^7.0.2",
|
|
46
46
|
"vite": "^8.0.0"
|
|
47
47
|
}
|
|
48
48
|
}
|