3 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
Gregor Lohaus
7cd943cced remove solid readme
All checks were successful
Publish npm package / publish (push) Successful in 24s
2026-05-24 15:41:50 +02:00
Gregor Lohaus
0016e2104c fix missing app.css in svelte template 2026-05-24 15:41:18 +02:00
6 changed files with 10 additions and 37 deletions

View File

@@ -6,7 +6,7 @@
"name": "glstack",
"dependencies": {
"@clack/prompts": "^1.2.0",
"@gregorlohaus/tdir": "^0.1.4",
"@gregorlohaus/tdir": "^0.2.0",
"zod": "^4.3.6",
},
"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=="],
"@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=="],

View File

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

View File

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

View File

@@ -1,32 +0,0 @@
# SolidStart
Everything you need to build a Solid project, powered by [`solid-start`](https://start.solidjs.com);
## Creating a project
```bash
# create a new project in the current directory
npm init solid@latest
# create a new project in my-app
npm init solid@latest my-app
```
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
Solid apps are built with _presets_, which optimise your project for deployment to different environments.
By default, `npm run build` will generate a Node app that you can run with `npm start`. To use a different preset, add it to the `devDependencies` in `package.json` and specify in your `app.config.js`.
## This project was created with the [Solid CLI](https://github.com/solidjs-community/solid-cli)

View File

@@ -0,0 +1 @@
import @tailwindcss;

View File

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