0.0.9
Publish npm package / publish (push) Successful in 26s

version bump
This commit is contained in:
2026-10-08 09:42:06 +02:00
parent 8e3abca9d7
commit 2fab51878f
26 changed files with 342 additions and 175 deletions
+5 -4
View File
@@ -6,6 +6,7 @@ Supported web frontends:
- [SvelteKit](https://kit.svelte.dev/)
- [Solid Start](https://start.solidjs.com/)
- [Nuxt](https://nuxt.com/)
Supported mobile frontends:
@@ -20,7 +21,7 @@ bun create glstack
The CLI asks for:
- **Project name** -- lowercase letters, digits and dashes; used for the directory, the database and the `@<name>/rpc` package. An existing non-empty directory is never overwritten
- **Web frontend** -- SvelteKit, Solid Start or none
- **Web frontend** -- SvelteKit, Solid Start, Nuxt or none
- **Mobile frontend** -- React Native + Expo or none
- **Bundle identifier** (Expo only) -- reverse-DNS id used as both the iOS bundle identifier and the Android package, e.g. `com.example.app`
- **Go package prefix** -- e.g. `github.com/you`, giving the module path `github.com/you/<name>`
@@ -31,7 +32,7 @@ The CLI asks for:
A monorepo with the following structure:
- **`services/api`** -- Go backend using [Cobra](https://github.com/spf13/cobra) for CLI, [pgx](https://github.com/jackc/pgx) for Postgres, and [Connect RPC](https://connectrpc.com/) for the API layer
- **`apps/web`** -- Web frontend app (SvelteKit or Solid Start)
- **`apps/web`** -- Web frontend app (SvelteKit, Solid Start or Nuxt)
- **`apps/mobile`** -- Optional [React Native + Expo](https://expo.dev/) mobile app sharing the same RPC client
- **`packages/proto`** -- Protobuf service definitions with [Buf](https://buf.build/) for codegen (Go + TypeScript)
- **`packages/rpc`** -- Generated TypeScript Connect RPC client shared across frontend apps
@@ -64,7 +65,7 @@ The app reaches the API at `127.0.0.1:8080` everywhere: the iOS simulator shares
The example apps poll the API every 2 seconds, so a change made on one device or in the web app shows up on the others.
The native `ios/` and `android/` folders are generated from `app.json` and not committed. After changing native config or upgrading Expo, delete them and they are regenerated on the next run.
The native `ios/` and `android/` folders are generated from `app.json` and not committed. After changing native config or upgrading Expo, delete them and they are regenerated on the next run. The same applies when a native build can't find files under `node_modules`: the folders hold absolute paths into `node_modules` from when they were generated.
#### iOS on macOS
@@ -81,7 +82,7 @@ CocoaPods comes from Nix. The iOS build uses `/Applications/Xcode.app` (or the X
### Starter example
The generated project includes a working Todo CRUD example wired end-to-end: protobuf schema, Go service implementation, SQL queries, and frontend UI. In the mobile app, rows animate into place with [Reanimated](https://docs.swmansion.com/react-native-reanimated/) when a todo is checked off and the list re-sorts.
The generated project includes a working Todo CRUD example wired end-to-end: protobuf schema, Go service implementation, SQL queries, and frontend UI. When a todo is checked off and the list re-sorts, rows animate into place: with [Reanimated](https://docs.swmansion.com/react-native-reanimated/) in the mobile app and the [GSAP](https://gsap.com/) Flip plugin in the web apps.
## License