@vibedropio/publisher 0.22.1 → 0.22.3

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.1",
4
+ "version": "0.22.3",
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"]
@@ -116,6 +116,12 @@ you write the app, the platform prepares its hosting, so the first publication g
116
116
  seconds, not in a minute. The folder must exist, and it can be empty. Its output names the app
117
117
  under `appId`. Then write the app into that folder, and publish it with step 3, without `--name`.
118
118
 
119
+ `placement` in the output says where the app runs. When `placement.refused` is `"must-pick"`, the
120
+ first publication stops until the person picks one of `placement.offered` on the Cell tab of the
121
+ app in the portal. When it is `"no-cell"`, an owner or admin can give them a cell. Tell them, and
122
+ do not run `init` again: that makes a second app. When the person names a cell before you make the
123
+ app, add `--cell <cell>` to `init`.
124
+
119
125
  If the app is already written and was never published, `init` gains nothing. Run step 3 in the
120
126
  app folder and add `--name "<app name>"`: that one `sync` makes the app, and then publishes it.
121
127
 
@@ -21722,7 +21722,6 @@ var postApiTerminalApplications = {
21722
21722
  body: external_exports.object({
21723
21723
  name: external_exports.string().min(1).max(80),
21724
21724
  creationId: external_exports.string().regex(new RegExp("^[0-9a-hjkmnp-tv-z]{26}$")),
21725
- kind: external_exports.enum(["managed", "stack"]).optional(),
21726
21725
  defaultBranch: external_exports.string().regex(new RegExp("^(?!.*\\.\\.)(?!\\/)(?!.*\\/$)[A-Za-z0-9._/-]{1,200}$")).nullable().optional(),
21727
21726
  cell: external_exports.string().regex(new RegExp("^(platform|[0-9a-f]{8})$")).nullable().optional()
21728
21727
  }),
@@ -21950,7 +21949,7 @@ var ERROR_CODES = [
21950
21949
  // after it has made the application the repository will belong to. Its own code: a terminal that
21951
21950
  // meets it is an older client calling this route directly, and can say "upgrade" rather than
21952
21951
  // "you may not".
21953
- "APPLICATION_REQUIRED",
21952
+ "OWNER_REQUIRED",
21954
21953
  // The subject can read the repository and the route needs admin. Its own code rather than
21955
21954
  // FORBIDDEN: the portal tells "this person does not administer it" from "the portal was refused"
21956
21955
  // (a delegation the service would not take), and before this code it could only compare the
@@ -25219,7 +25218,7 @@ var EXIT_CODE = {
25219
25218
  METHOD_NOT_ALLOWED: 1,
25220
25219
  REF_FORBIDDEN: 1,
25221
25220
  ORGANIZATION_REQUIRED: 1,
25222
- APPLICATION_REQUIRED: 1,
25221
+ OWNER_REQUIRED: 1,
25223
25222
  REPOSITORY_NOT_FOUND: 1,
25224
25223
  REPOSITORY_CONFLICT: 1,
25225
25224
  REPOSITORY_ARCHIVED: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibedropio/publisher",
3
- "version": "0.22.1",
3
+ "version": "0.22.3",
4
4
  "description": "publisher: publish an app's Git history to the serverless Git backend",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",