1 Commits

Author SHA1 Message Date
Gregor Lohaus
7923514c5c no js dev process for web frontend none
All checks were successful
Publish npm package / publish (push) Successful in 19s
2026-05-24 16:26:36 +02:00
4 changed files with 9 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
"name": "glstack", "name": "glstack",
"dependencies": { "dependencies": {
"@clack/prompts": "^1.2.0", "@clack/prompts": "^1.2.0",
"@gregorlohaus/tdir": "^0.1.4", "@gregorlohaus/tdir": "^0.2.0",
"zod": "^4.3.6", "zod": "^4.3.6",
}, },
"devDependencies": { "devDependencies": {
@@ -22,7 +22,7 @@
"@clack/prompts": ["@clack/prompts@1.2.0", "", { "dependencies": { "@clack/core": "1.2.0", "fast-string-width": "^1.1.0", "fast-wrap-ansi": "^0.1.3", "sisteransi": "^1.0.5" } }, "sha512-4jmztR9fMqPMjz6H/UZXj0zEmE43ha1euENwkckKKel4XpSfokExPo5AiVStdHSAlHekz4d0CA/r45Ok1E4D3w=="], "@clack/prompts": ["@clack/prompts@1.2.0", "", { "dependencies": { "@clack/core": "1.2.0", "fast-string-width": "^1.1.0", "fast-wrap-ansi": "^0.1.3", "sisteransi": "^1.0.5" } }, "sha512-4jmztR9fMqPMjz6H/UZXj0zEmE43ha1euENwkckKKel4XpSfokExPo5AiVStdHSAlHekz4d0CA/r45Ok1E4D3w=="],
"@gregorlohaus/tdir": ["@gregorlohaus/tdir@0.1.4", "", { "peerDependencies": { "zod": "^4" }, "bin": { "tdir": "dist/cli.js" } }, "sha512-etrMNRSf04TIxj6qoKBTM+eLA/xmFN0yovFqE5aJLUdq653ceRM9uWW7XB7iSHs89STQ442Q0ouTMaTGxrkIUg=="], "@gregorlohaus/tdir": ["@gregorlohaus/tdir@0.2.0", "", { "peerDependencies": { "zod": "^4" }, "bin": { "tdir": "dist/cli.js" } }, "sha512-LwISQC7iARezu7SQZJk9TV8Sqp8I/fVMssH18lWL1KD/ETpWp2LwwTzm/j9aWcs+Eo5OBQctbqFTafo9Nfue+A=="],
"@types/bun": ["@types/bun@1.3.11", "", { "dependencies": { "bun-types": "1.3.11" } }, "sha512-5vPne5QvtpjGpsGYXiFyycfpDF2ECyPcTSsFBMa0fraoxiQyMJ3SmuQIGhzPg2WJuWxVBoxWJ2kClYTcw/4fAg=="], "@types/bun": ["@types/bun@1.3.11", "", { "dependencies": { "bun-types": "1.3.11" } }, "sha512-5vPne5QvtpjGpsGYXiFyycfpDF2ECyPcTSsFBMa0fraoxiQyMJ3SmuQIGhzPg2WJuWxVBoxWJ2kClYTcw/4fAg=="],

View File

@@ -62,7 +62,9 @@ const s = p.spinner();
s.start("Installing dependencies"); s.start("Installing dependencies");
await Bun.$`bun install`.cwd(path.join(destDir)).quiet(); await Bun.$`bun install`.cwd(path.join(destDir)).quiet();
await Bun.$`bun install`.cwd(path.join(destDir,'packages','rpc')).quiet(); await Bun.$`bun install`.cwd(path.join(destDir,'packages','rpc')).quiet();
await Bun.$`bun install`.cwd(path.join(destDir,'apps','web')).quiet(); if (project.frontend !== "none") {
await Bun.$`bun install`.cwd(path.join(destDir,'apps','web')).quiet();
}
s.stop("Dependencies installed."); s.stop("Dependencies installed.");
p.outro("You're all set!"); p.outro("You're all set!");

View File

@@ -1,6 +1,6 @@
{ {
"name": "create-glstack", "name": "create-glstack",
"version": "0.0.6", "version": "0.0.7",
"type": "module", "type": "module",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@@ -22,7 +22,7 @@
}, },
"dependencies": { "dependencies": {
"@clack/prompts": "^1.2.0", "@clack/prompts": "^1.2.0",
"@gregorlohaus/tdir": "^0.1.4", "@gregorlohaus/tdir": "^0.2.0",
"zod": "^4.3.6" "zod": "^4.3.6"
} }
} }

View File

@@ -49,10 +49,12 @@
cwd = "./services/api"; cwd = "./services/api";
after= ["devenv:processes:air@started"]; after= ["devenv:processes:air@started"];
}; };
<@if(neq(context.project.frontend,"none"))>
bundev = { bundev = {
exec = "bun dev"; exec = "bun dev";
cwd = "./apps/web"; cwd = "./apps/web";
after= ["devenv:processes:air@started"]; after= ["devenv:processes:air@started"];
}; };
<@endif>
}; };
} }