@blotout/qinto-cli 0.1.29 → 0.1.31

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 CHANGED
@@ -505,14 +505,15 @@ Publishing installs nothing. Install the new version with `qinto app install` (b
505
505
  prints that command with the version filled in.
506
506
 
507
507
  **Source snapshot.** Every publish also uploads the app's source with the version: the text files in the app directory, without
508
- what a `.gitignore` names (in the app directory, a folder below it, or the enclosing git repository), dot-prefixed folders and files (`.git`, `.qinto`, `.env`), `node_modules`, binary files, and symbolic links. The
508
+ what a `.gitignore` names (in the app directory, a folder below it, or the enclosing git repository), dot-prefixed folders and files (`.git`, `.qinto`, `.env`, `.wrangler`), `node_modules`, `coverage`, `test-results`,
509
+ `playwright-report`, `*.tsbuildinfo`, `*.log`, `npm-debug.log*`, `wrangler.jsonc`, binary files, and symbolic links. The
509
510
  owners and developers of the app's organization can read it in the Qinto platform. When you submit the version to the app store,
510
511
  the Blotout reviewers can read it too. A source above 10 MiB is refused, and the error names the largest files so that you can
511
512
  add them to `.gitignore`.
512
513
 
513
514
  The snapshot is the record of the source a version was built from. A version without a source snapshot cannot be submitted to
514
- the app store. A version that an older CLI published has none: [update the CLI](#stay-up-to-date), publish again, and submit
515
- the new version.
515
+ the app store. The Qinto platform refuses a publish from an older CLI that uploads no source. A version that an older CLI published
516
+ has none: [update the CLI](#stay-up-to-date), publish again, and submit the new version.
516
517
 
517
518
  | Flag | What it does |
518
519
  | --- | --- |
@@ -548,7 +549,8 @@ qinto app install my-app --site example.com --version 1.4.1 # a specific versio
548
549
  | `--team <teamId>` | Authorized team to resolve `--site` in. |
549
550
  | `--version <version>` | Install this published `x.y.z` instead of the latest. |
550
551
  | `--accept-capabilities` | Accept the extra capabilities a newer version asks for. |
551
- | `--acknowledge-necessary` | Record that this app runs without visitor consent. |
552
+ | `--acknowledge-necessary` | Record that this app, and each app it needs that the install adds, runs without visitor consent. |
553
+ | `--yes` | Install the apps it needs that the site lacks, and approve their private-function calls, without asking. |
552
554
  | `--no-input` | Disable all interactive prompts. |
553
555
  | `--json` | Print the install outcome as JSON. |
554
556
 
@@ -557,6 +559,12 @@ the CLI asks; in machine mode it exits `2` and names the flag to pass. An accept
557
559
  when `--version` names it. Without `--version`, it exits `2` and asks you to rerun with it: a retry against "latest" could
558
560
  install a version published after the one you accepted.
559
561
 
562
+ When the app needs apps the site does not have yet, the CLI prints each one (name, reason, the app that needs it, and whether
563
+ the site has it) and the private functions the apps call, then asks before it installs them with the app and approves those calls. `--yes` installs
564
+ them without asking; in machine mode without `--yes` it exits `2` and installs nothing. With `--json`, the plan is the `plan`
565
+ field of the JSON error instead of text. An app it adds that runs without visitor
566
+ consent also needs `--acknowledge-necessary` with `--yes`; interactively, confirming the question records it.
567
+
560
568
  ### Inspect — `status`, `versions`, `version cancel`
561
569
 
562
570
  ```sh