@vibedropio/publisher 0.22.4 → 0.22.5
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-publisher",
|
|
3
3
|
"displayName": "Git Publisher",
|
|
4
|
-
"version": "0.22.
|
|
4
|
+
"version": "0.22.5",
|
|
5
5
|
"description": "Publish an app folder to the platform and keep it updated (\"publish my app\", \"update my app\", \"fetch the engineered version\").",
|
|
6
6
|
"author": { "name": "VibeDrop" },
|
|
7
7
|
"keywords": ["git", "publish", "deploy", "serverless"]
|
|
@@ -185,7 +185,8 @@ following, for when the person asks not to wait.
|
|
|
185
185
|
- `"published"` → the app was published. Mention what was recorded (`recorded.committed`) and, if
|
|
186
186
|
`recorded.excluded` is not empty, what was left out and why. Then read `progress` (null with
|
|
187
187
|
`--no-wait`) and pass on its `hint`:
|
|
188
|
-
- `kind: "settled"` with `ending` `"live"`: the app is live.
|
|
188
|
+
- `kind: "settled"` with `ending` `"live"`: the app is live. A new app opens only to the person
|
|
189
|
+
and the admins until it is shared: offer `publisher share` (the `sync-app` skill). `"not-deployed"`: published and
|
|
189
190
|
checked, and this organization does not deploy automatically. `"failed"` with `findings`: it
|
|
190
191
|
did not pass its checks, and `findings` says why — fix them as "When the checks find something"
|
|
191
192
|
below says. `"failed"` without `findings`: it stopped at `failedAt`; the portal says why — do
|
|
@@ -75,7 +75,7 @@ publisher history --json # the versions that went live, newest
|
|
|
75
75
|
publisher go-back <version> --json # ask the person first; puts that version's code back
|
|
76
76
|
publisher suggestions --json # what colleagues asked for, still open
|
|
77
77
|
publisher suggestion decline <id> --json # when the person does not want one
|
|
78
|
-
publisher share emails --add ann@example.com --json # who can open it
|
|
78
|
+
publisher share emails --add ann@example.com --json # who can open it: a new app opens only to its maker and the admins until it is shared
|
|
79
79
|
publisher columns <id> --json # the column names of connected data, before code reads it
|
|
80
80
|
publisher data add <sheet link> --app <app> --name "<name>" --json # a Google sheet the app reads; new data is closed until somebody gives access
|
|
81
81
|
publisher data remove <id> --app <app> --json # the app stops reading that data
|
|
@@ -91,7 +91,7 @@ terminal, do what it says with the command that does the same thing:
|
|
|
91
91
|
| `app_history` / `go_back` | `publisher history --json` / `publisher go-back <version> --json` |
|
|
92
92
|
| `list_starters` / `use_starter` | `publisher starters` / `publisher start <starter>` |
|
|
93
93
|
| `resolve_suggestion` | `publisher suggestion done\|decline <id> --json` |
|
|
94
|
-
| `share_app` | `publisher share <
|
|
94
|
+
| `share_app` | `publisher share <members\|emails\|link> --json` |
|
|
95
95
|
| `list_apps` | `publisher list --json` |
|
|
96
96
|
| `data_columns` | `publisher columns <id> --json` |
|
|
97
97
|
| `connect_data_source` | `publisher data add <sheet link> --app <app> --name "<name>" --json` |
|
package/dist/publisher.cjs
CHANGED
|
@@ -25028,12 +25028,12 @@ var columns = {
|
|
|
25028
25028
|
git: false,
|
|
25029
25029
|
run: (inv) => run(inv, void 0, "data_columns", inv.cmd[1] === void 0 ? {} : { id: inv.cmd[1] })
|
|
25030
25030
|
};
|
|
25031
|
-
var
|
|
25031
|
+
var SHARE_WORDS = ["members", "emails", "link"];
|
|
25032
25032
|
function shareArgs(cmd, app, add, remove) {
|
|
25033
|
-
return { app,
|
|
25033
|
+
return { app, who: shareWordOf(cmd), add, remove };
|
|
25034
25034
|
}
|
|
25035
|
-
function
|
|
25036
|
-
const named =
|
|
25035
|
+
function shareWordOf(cmd) {
|
|
25036
|
+
const named = SHARE_WORDS.find((word) => word === cmd[1]);
|
|
25037
25037
|
if (named === void 0) {
|
|
25038
25038
|
throw new PublisherError("INVALID_REQUEST", "share takes members, emails or link");
|
|
25039
25039
|
}
|
|
@@ -25042,7 +25042,7 @@ function appRuleOf(cmd) {
|
|
|
25042
25042
|
var share = {
|
|
25043
25043
|
git: false,
|
|
25044
25044
|
async run(inv) {
|
|
25045
|
-
|
|
25045
|
+
shareWordOf(inv.cmd);
|
|
25046
25046
|
const { dir, app } = await folderApp(inv);
|
|
25047
25047
|
return run(inv, dir, "share_app", shareArgs(inv.cmd, app, listFlag(inv, "add"), listFlag(inv, "remove")));
|
|
25048
25048
|
}
|
|
@@ -25429,7 +25429,8 @@ Usage:
|
|
|
25429
25429
|
publisher suggestions what colleagues suggested for this folder's app, still open
|
|
25430
25430
|
publisher suggestion done|decline <id> [--run <id>] close one; sync --answers <id> closes it with that publication
|
|
25431
25431
|
publisher share members|emails|link [--add <emails>] [--remove <emails>]
|
|
25432
|
-
who can open this folder's app
|
|
25432
|
+
who can open this folder's app (a new app opens only to you and
|
|
25433
|
+
the admins until it is shared); new invitees get the link by mail
|
|
25433
25434
|
publisher columns [<id>] the column names of connected data, for the code that reads it;
|
|
25434
25435
|
its first rows only to an owner or admin who allowed that
|
|
25435
25436
|
publisher data add <sheet link> [--app <app>] [--name <name>]
|