@decohere/create 0.0.1-dev.20261106.179 → 0.0.1-dev.20261106.189

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.
Files changed (2) hide show
  1. package/README.md +7 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@ Scaffolding always runs somewhere that already has its tools, so nothing gets in
10
10
  | Your machine, or another container with Docker access | Runs in the `ghcr.io/typesmiths/decohere/create` image, then copies the project out | Says to open the project's Dev Container |
11
11
  | Another container with no Docker access | Says Docker is needed | Says to open the project's Dev Container |
12
12
 
13
- The scaffolder image gets no folders from your machine, and it can't see `~/.npmrc` or your Auth0 login. It works in its own folder, and the project is copied out only if it succeeds, so a failed run or Ctrl-C leaves your folder as it was. The container is always removed. A new project needs an empty folder (a `.git` folder is fine). The image is the bare minimum, plain Alpine with Node, the scaffolder and the Auth0 CLI, so a new project gets formatted by Biome the first time its Dev Container installs dependencies. Outside a Dev Container, run `pnpm lint` once after installing. This works the same from your machine, from inside a container, and against a remote Docker.
13
+ The scaffolder image gets no folders from your machine, and it can't see `~/.npmrc` or your Auth0 login. It works in its own folder, and the project is copied out only if it succeeds, so a failed run or Ctrl-C leaves your folder as it was. The container is always removed. A new project needs an empty folder (a `.git` folder is fine). The image is the bare minimum, plain Alpine with Node, the scaffolder and the Auth0 CLI, so a new project gets formatted by Prettier the first time its Dev Container installs dependencies. Outside a Dev Container, run `pnpm lint` once after installing. This works the same from your machine, from inside a container, and against a remote Docker.
14
14
 
15
15
  With Auth0 and Postgres, `create` also makes an admin user with a generated password. The password isn't printed or kept in the project, and it's only for logging in. On Linux with a key store (GNOME Keyring or KWallet, through `secret-tool`), it's saved there, and `create` prints the command to read it. Anywhere else it goes in `~/.config/decohere/<project>.env`, readable only by you. Run inside a container, that file is in the container, so copy it if the container may be rebuilt.
16
16
 
@@ -67,7 +67,9 @@ my-app/
67
67
  ci.yml # lint ∥ test (+ build and package on default branch)
68
68
  publish.yml # forge publish (skips private); no docker push by default
69
69
  tsconfig.json
70
- biome.json
70
+ .oxlintrc.json
71
+ .prettierrc.json
72
+ .prettierignore
71
73
  pnpm-workspace.yaml # tells pnpm not to run the SWC and esbuild install scripts
72
74
  .env
73
75
  config/
@@ -109,7 +111,8 @@ USER node
109
111
  | `start:<name>` | same path for that API | Deploy that API (`pnpm run start:billing`) |
110
112
  | `dev` | `flux serve --env-file-if-exists .env` (plus `--project @<app>/<first>` when named) | Local HMR for the first API; loads `.env` if present |
111
113
  | `dev:<name>` | `PORT=<3000+n> flux serve --env-file-if-exists .env --project @<app>/<name>` | Local HMR for that API |
112
- | `lint:check` / `typecheck` / `test` | biome / forge typecheck / vitest | CI |
114
+ | `lint` | `oxlint --fix`, then `prettier --write .`, skipping `.devcontainer` | Fix and format |
115
+ | `lint:check` / `typecheck` / `test` | oxlint and Prettier / forge typecheck / vitest | CI |
113
116
 
114
117
  #### Multiple APIs / add later
115
118
 
@@ -119,7 +122,7 @@ decohere add api billing
119
122
  npx @decohere/create webapi add billing -d my-app
120
123
  ```
121
124
 
122
- Adds `projects/billing`, `start:billing` / `package:billing` / `dev:billing`, and `projects/billing/Dockerfile`. Does not rewrite the first API or workspace files like `biome.json`.
125
+ Adds `projects/billing`, `start:billing` / `package:billing` / `dev:billing`, and `projects/billing/Dockerfile`. Does not rewrite the first API or workspace files like `.prettierrc.json`.
123
126
 
124
127
  Each API is a separate deploy: package it (`pnpm run package:billing`) and build the image from its folder (`docker build projects/billing`), or set the start command to `pnpm run start:billing`. Workspace `config/` is shared; each API still has its own named datasource and `{PREFIX}_DB_*` env (host/port default to the Compose Postgres).
125
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decohere/create",
3
- "version": "0.0.1-dev.20261106.179",
3
+ "version": "0.0.1-dev.20261106.189",
4
4
  "description": "Download the Decohere scaffolder image and run it (npm create @decohere)",
5
5
  "keywords": [
6
6
  "decohere",