@processfocus/cli 0.1.0-next.3 → 0.1.0-next.4

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
@@ -26,9 +26,17 @@ outside the organisation's default `db/pf.db` location.
26
26
 
27
27
  ## Cloud hosting
28
28
 
29
- Hosted builds require `platformRef` on the authored `Organisation`. To verify
30
- merged public-package changes, use an authorized existing Backend and set
31
- `platformRef: "trunk"`. For a reproducible deployment, select a full commit SHA.
29
+ With no Git selection, `pfcli build` records the exact installed `processfocus`
30
+ version from a Bun, npm, pnpm, or Yarn registry install with a lockfile. Yarn
31
+ must install into `node_modules`. The Backend verifies the release's npm
32
+ provenance and deploys the attested public source revision.
33
+ A frozen install keeps selecting the same release even if the npm tag changes.
34
+ The Deploy Attempt log records the npm version, public SHA and Backend SHA.
35
+
36
+ Use `platformRef` for a workspace checkout or unpublished rehearsal tarballs.
37
+ To verify merged public-package changes, use an authorized existing Backend
38
+ and set `platformRef: "trunk"`. For a reproducible Git deployment, select a full
39
+ commit SHA.
32
40
  The CLI builds with `PF_ENV` set to the target customer environment, so the org
33
41
  can select a different ref per environment, for example
34
42
  `platformRef: process.env["PF_ENV"] === "prd" ? releaseCommit : "trunk"`.
@@ -43,7 +51,7 @@ the revision supplying the AWS deployment code. To reproduce the public inputs
43
51
  after the branch advances, keep `platformSource: "public"` and set `platformRef`
44
52
  to the logged platform SHA.
45
53
 
46
- Omitting `platformSource` resolves `platformRef` in the private monorepo
54
+ Setting `platformRef` without `platformSource` selects the private monorepo
47
55
  (`processfocus/monorepo`). If the selected ref cannot be checked out, the
48
56
  deployment stops without falling back to another source or to published packages.
49
57