@wervt/cli 0.2.10 → 0.2.11

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 (2) hide show
  1. package/dist/index.mjs +3 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -206,12 +206,12 @@ const deploy = defineCommand({
206
206
  },
207
207
  check: {
208
208
  type: "string",
209
- description: "Pages to request once the release started, a 5xx fails (default: /)"
209
+ description: "Pages to request once the release started, a 5xx fails (default: /). Shape routes are checked too; --check= turns all checks off"
210
210
  },
211
211
  "rollback-on-fail": {
212
212
  type: "boolean",
213
213
  default: false,
214
- description: "Go back to the previous release when a page check fails"
214
+ description: "Go back to the previous release when a page or shape check fails"
215
215
  },
216
216
  ...connection
217
217
  },
@@ -286,7 +286,7 @@ const deploy = defineCommand({
286
286
  return;
287
287
  }
288
288
  if (event.step === "check-failed") {
289
- const failed = event.failed.map((check) => `${check.path} (${check.status || "no answer"})`).join(", ");
289
+ const failed = event.failed.map((check) => `${check.kind === "shape" ? "shape " : ""}${check.path} (${check.status || "no answer"})`).join(", ");
290
290
  p.log.error(`Release ${event.release} started, but failed: ${failed}`);
291
291
  if (event.message) p.log.message(event.message);
292
292
  if (event.restored) p.log.info(`${name} is back on ${event.restored}.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wervt/cli",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Deploy and manage apps on wervt.",
5
5
  "keywords": [
6
6
  "agents",