@blotout/qinto-cli 0.1.20 → 0.1.21
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 +11 -1
- package/dist/index.js +3762 -3708
- package/dist/index.js.map +1 -1
- package/dist/worker-artifact/app-runtime/index.js +5 -2
- package/dist/worker-artifact/main/index.js +162 -125
- package/dist/worker-artifact/version.json +6 -6
- package/package.json +3 -3
- package/templates/app/full/qinto.app.jsonc +0 -129
- package/templates/app/full/src/browser.ts +0 -15
- package/templates/app/full/src/server.ts +0 -133
- package/templates/app/full/ui/src/pages/index.astro +0 -53
- package/templates/app/minimal/qinto.app.jsonc +0 -20
- package/templates/app/minimal/src/server.ts +0 -9
- package/templates/project/gitignore +0 -3
- package/templates/project/package.json +0 -13
- package/templates/project/tsconfig.json +0 -12
- package/templates/ui/astro.config.mjs +0 -6
- package/templates/ui/package.json +0 -12
- package/templates/ui/src/pages/index.astro +0 -50
package/README.md
CHANGED
|
@@ -155,7 +155,10 @@ you its owner — nothing is approved, granted, or provisioned by anyone else. U
|
|
|
155
155
|
Developer sidebar to rename it, or **Create organization** to add another (one per customer or product, say).
|
|
156
156
|
|
|
157
157
|
To publish under an organization that already exists — a company's, rather than your own — one of its owners invites you under
|
|
158
|
-
**Developer → Organization members** and you accept the emailed link. An organization cannot be joined by naming its id.
|
|
158
|
+
**Developer → Organization members** and you accept the emailed link. An organization cannot be joined by naming its id. The
|
|
159
|
+
owner picks your role: a **developer** registers, publishes and deletes apps; a **member** (the default) can only read apps,
|
|
160
|
+
versions and analytics, and the API refuses a member's `qinto app register` and `qinto app publish`. Ask an owner to make you
|
|
161
|
+
a developer if you need to publish.
|
|
159
162
|
|
|
160
163
|
Back in the terminal the organization appears immediately: the CLI reads it from the API on every call, so **no new login is
|
|
161
164
|
needed**. Pass it by id or name with `--org`.
|
|
@@ -511,12 +514,19 @@ What a publish does, in order:
|
|
|
511
514
|
| `--acknowledge-necessary` | Record that this app runs without visitor consent. |
|
|
512
515
|
| `--dry-run` | Build and validate locally; allocate nothing and upload nothing. |
|
|
513
516
|
| `--restart` | Discard `.qinto/publish.json` and start a fresh publish. |
|
|
517
|
+
| `--yes` | Confirm that publishing an app edited in the Qinto platform switches it to the CLI. |
|
|
514
518
|
| `--no-input` | Disable all interactive prompts. |
|
|
515
519
|
| `--json` | Print the published version, and the install when `--site` was given, as JSON. |
|
|
516
520
|
|
|
517
521
|
Installing a version the visitor's consent or the capability set does not already cover fails until you accept it. Interactively
|
|
518
522
|
the CLI asks; in machine mode it exits `2` and names the flag to pass.
|
|
519
523
|
|
|
524
|
+
**Editor apps.** An app created for the Qinto platform editor is refused until you confirm that publishing it with the CLI switches
|
|
525
|
+
it to the CLI permanently. The switch happens when the version is finalized: the editor and its files are then gone, and editor
|
|
526
|
+
changes that were not published are lost. A failed or cancelled publish leaves the app in the editor, and so does a finalize while
|
|
527
|
+
a publish from the editor is running: rerun `qinto app publish` when it has finished. Interactively the CLI asks; in machine mode
|
|
528
|
+
it exits `2` unless you pass `--yes`.
|
|
529
|
+
|
|
520
530
|
### Inspect — `status`, `versions`, `version cancel`
|
|
521
531
|
|
|
522
532
|
```sh
|