@c9up/ream-cli-darwin-arm64 0.3.19 → 0.3.20

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 (3) hide show
  1. package/README.md +13 -4
  2. package/package.json +4 -2
  3. package/ream +0 -0
package/README.md CHANGED
@@ -11,7 +11,9 @@ npm install -g @c9up/ream-cli
11
11
  ## Commands
12
12
 
13
13
  Run `ream --help` (or `ream <command> --help`) for the authoritative,
14
- always up-to-date list. What the binary itself defines:
14
+ always up-to-date list. The generators and `eject` are the application's
15
+ console commands (shipped by `@c9up/ream`), forwarded by the binary like any
16
+ other; the rest is the binary's own:
15
17
 
16
18
  ```bash
17
19
  # Scaffolding
@@ -30,13 +32,13 @@ ream make:controller order Order # app/order/OrderController.ts
30
32
  ream make:service order Payment # app/order/PaymentService.ts
31
33
  ream make:entity order OrderItem # app/order/OrderItem.ts
32
34
  ream make:validator order CreateOrder
33
- ream make:module order Order # entity + controller + validator + migration
35
+ ream make:module order Order # entity + controller + validator
34
36
  ream make:provider Stripe
35
37
  ream make:command app:provision # commands/app-provision.ts, discovered automatically
36
38
  ream make:middleware auth --stack router
37
39
  ream make:event orderShipped
38
40
  ream make:listener sendMail --event orderShipped
39
- ream stubs:publish controller # copy a make: template into stubs/make/ to edit it
41
+ ream eject make/controller.stub # copy a make: template into stubs/make/ to edit it
40
42
 
41
43
  # Packages
42
44
  ream add @c9up/atlas # install a package AND run its configure() hook
@@ -87,10 +89,17 @@ export default {
87
89
  }
88
90
  ```
89
91
 
90
- Output is line-prefixed per process, and when one stops the other is stopped with it — a Ctrl-C leaves no orphan watcher holding the output file. Without this, an app ends up wiring `concurrently -k` itself.
92
+ Output is line-prefixed per process, and when one stops the other is stopped with it, together with whatever it started: `pnpm css:watch` is pnpm and the watcher behind it, and both go. A stop is a SIGTERM to the process group, then a SIGKILL for anything still there five seconds later. A Ctrl-C, or a `kill`, `docker stop` or task-runner terminate sent to `ream dev` itself, is passed on the same way, so none of them leaves an orphan watcher holding the output file or a server holding its port. Without this, an app ends up wiring `concurrently -k` itself.
91
93
 
92
94
  Both keys are optional: with no `assets`, `ream dev` and `ream build` behave exactly as before.
93
95
 
96
+ For one run, `--no-assets` leaves the assets command out, and `--assets-args` appends an argument to it (one per flag, repeat it for several):
97
+
98
+ ```bash
99
+ ream dev --no-assets
100
+ ream build --assets-args --minify --assets-args=--base=/public
101
+ ```
102
+
94
103
  ## License
95
104
 
96
105
  MIT
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@c9up/ream-cli-darwin-arm64",
3
- "version": "0.3.19",
3
+ "version": "0.3.20",
4
4
  "os": ["darwin"],
5
5
  "cpu": ["arm64"],
6
- "bin": { "ream": "./ream" }
6
+ "bin": { "ream": "./ream" },
7
+ "repository": { "type": "git", "url": "git+https://github.com/C9up/ream-cli.git" },
8
+ "publishConfig": { "access": "public", "provenance": true }
7
9
  }
package/ream CHANGED
Binary file