@pmate/cli 0.38.4 → 0.38.6

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
@@ -342,4 +342,4 @@ The first invocation for each marketing version requires `--last-build <highest-
342
342
 
343
343
  Sequences, retained archives, derived data and logs live in `~/.pmate/ios-builds/`. Project/source version files are not changed. A bundle-level exclusive lock prevents simultaneous builds on the same machine; it does not coordinate different machines. Build/upload failures keep the reserved number and logs; retry consumes the next number. After an interrupted process, remove a leftover `.lock` file only after confirming no build is still running. Builds require automatic signing; resolve Apple account/certificate/profile errors in Xcode. Extension or App targets with fixed plist versions must produce matching archive metadata or the upload is stopped.
344
344
 
345
- Going Merry Web: `pmate service deploy pmate:merry` defaults to the registered `preview` environment serving https://merry.pmate.chat. An explicit `--env` overrides this default; other services still require `--env`. This command does not package Electron.
345
+ `pmate service deploy <ns:service>` defaults to `--env prod` for every service. Use explicit `--env preview` or `--env dev` to override it. For example, `pmate service deploy pmate:merry` deploys the production site https://merry.pmate.chat.
package/dist/index.js CHANGED
@@ -24434,10 +24434,7 @@ function parseServiceArgs(tokens) {
24434
24434
  return { type: "service" /* Service */, action, namespace, name, env, page, baseUrl, json };
24435
24435
  }
24436
24436
  if (action === "deploy" || action === "stop") {
24437
- if (action === "deploy" && !env && namespace === "pmate" && name === "merry") env = "preview";
24438
- if (action === "deploy" && !env) {
24439
- throw new Error("Missing required option --env for service deploy");
24440
- }
24437
+ if (action === "deploy") env ??= "prod";
24441
24438
  return { type: "service" /* Service */, action, namespace, name, env, ...cwd ? { cwd } : {}, baseUrl, json };
24442
24439
  }
24443
24440
  if (action === "init") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/cli",
3
- "version": "0.38.4",
3
+ "version": "0.38.6",
4
4
  "description": "CLI utilities for the pMate project",
5
5
  "license": "MIT",
6
6
  "bin": {