@decohere/create 0.0.1-dev.115 → 0.0.1-dev.116
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ The scaffolded Dev Container asks **y/N** (TTY only) before npm auth and optiona
|
|
|
34
34
|
|
|
35
35
|
### `webapi`
|
|
36
36
|
|
|
37
|
-
Scaffolds a full web API using
|
|
37
|
+
Scaffolds a full web API using `@decohere/http` (HTTP), `@decohere/crucible` (DI), `@decohere/config` (configuration) and Scribe (logging), plus a Dev Container workspace.
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
npx @decohere/create webapi -d my-app
|
|
@@ -181,7 +181,7 @@ npx @decohere/create webapi -d my-app --auth auth0
|
|
|
181
181
|
|
|
182
182
|
With Auth0 + Postgres, customize authorization in `projects/<api>/src/auth/ability.factory.ts`:
|
|
183
183
|
override `defineAbilitiesFor` for product CASL rules, and `mapPrincipal` for IdP claim mapping
|
|
184
|
-
(including the `AUTH0_ADMIN_USER_SUB` admin bootstrap).
|
|
184
|
+
(including the `AUTH0_ADMIN_USER_SUB` admin bootstrap). `@decohere/http`'s default already maps
|
|
185
185
|
`admin` → `manage`/`all` and `action:Subject` scopes.
|
|
186
186
|
|
|
187
187
|
#### Postman (`--postman`)
|