@multiplatform.one/cli 7.82.3 → 7.82.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/lib/source.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "cliVersion": "7.82.3",
2
+ "cliVersion": "7.82.4",
3
3
  "url": "https://git.corp.bitspur.com/multiplatform.one/mpo.git",
4
- "sha": "33fb9fe13e1cd903a59fe1836c8643777122f644"
4
+ "sha": "0bcf7287a119ab33a44f8950bf885753ad9044af"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/cli",
3
- "version": "7.82.3",
3
+ "version": "7.82.4",
4
4
  "description": "multiplatform.one cli — mpo init clones and prunes the monorepo, mpo update merges it back",
5
5
  "keywords": [
6
6
  "create-multiplatform-app",
@@ -57,7 +57,7 @@
57
57
  "access": "public"
58
58
  },
59
59
  "dependencies": {
60
- "@multiplatform.one/utils": "^7.82.3",
60
+ "@multiplatform.one/utils": "^7.82.4",
61
61
  "commander": "^15.0.0",
62
62
  "dotenv": "^17.4.2",
63
63
  "inquirer": "^14.2.3",
@@ -379,13 +379,14 @@ rm -rf "$TREE/apps/one" "$TREE/features/one"
379
379
  # ── 4. root wiring: Makefile, .gitignore, .env, .vscode, package.json ─────
380
380
 
381
381
  if [ -f "$TREE/Makefile" ]; then
382
- awk -v apps="$APPS" -v removed="$REMOVED_APPS" '
382
+ awk -v apps="$APPS" -v removed="$REMOVED_APPS" -v pruned=" $REMOVED " '
383
383
  BEGIN {
384
384
  napps = split(apps, app, " ")
385
385
  nremoved = split(removed, gone, " ")
386
386
  for (i = 1; i <= nremoved; i++) dead[gone[i]] = 1
387
387
  dead["vscode"] = 1
388
388
  dead["webext"] = 1
389
+ if (index(pruned, " public ")) dead["cli"] = 1
389
390
  }
390
391
  # "name/%: configure FORCE" followed by its one recipe line.
391
392
  match($0, /^[a-z0-9-]+\/%: /) {
@@ -70,11 +70,13 @@ ENV PUBLIC_URL=https://app.example.com
70
70
  Settings come from the server's environment, not the build, so one image
71
71
  serves every environment:
72
72
 
73
- | Variable | What it does |
74
- | ------------ | ------------------------------------------------------------------------------------ |
75
- | `PORT` | The port the image listens on (3000). `pnpm serve` takes `ONE_PORT`. |
76
- | `SECRET` | Signs sessions. Unset, `/api/auth/*` answers 500; every other page still renders. |
77
- | `PUBLIC_URL` | The public origin. The browser's Frappe client dials it unless `BASE_URL` says else. |
73
+ | Variable | What it does |
74
+ | ------------------ | ------------------------------------------------------------------------------------- |
75
+ | `PORT` | The port the image listens on (3000). `pnpm serve` takes `ONE_PORT`. |
76
+ | `SECRET` | Signs sessions. Unset, `/api/auth/*` answers 500; every other page still renders. |
77
+ | `PUBLIC_URL` | The public origin. The browser's Frappe client dials it unless `BASE_URL` says else. |
78
+ | `FRAPPE_ENABLED` | `1` mounts the Frappe client. Off in the image; set it where a Frappe server answers. |
79
+ | `KEYCLOAK_ENABLED` | `1` mounts Keycloak sign-in. Off in the image, so a deployment with an IdP sets it. |
78
80
 
79
81
  Every key in `packages/config/config.json` (`FRAPPE_ENABLED`, `KEYCLOAK_*`,
80
82
  `SENTRY_DSN`, ...) is read the same way, per request.