@shivaedev/create-app 0.35.0 → 0.37.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 +30 -0
- package/README.md +5 -1
- package/dist/cli.js +48 -45
- package/dist/packTemplate.js +1 -1
- package/dist/packTemplate.js.map +1 -1
- package/dist/runProcess.d.ts +3 -3
- package/dist/runProcess.d.ts.map +1 -1
- package/dist/runProcess.js +6 -5
- package/dist/runProcess.js.map +1 -1
- package/dist/starterPatch.d.ts +4 -0
- package/dist/starterPatch.d.ts.map +1 -1
- package/dist/starterPatch.js +17 -5
- package/dist/starterPatch.js.map +1 -1
- package/dist/template.d.ts +2 -0
- package/dist/template.d.ts.map +1 -1
- package/dist/template.js +3 -0
- package/dist/template.js.map +1 -1
- package/dist/updateApp.d.ts +1 -1
- package/dist/updateApp.d.ts.map +1 -1
- package/dist/updateApp.js +33 -18
- package/dist/updateApp.js.map +1 -1
- package/dist/updateChecks.d.ts +1 -1
- package/dist/updateChecks.d.ts.map +1 -1
- package/dist/updateChecks.js +7 -4
- package/dist/updateChecks.js.map +1 -1
- package/package.json +4 -4
- package/src/packTemplate.ts +1 -1
- package/src/runProcess.ts +11 -5
- package/src/starterPatch.ts +18 -6
- package/src/template.ts +3 -0
- package/src/updateApp.ts +40 -18
- package/src/updateChecks.ts +7 -4
- package/template.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.37.0 - 2026-11-02
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Generated apps select and sync the story-testing skill from `@shivaedev/skills`, link their agent guide to the local copy and check managed skills during lint.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Refresh the application's lockfile during `create-app update` even when CI freezes installs by default.
|
|
12
|
+
- Include authentication email and session sweep queues in Jobs administration in full and minimal generated apps, using shared foundation queue declarations for producers, workers and administration.
|
|
13
|
+
- Preserve `shivaedevSkills` when preparing full and minimal app manifests.
|
|
14
|
+
- Leave starter deletions of customized app files as Git modify/delete conflicts, preserving app contents and applying the rest of the starter delta. Record the applied generator version and explain how to keep or delete each conflicted file.
|
|
15
|
+
- Generated apps apply the host's replacement Layer to module ports before binding services, including the notes source, rate-limit store and job queue.
|
|
16
|
+
- Note creation, import and edits commit with their word-count enqueue. An enqueue failure rejects the request and rolls back the note write.
|
|
17
|
+
|
|
18
|
+
## 0.36.0 - 2026-11-02
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Add `redactBrowserText` to mask quoted browser literals, including escaped quotes and multiline content, while preserving diagnostic shape and the existing server text policy.
|
|
23
|
+
- Add opt-in `browserErrors` settings for an Error log per report, signed-in `user.id` attribution and session enforcement. The starter enables all three.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Mask browser report messages and stacks before they reach diagnostic sinks and record reports at Error severity.
|
|
28
|
+
- Apply starter updates to apps inside enclosing Git repositories while preserving sibling files and unrelated staged changes. Keep the generation record unchanged when a nonempty starter delta applies no changes.
|
|
29
|
+
- Generated notes apps show an alert when adding or saving a note defects, keep the draft, and handle delete completion in the note's own action.
|
|
30
|
+
- Generated Railway workers receive shared `RESEND_API_KEY`, `EMAIL_FROM` and `PUBLIC_URL` settings. Production workers require an explicit email sender at startup; deployment instructions describe queued auth email delivery and the worker's production settings.
|
|
31
|
+
- Generated starter stories settle through screen pending signals and completed HTTP/live results instead of status markup or timed connection sampling. Remove the redundant third-party session lifecycle fixture and its teardown delays.
|
|
32
|
+
|
|
3
33
|
## 0.35.0 - 2026-11-01
|
|
4
34
|
|
|
5
35
|
### Added
|
package/README.md
CHANGED
|
@@ -48,9 +48,13 @@ Run `pnpm run setup` after cloning the generated repository to install dependenc
|
|
|
48
48
|
|
|
49
49
|
`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`.
|
|
50
50
|
|
|
51
|
+
The app selects `story-testing` from `@shivaedev/skills`. Setup syncs the installed instructions to `.agents/skills/story-testing/`, and `AGENTS.md` links to that local copy. `pnpm lint` rejects edits to managed skills. After changing the skills dependency, run `pnpm skills:sync` and commit the copies and manifest.
|
|
52
|
+
|
|
51
53
|
### Take starter updates
|
|
52
54
|
|
|
53
|
-
Run `pnpm dlx @shivaedev/create-app@latest update` in a generated app with a clean
|
|
55
|
+
Run `pnpm dlx @shivaedev/create-app@latest update` in a generated app with a clean app directory in Git to take later starter changes. Apps inside an enclosing repository receive the changes within their own directory; sibling files and unrelated staged changes stay untouched. Only the app directory must be clean. A nonempty starter delta that applies no changes fails without advancing `.create-app.json`. 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. Once the starter changes apply, including a merge with conflicts, `.create-app.json` records the current generator version. The command runs `pnpm install` and the app’s `pnpm run typecheck`, lists every non-ignored file with conflict markers and any unresolved Git conflicts, and exits nonzero while those or either check’s failures remain. Resolve the reported problems and rerun install and typecheck before committing. If pnpm reports a trust downgrade, the command preserves the rejected package and version and gives `pnpm update --depth Infinity` to re-resolve transitive dependencies under the existing trust policy; an exact manifest or catalog pin must first be changed to a trusted version. An update adds the admin Users registration and route to an app that lacks them, and lists conflicts where the app customized those parts.
|
|
56
|
+
|
|
57
|
+
When the starter deletes a file you customized, the command lists its path and leaves a Git modify/delete conflict with your contents intact. Other starter changes still apply, including text conflicts that need resolution, and the generation record advances to the current generator version. Keep the customized file with `git add -- <path>`, or accept the starter’s deletion with `git rm -- <path>`. Resolve any text conflicts, rerun install and typecheck, then review and commit the update.
|
|
54
58
|
|
|
55
59
|
### Reuse the generator
|
|
56
60
|
|