@pmate/cli 0.42.1 → 0.42.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.
- package/README.md +3 -1
- package/dist/index.js +264 -228
- package/dist/templates/electron/apps.cjs +39 -0
- package/dist/templates/electron/main.cjs +5 -2
- package/dist/templates/electron/preload.cjs +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,9 @@ A TypeScript-powered command-line tool scaffold for future pMate automation.
|
|
|
4
4
|
|
|
5
5
|
## Deploy from an isolated checkout
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Vite deployments reject `--cwd`. They use the registered repository's conventional local checkout (`~/dev/pmate/<repository>`), refuse any uncommitted changes (including untracked files), fetch the latest GitHub `main`, switch to `main` and fast-forward to that exact revision. A missing remote `main`, failed switch/fetch, or local main with unpushed/divergent commits aborts before dependency installation, build or upload. No changes are stashed, reset or discarded. Dependencies are installed with `pnpm install --frozen-lockfile`; the deployed commit SHA is printed. Commit and push changes to `main` before deploying.
|
|
8
|
+
|
|
9
|
+
Static and FC services can be released without modifying the conventional `~/dev/pmate` checkout. Use `pmate service deploy pmate:<service> --env prod --cwd /absolute/path/to/repo` for static or FC services. The registered service directory is resolved relative to that repository root; `--cwd` does not change the service's registered repository or environment.
|
|
8
10
|
|
|
9
11
|
Remote Node/Python/Rust deployments still use the registered repository and reject `--cwd` instead of silently ignoring it. Merge and push the intended release to `main` before deployment. The normal service deploy-history and log flow is unchanged.
|
|
10
12
|
|