@shivaedev/create-app 0.1.0 → 0.1.2

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2 - 2026-10-13
4
+
5
+ ### Added
6
+
7
+ - Generate a git-ignored `.env.local` with a fresh authentication secret and app-specific development and test database URLs without overwriting existing files.
8
+ - Generated apps prepare both local PostgreSQL databases with `pnpm db:setup` before `pnpm dev`, and load `.env.local` when running `pnpm test`.
9
+
10
+ ### Fixed
11
+
12
+ - Generated development server and worker processes use installed JavaScript package exports instead of workspace source conditions.
13
+
14
+ ## 0.1.1 - 2026-10-13
15
+
16
+ ### Added
17
+
18
+ - Generated applications include a PostgreSQL migration upgrade check for their notes model, using `@shivaedev/effect-test-sql@0.2.0`.
19
+
3
20
  ## 0.1.0 - 2026-10-13
4
21
 
5
22
  ### Added
package/README.md CHANGED
@@ -24,13 +24,11 @@ After installation, follow the printed steps:
24
24
 
25
25
  ```sh
26
26
  cd my-app
27
- cp .env.example .env.local
27
+ pnpm dev
28
28
  ```
29
29
 
30
- Set `DATABASE_URL` to your PostgreSQL database and `BETTER_AUTH_SECRET` to a random secret of at least 32 characters, then run:
30
+ The command writes a git-ignored `.env.local` with a fresh authentication secret and local development and test database URLs. Existing files are never overwritten. Database names replace dots and hyphens in the app name with underscores, prefix a name starting with a digit with `app_`, and limit the stem to 58 characters before adding `_dev` and `_test`.
31
31
 
32
- ```sh
33
- pnpm dev
34
- ```
32
+ `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`.
35
33
 
36
- The command also supports `--help` and `--version`. It creates files and installs dependencies; it does not create your database or set secrets. See the [framework quickstart](https://github.com/ShivaeDev/platform/blob/main/docs/framework/quickstart.md) for the starter's application and deployment workflow.
34
+ 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.