@shivaedev/create-app 0.11.24 → 0.13.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/CHANGELOG.md +37 -0
- package/README.md +4 -0
- package/dist/cli.js +85 -82
- package/dist/createApp.d.ts +3 -2
- package/dist/createApp.d.ts.map +1 -1
- package/dist/createApp.js +7 -17
- package/dist/createApp.js.map +1 -1
- package/dist/generation.d.ts +21 -0
- package/dist/generation.d.ts.map +1 -0
- package/dist/generation.js +31 -0
- package/dist/generation.js.map +1 -0
- package/dist/historicalTemplate.d.ts +6 -0
- package/dist/historicalTemplate.d.ts.map +1 -0
- package/dist/historicalTemplate.js +17 -0
- package/dist/historicalTemplate.js.map +1 -0
- package/dist/packTemplate.js +3 -3
- package/dist/packTemplate.js.map +1 -1
- package/dist/runProcess.d.ts +10 -0
- package/dist/runProcess.d.ts.map +1 -0
- package/dist/runProcess.js +19 -0
- package/dist/runProcess.js.map +1 -0
- package/dist/starterPatch.d.ts +12 -0
- package/dist/starterPatch.d.ts.map +1 -0
- package/dist/starterPatch.js +36 -0
- package/dist/starterPatch.js.map +1 -0
- package/dist/template.js +2 -2
- package/dist/template.js.map +1 -1
- package/dist/updateApp.d.ts +4 -0
- package/dist/updateApp.d.ts.map +1 -0
- package/dist/updateApp.js +36 -0
- package/dist/updateApp.js.map +1 -0
- package/package.json +13 -8
- package/src/cli.ts +12 -4
- package/src/createApp.ts +12 -18
- package/src/generation.ts +35 -0
- package/src/historicalTemplate.ts +17 -0
- package/src/packTemplate.ts +3 -3
- package/src/runProcess.ts +25 -0
- package/src/starterPatch.ts +43 -0
- package/src/template.ts +2 -2
- package/src/updateApp.ts +40 -0
- package/template.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.0 - 2026-10-25
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Generated apps record their generator version and can run `create-app update` in a clean Git repository to merge later starter changes, preserve app edits and deletions, and leave listed conflicts for manual resolution without committing.
|
|
8
|
+
- Migration options accept schema components beside the numbered loader. Components apply after the ledger commits and report pending work through the same readiness check and host wait loop.
|
|
9
|
+
- `pgBossSchema` registers pg-boss installation and upgrades as a schema component, reporting the schema's installed and required versions.
|
|
10
|
+
- Quality provides a React application TypeScript preset, shared Vite and Vitest configuration helpers, application hook setup, and the shared application CI command.
|
|
11
|
+
- Platform provides configured local database preparation and a development runner for the server, worker and Vite processes.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Generated apps migrate pg-boss through their migration list and start producers and workers with schema migration disabled.
|
|
16
|
+
- Generated apps reference their packages’ foundation configuration and helpers so dependency updates carry shared fixes into existing apps.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Migration-step controllers capture schema-component services when constructed, keeping subsequent migration calls free of external service requirements.
|
|
21
|
+
|
|
22
|
+
## 0.12.0 - 2026-10-24
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Contracts expose `application`, a native RPC group for building application handlers without naming the reserved `$changes` stream. Middleware stays attached, and Platform hosts complete the full contract with the stream handler.
|
|
27
|
+
- Generated applications build their handlers through the contract's `application` group.
|
|
28
|
+
- Quality recognizes client, server and numbered migration folders inside application modules, preserving their runtime boundaries.
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- Require Effect and its companion packages at exactly 4.0.5. Generated applications use the same versions.
|
|
33
|
+
- New apps get the notes example as one removable module and fresh migrations. Apps already generated are unaffected.
|
|
34
|
+
- Generate apps with Railway 3.16.0.
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- Generated apps install the queue schema before publishing application migrations, so workers started before deployment wait for all required schema work.
|
|
39
|
+
|
|
3
40
|
## 0.11.24 - 2026-10-24
|
|
4
41
|
|
|
5
42
|
### Changed
|
package/README.md
CHANGED
|
@@ -30,8 +30,12 @@ A generated app gets a README titled with its name, its own framework guidance i
|
|
|
30
30
|
|
|
31
31
|
When Git is available and the destination is outside an existing repository, the command initializes a repository before setup and commits the generated files and installed lockfile afterward. The first commit runs Quality's lint and typecheck gates; a failed gate leaves it uncommitted. It uses your Git identity, with a local commit identity when none is configured. Pass `--no-git` to skip repository creation. A generated app includes a GitHub Actions workflow that runs `pnpm run ci` against PostgreSQL and a `.railway/railway.ts` that defines PostgreSQL, builds the web and worker services, runs migrations before deployment, starts both processes and checks `/health` on the web service.
|
|
32
32
|
|
|
33
|
+
Generated apps reference Quality’s app TypeScript preset and Vite and test helpers, its hook setup and CI command, and Platform’s local database and development helpers. Their shared behavior comes from installed packages, so fixes reach existing apps with a dependency update. The app keeps its plugins, paths, environment, migration composition, CI workflow and deployment resources.
|
|
34
|
+
|
|
33
35
|
Run `pnpm run setup` after cloning the generated repository to install dependencies and the hook for that checkout. Run `pnpm ready` for the full local gate: lint, typecheck, build and tests, using the same script as CI.
|
|
34
36
|
|
|
35
37
|
`pnpm dev` first runs `pnpm db:setup` to prepare both databases through `@shivaedev/local-postgres`. Have local PostgreSQL 18.6 on port 55432 or Docker available; see [local-postgres machine setup](https://github.com/ShivaeDev/platform/tree/main/packages/local-postgres#install-and-machine-setup). `pnpm test` loads `TEST_DATABASE_URL` from `.env.local`.
|
|
36
38
|
|
|
39
|
+
Run `pnpm dlx @shivaedev/create-app@latest update` in a generated app with a clean Git working tree to take later starter changes. The command reads `.create-app.json`, downloads the recorded generator’s starter and uses Git’s three-way merge to replay its changes against the current starter; app edits survive, deleted files stay deleted, and conflicts are listed and left for you to resolve. A successful merge records the current generator version; review the changes, run `pnpm install` and commit them yourself.
|
|
40
|
+
|
|
37
41
|
The command also supports `--help` and `--version`. See the [framework quickstart](https://github.com/ShivaeDev/platform/blob/main/docs/framework/quickstart.md) for the starter's application and deployment workflow.
|