@b64hub/sfpm-cli 0.2.0 → 0.3.0

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 (160) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +66 -74
  3. package/dist/commands/bootstrap.d.ts +21 -0
  4. package/dist/commands/bootstrap.js +123 -32
  5. package/dist/commands/bootstrap.js.map +1 -1
  6. package/dist/commands/build/index.d.ts +11 -1
  7. package/dist/commands/build/index.js +73 -82
  8. package/dist/commands/build/index.js.map +1 -1
  9. package/dist/commands/deploy/artifact.d.ts +1 -3
  10. package/dist/commands/deploy/artifact.js +7 -7
  11. package/dist/commands/deploy/artifact.js.map +1 -1
  12. package/dist/commands/deploy/index.d.ts +3 -5
  13. package/dist/commands/deploy/index.js +10 -22
  14. package/dist/commands/deploy/index.js.map +1 -1
  15. package/dist/commands/dev/pool-list-replay.js +1 -1
  16. package/dist/commands/dev/pool-list-replay.js.map +1 -1
  17. package/dist/commands/dev/pool-replay.js +2 -1
  18. package/dist/commands/dev/pool-replay.js.map +1 -1
  19. package/dist/commands/dev/replay.js +2 -2
  20. package/dist/commands/dev/replay.js.map +1 -1
  21. package/dist/commands/install.js +4 -18
  22. package/dist/commands/install.js.map +1 -1
  23. package/dist/commands/pool/delete.js +8 -8
  24. package/dist/commands/pool/delete.js.map +1 -1
  25. package/dist/commands/pool/fetch.js +57 -66
  26. package/dist/commands/pool/fetch.js.map +1 -1
  27. package/dist/commands/pool/fill.js +6 -7
  28. package/dist/commands/pool/fill.js.map +1 -1
  29. package/dist/commands/pool/list.js +2 -2
  30. package/dist/commands/pool/list.js.map +1 -1
  31. package/dist/logger.js +1 -1
  32. package/dist/logger.js.map +1 -1
  33. package/dist/sfpm-command.d.ts +17 -1
  34. package/dist/sfpm-command.js +55 -21
  35. package/dist/sfpm-command.js.map +1 -1
  36. package/dist/ui/{build-event-bridge.d.ts → adapters/build-event-bridge.d.ts} +7 -9
  37. package/dist/ui/{build-event-bridge.js → adapters/build-event-bridge.js} +7 -9
  38. package/dist/ui/adapters/build-event-bridge.js.map +1 -0
  39. package/dist/ui/adapters/install-event-bridge.js.map +1 -0
  40. package/dist/ui/adapters/pino-bridge.js.map +1 -0
  41. package/dist/ui/adapters/pool-delete-event-bridge.js.map +1 -0
  42. package/dist/ui/adapters/pool-fill-event-bridge.js.map +1 -0
  43. package/dist/ui/apps/BuildApp.js +1 -1
  44. package/dist/ui/apps/BuildApp.js.map +1 -1
  45. package/dist/ui/apps/PoolDeleteApp.js +1 -1
  46. package/dist/ui/apps/PoolDeleteApp.js.map +1 -1
  47. package/dist/ui/apps/PoolFillApp.js +1 -1
  48. package/dist/ui/apps/PoolFillApp.js.map +1 -1
  49. package/dist/ui/components/OrchestrationView.js +3 -3
  50. package/dist/ui/components/OrchestrationView.js.map +1 -1
  51. package/dist/ui/components/base/Footer.js +2 -2
  52. package/dist/ui/components/base/Footer.js.map +1 -1
  53. package/dist/ui/components/base/GradientBar.d.ts +1 -1
  54. package/dist/ui/components/base/GradientBar.js +1 -1
  55. package/dist/ui/components/base/GradientBar.js.map +1 -1
  56. package/dist/ui/components/base/StatusIcon.js +1 -1
  57. package/dist/ui/components/base/StatusIcon.js.map +1 -1
  58. package/dist/ui/components/pool/OrgRow.js +2 -2
  59. package/dist/ui/components/pool/OrgRow.js.map +1 -1
  60. package/dist/ui/components/pool/PoolOrgRow.js +1 -1
  61. package/dist/ui/components/pool/PoolOrgRow.js.map +1 -1
  62. package/dist/ui/renderers/run-orchestrator-plain.d.ts +11 -0
  63. package/dist/ui/renderers/run-orchestrator-plain.js +47 -0
  64. package/dist/ui/renderers/run-orchestrator-plain.js.map +1 -0
  65. package/dist/ui/renderers/run-orchestrator.d.ts +25 -0
  66. package/dist/ui/renderers/run-orchestrator.js +17 -0
  67. package/dist/ui/renderers/run-orchestrator.js.map +1 -0
  68. package/dist/ui/renderers/run-pool-delete-plain.d.ts +12 -0
  69. package/dist/ui/renderers/run-pool-delete-plain.js +31 -0
  70. package/dist/ui/renderers/run-pool-delete-plain.js.map +1 -0
  71. package/dist/ui/renderers/run-pool-delete.d.ts +12 -0
  72. package/dist/ui/renderers/run-pool-delete.js +20 -0
  73. package/dist/ui/renderers/run-pool-delete.js.map +1 -0
  74. package/dist/ui/renderers/run-pool-fill-plain.d.ts +10 -0
  75. package/dist/ui/renderers/run-pool-fill-plain.js +60 -0
  76. package/dist/ui/renderers/run-pool-fill-plain.js.map +1 -0
  77. package/dist/ui/renderers/run-pool-fill.d.ts +16 -0
  78. package/dist/ui/renderers/run-pool-fill.js +24 -0
  79. package/dist/ui/renderers/run-pool-fill.js.map +1 -0
  80. package/dist/ui/{run-pool-list.js → renderers/run-pool-list.js} +1 -1
  81. package/dist/ui/renderers/run-pool-list.js.map +1 -0
  82. package/dist/ui/state/adapters.js +1 -1
  83. package/dist/ui/state/adapters.js.map +1 -1
  84. package/dist/ui/state/{reducer.js → orchestration-reducer.js} +1 -1
  85. package/dist/ui/state/orchestration-reducer.js.map +1 -0
  86. package/dist/ui/table.js +1 -1
  87. package/dist/ui/table.js.map +1 -1
  88. package/dist/ui/utils/pool-utils.js.map +1 -0
  89. package/dist/ui/{renderer-utils.d.ts → utils/renderer-utils.d.ts} +11 -0
  90. package/dist/ui/utils/renderer-utils.js.map +1 -0
  91. package/dist/ui/utils/theme.js.map +1 -0
  92. package/oclif.manifest.json +300 -305
  93. package/package.json +10 -7
  94. package/dist/ui/build-event-bridge.js.map +0 -1
  95. package/dist/ui/build-progress-renderer.d.ts +0 -84
  96. package/dist/ui/build-progress-renderer.js +0 -326
  97. package/dist/ui/build-progress-renderer.js.map +0 -1
  98. package/dist/ui/build-summary.d.ts +0 -15
  99. package/dist/ui/build-summary.js +0 -26
  100. package/dist/ui/build-summary.js.map +0 -1
  101. package/dist/ui/install-event-bridge.js.map +0 -1
  102. package/dist/ui/install-progress-renderer.d.ts +0 -72
  103. package/dist/ui/install-progress-renderer.js +0 -297
  104. package/dist/ui/install-progress-renderer.js.map +0 -1
  105. package/dist/ui/orchestration-listr.d.ts +0 -59
  106. package/dist/ui/orchestration-listr.js +0 -227
  107. package/dist/ui/orchestration-listr.js.map +0 -1
  108. package/dist/ui/pino-bridge.js.map +0 -1
  109. package/dist/ui/pool-delete-event-bridge.js.map +0 -1
  110. package/dist/ui/pool-fill-event-bridge.js.map +0 -1
  111. package/dist/ui/pool-utils.js.map +0 -1
  112. package/dist/ui/renderer-utils.js.map +0 -1
  113. package/dist/ui/run-pool-delete.d.ts +0 -11
  114. package/dist/ui/run-pool-delete.js +0 -15
  115. package/dist/ui/run-pool-delete.js.map +0 -1
  116. package/dist/ui/run-pool-fill.d.ts +0 -15
  117. package/dist/ui/run-pool-fill.js +0 -19
  118. package/dist/ui/run-pool-fill.js.map +0 -1
  119. package/dist/ui/run-pool-list.js.map +0 -1
  120. package/dist/ui/run.d.ts +0 -12
  121. package/dist/ui/run.js +0 -7
  122. package/dist/ui/run.js.map +0 -1
  123. package/dist/ui/state/reducer.js.map +0 -1
  124. package/dist/ui/strategies/display-strategy.d.ts +0 -51
  125. package/dist/ui/strategies/display-strategy.js +0 -5
  126. package/dist/ui/strategies/display-strategy.js.map +0 -1
  127. package/dist/ui/strategies/index.d.ts +0 -14
  128. package/dist/ui/strategies/index.js +0 -24
  129. package/dist/ui/strategies/index.js.map +0 -1
  130. package/dist/ui/strategies/interactive.d.ts +0 -36
  131. package/dist/ui/strategies/interactive.js +0 -149
  132. package/dist/ui/strategies/interactive.js.map +0 -1
  133. package/dist/ui/strategies/plain.d.ts +0 -24
  134. package/dist/ui/strategies/plain.js +0 -72
  135. package/dist/ui/strategies/plain.js.map +0 -1
  136. package/dist/ui/strategies/silent.d.ts +0 -22
  137. package/dist/ui/strategies/silent.js +0 -25
  138. package/dist/ui/strategies/silent.js.map +0 -1
  139. package/dist/ui/strategies/validation-display-strategy.d.ts +0 -64
  140. package/dist/ui/strategies/validation-display-strategy.js +0 -109
  141. package/dist/ui/strategies/validation-display-strategy.js.map +0 -1
  142. package/dist/ui/theme.js.map +0 -1
  143. package/dist/ui/validation-progress-renderer.d.ts +0 -48
  144. package/dist/ui/validation-progress-renderer.js +0 -114
  145. package/dist/ui/validation-progress-renderer.js.map +0 -1
  146. /package/dist/ui/{install-event-bridge.d.ts → adapters/install-event-bridge.d.ts} +0 -0
  147. /package/dist/ui/{install-event-bridge.js → adapters/install-event-bridge.js} +0 -0
  148. /package/dist/ui/{pino-bridge.d.ts → adapters/pino-bridge.d.ts} +0 -0
  149. /package/dist/ui/{pino-bridge.js → adapters/pino-bridge.js} +0 -0
  150. /package/dist/ui/{pool-delete-event-bridge.d.ts → adapters/pool-delete-event-bridge.d.ts} +0 -0
  151. /package/dist/ui/{pool-delete-event-bridge.js → adapters/pool-delete-event-bridge.js} +0 -0
  152. /package/dist/ui/{pool-fill-event-bridge.d.ts → adapters/pool-fill-event-bridge.d.ts} +0 -0
  153. /package/dist/ui/{pool-fill-event-bridge.js → adapters/pool-fill-event-bridge.js} +0 -0
  154. /package/dist/ui/{run-pool-list.d.ts → renderers/run-pool-list.d.ts} +0 -0
  155. /package/dist/ui/state/{reducer.d.ts → orchestration-reducer.d.ts} +0 -0
  156. /package/dist/ui/{pool-utils.d.ts → utils/pool-utils.d.ts} +0 -0
  157. /package/dist/ui/{pool-utils.js → utils/pool-utils.js} +0 -0
  158. /package/dist/ui/{renderer-utils.js → utils/renderer-utils.js} +0 -0
  159. /package/dist/ui/{theme.d.ts → utils/theme.d.ts} +0 -0
  160. /package/dist/ui/{theme.js → utils/theme.js} +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 b64hub
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -20,7 +20,7 @@ $ npm install -g @b64hub/sfpm-cli
20
20
  $ sfpm COMMAND
21
21
  running command...
22
22
  $ sfpm (--version)
23
- @b64hub/sfpm-cli/0.2.0 darwin-arm64 node-v25.2.1
23
+ @b64hub/sfpm-cli/0.3.0 linux-x64 node-v22.23.2
24
24
  $ sfpm --help [COMMAND]
25
25
  USAGE
26
26
  $ sfpm COMMAND
@@ -68,8 +68,7 @@ add packages as dependencies
68
68
 
69
69
  ```
70
70
  USAGE
71
- $ sfpm add PACKAGES... [--json | --plain] [--log-level
72
- trace|debug|info|warn|error]
71
+ $ sfpm add PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error]
73
72
 
74
73
  ARGUMENTS
75
74
  PACKAGES... package(s) to add
@@ -89,7 +88,7 @@ EXAMPLES
89
88
  $ sfpm add @myorg/package-a @myorg/package-b
90
89
  ```
91
90
 
92
- _See code: [dist/commands/add.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/add.js)_
91
+ _See code: [dist/commands/add.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/add.js)_
93
92
 
94
93
  ## `sfpm bootstrap`
95
94
 
@@ -97,8 +96,8 @@ Bootstrap SFPM packages into a production org
97
96
 
98
97
  ```
99
98
  USAGE
100
- $ sfpm bootstrap -o <value> [--json | --plain] [--log-level
101
- trace|debug|info|warn|error] [-f] [-t core|pool|full]
99
+ $ sfpm bootstrap -o <value> [--json | --plain] [--log-level trace|debug|info|warn|error] [-f] [-t
100
+ core|pool|full]
102
101
 
103
102
  FLAGS
104
103
  -f, --force force rebuild, re-promote, and re-install all packages
@@ -123,7 +122,7 @@ EXAMPLES
123
122
  $ sfpm bootstrap -o my-prod-org --force
124
123
  ```
125
124
 
126
- _See code: [dist/commands/bootstrap.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/bootstrap.js)_
125
+ _See code: [dist/commands/bootstrap.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/bootstrap.js)_
127
126
 
128
127
  ## `sfpm build PACKAGES`
129
128
 
@@ -131,9 +130,9 @@ build packages
131
130
 
132
131
  ```
133
132
  USAGE
134
- $ sfpm build PACKAGES... [--json | --plain] [--log-level
135
- trace|debug|info|warn|error] [--async] [-b <value>] [-o <value>] [-f] [-k <value>...] [--no-dependencies]
136
- [--source-only] [-t <value>] [-v <value>] [--turbo] [-l local|org|full] [-w <value>]
133
+ $ sfpm build PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error] [--async] [-b
134
+ <value>] [-o <value>] [-f] [-k <value>...] [--no-dependencies] [--source-only] [-t <value>] [-v <value>] [--turbo]
135
+ [-l local|org|full] [-w <value>]
137
136
 
138
137
  ARGUMENTS
139
138
  PACKAGES... package(s) to build
@@ -147,7 +146,7 @@ FLAGS
147
146
  <options: local|org|full>
148
147
  -o, --build-org=<value> target org for source package validation (deploy + test)
149
148
  -t, --tag=<value> tag for the build
150
- -v, --target-dev-hub=<value> [default: dev-niko, env: SF_DEV_HUB] target dev hub username
149
+ -v, --target-dev-hub=<value> [env: SF_DEV_HUB] target dev hub username
151
150
  -w, --wait=<value> [default: 120] timeout in minutes for package version creation
152
151
  --async return immediately without waiting for validation results
153
152
  --json output result as JSON
@@ -174,7 +173,7 @@ EXAMPLES
174
173
  $ sfpm build package-a package-b -v my-devhub
175
174
  ```
176
175
 
177
- _See code: [dist/commands/build/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/build/index.js)_
176
+ _See code: [dist/commands/build/index.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/build/index.js)_
178
177
 
179
178
  ## `sfpm build status`
180
179
 
@@ -182,8 +181,7 @@ check the status of async build watchers
182
181
 
183
182
  ```
184
183
  USAGE
185
- $ sfpm build status [--log-level trace|debug|info|warn|error]
186
- [--plain | --json] [--poll]
184
+ $ sfpm build status [--log-level trace|debug|info|warn|error] [--plain | --json] [--poll]
187
185
 
188
186
  FLAGS
189
187
  --json output as JSON
@@ -203,7 +201,7 @@ EXAMPLES
203
201
  $ sfpm build status --poll
204
202
  ```
205
203
 
206
- _See code: [dist/commands/build/status.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/build/status.js)_
204
+ _See code: [dist/commands/build/status.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/build/status.js)_
207
205
 
208
206
  ## `sfpm deploy PACKAGES`
209
207
 
@@ -211,8 +209,8 @@ deploy packages from local project source
211
209
 
212
210
  ```
213
211
  USAGE
214
- $ sfpm deploy PACKAGES... [--json | --plain] [--log-level
215
- trace|debug|info|warn|error] [-f] [--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
212
+ $ sfpm deploy PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error] [-f]
213
+ [--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
216
214
  NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
217
215
 
218
216
  ARGUMENTS
@@ -245,7 +243,7 @@ EXAMPLES
245
243
  $ sfpm deploy package-a package-b -o my-sandbox
246
244
  ```
247
245
 
248
- _See code: [dist/commands/deploy/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/deploy/index.js)_
246
+ _See code: [dist/commands/deploy/index.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/deploy/index.js)_
249
247
 
250
248
  ## `sfpm deploy artifact PACKAGES`
251
249
 
@@ -253,8 +251,8 @@ deploy packages from built artifacts using source-deploy
253
251
 
254
252
  ```
255
253
  USAGE
256
- $ sfpm deploy artifact PACKAGES... [--json | --plain] [--log-level
257
- trace|debug|info|warn|error] [-f] [--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
254
+ $ sfpm deploy artifact PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error] [-f]
255
+ [--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
258
256
  NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
259
257
 
260
258
  ARGUMENTS
@@ -287,7 +285,7 @@ EXAMPLES
287
285
  $ sfpm deploy artifact package-a package-b -o my-sandbox
288
286
  ```
289
287
 
290
- _See code: [dist/commands/deploy/artifact.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/deploy/artifact.js)_
288
+ _See code: [dist/commands/deploy/artifact.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/deploy/artifact.js)_
291
289
 
292
290
  ## `sfpm help [COMMAND]`
293
291
 
@@ -315,9 +313,9 @@ install packages
315
313
 
316
314
  ```
317
315
  USAGE
318
- $ sfpm install PACKAGES... -o <value> [--json | --plain]
319
- [--log-level trace|debug|info|warn|error] [-f] [-k <value>...] [--no-dependencies] [--regression-test] [-l
320
- NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
316
+ $ sfpm install PACKAGES... -o <value> [--json | --plain] [--log-level trace|debug|info|warn|error] [-f] [-k
317
+ <value>...] [--no-dependencies] [--regression-test] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg]
318
+ [--turbo]
321
319
 
322
320
  ARGUMENTS
323
321
  PACKAGES... package(s) to install
@@ -350,7 +348,7 @@ EXAMPLES
350
348
  $ sfpm install package-a package-b -o my-sandbox
351
349
  ```
352
350
 
353
- _See code: [dist/commands/install.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/install.js)_
351
+ _See code: [dist/commands/install.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/install.js)_
354
352
 
355
353
  ## `sfpm package create`
356
354
 
@@ -358,8 +356,8 @@ Create a new SFPM package with interactive scaffolding
358
356
 
359
357
  ```
360
358
  USAGE
361
- $ sfpm package create [--log-level trace|debug|info|warn|error]
362
- [--plain | --json] [-d <value>] [-n <value>] [--org-dependent] [-p <value>] [-s <value>] [-t unlocked|source|data]
359
+ $ sfpm package create [--log-level trace|debug|info|warn|error] [--plain | --json] [-d <value>] [-n <value>]
360
+ [--org-dependent] [-p <value>] [-s <value>] [-t unlocked|source|data]
363
361
 
364
362
  FLAGS
365
363
  -d, --devhub=<value> DevHub org username (required for unlocked packages)
@@ -387,7 +385,7 @@ EXAMPLES
387
385
  $ sfpm package create --json
388
386
  ```
389
387
 
390
- _See code: [dist/commands/package/create.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/package/create.js)_
388
+ _See code: [dist/commands/package/create.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/package/create.js)_
391
389
 
392
390
  ## `sfpm plugins`
393
391
 
@@ -685,12 +683,12 @@ delete orgs from a pool
685
683
 
686
684
  ```
687
685
  USAGE
688
- $ sfpm pool delete -t <value>... [--json | --plain]
689
- [--log-level trace|debug|info|warn|error] [--in-progress-only] [--my-pool] [-v <value>] [--type scratch|sandbox]
686
+ $ sfpm pool delete -t <value>... [--json | --plain] [--log-level trace|debug|info|warn|error]
687
+ [--in-progress-only] [--my-pool] [-v <value>] [--type scratch|sandbox]
690
688
 
691
689
  FLAGS
692
690
  -t, --tag=<value>... (required) pool tag to delete from (repeat to delete from multiple pools)
693
- -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
691
+ -v, --target-dev-hub=<value> target hub org username or alias
694
692
  --in-progress-only only delete orgs with "In Progress" status
695
693
  --json output result as JSON
696
694
  --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
@@ -717,7 +715,7 @@ EXAMPLES
717
715
  $ sfpm pool delete --tag dev-pool -v my-devhub --json
718
716
  ```
719
717
 
720
- _See code: [dist/commands/pool/delete.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/delete.js)_
718
+ _See code: [dist/commands/pool/delete.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/pool/delete.js)_
721
719
 
722
720
  ## `sfpm pool fetch`
723
721
 
@@ -725,14 +723,14 @@ fetch an org from a pool
725
723
 
726
724
  ```
727
725
  USAGE
728
- $ sfpm pool fetch -t <value> [--json | --plain] [--log-level
729
- trace|debug|info|warn|error] [-a <value>] [--limit <value>] [--my-pool] [--send-to <value>] [--set-default]
730
- [--source-tracking] [-v <value>] [--type scratch|sandbox]
726
+ $ sfpm pool fetch -t <value> [--json | --plain] [--log-level trace|debug|info|warn|error] [-a <value>]
727
+ [--limit <value>] [--my-pool] [--send-to <value>] [--set-default] [--source-tracking] [-v <value>] [--type
728
+ scratch|sandbox]
731
729
 
732
730
  FLAGS
733
731
  -a, --alias=<value> set a local alias for the fetched org
734
732
  -t, --tag=<value> (required) pool tag to fetch from
735
- -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
733
+ -v, --target-dev-hub=<value> target hub org username or alias
736
734
  --json output result as JSON
737
735
  --limit=<value> max orgs to return when using --all
738
736
  --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
@@ -762,7 +760,7 @@ EXAMPLES
762
760
  $ sfpm pool fetch --tag dev-pool -v my-devhub --json
763
761
  ```
764
762
 
765
- _See code: [dist/commands/pool/fetch.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/fetch.js)_
763
+ _See code: [dist/commands/pool/fetch.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/pool/fetch.js)_
766
764
 
767
765
  ## `sfpm pool fill`
768
766
 
@@ -770,14 +768,14 @@ fill a pool with orgs
770
768
 
771
769
  ```
772
770
  USAGE
773
- $ sfpm pool fill -t <value>... [--json | --plain]
774
- [--log-level trace|debug|info|warn|error] [--batch-size <value>] [-d <value>] [--expiry-days <value>] [--max
775
- <value>] [--name-pattern <value>] [-v <value>] [--type scratch|sandbox] [--use-local-source]
771
+ $ sfpm pool fill -t <value>... [--json | --plain] [--log-level trace|debug|info|warn|error] [--batch-size
772
+ <value>] [-d <value>] [--expiry-days <value>] [--max <value>] [--name-pattern <value>] [-v <value>] [--type
773
+ scratch|sandbox] [--use-local-source]
776
774
 
777
775
  FLAGS
778
776
  -d, --definition-file=<value> org definition file (scratch org or sandbox)
779
777
  -t, --tag=<value>... (required) pool tag (repeat to fill multiple pools)
780
- -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
778
+ -v, --target-dev-hub=<value> target hub org username or alias
781
779
  --batch-size=<value> max concurrent org creations (default: 5)
782
780
  --expiry-days=<value> scratch org expiry in days (default: 7)
783
781
  --json output result as JSON
@@ -803,7 +801,7 @@ EXAMPLES
803
801
  $ sfpm pool fill --tag dev-pool --max 10 -d config/project-scratch-def.json -v my-devhub --json
804
802
  ```
805
803
 
806
- _See code: [dist/commands/pool/fill.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/fill.js)_
804
+ _See code: [dist/commands/pool/fill.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/pool/fill.js)_
807
805
 
808
806
  ## `sfpm pool list`
809
807
 
@@ -811,12 +809,12 @@ list orgs in a pool
811
809
 
812
810
  ```
813
811
  USAGE
814
- $ sfpm pool list [--json | --plain] [--log-level
815
- trace|debug|info|warn|error] [--my-pool] [-t <value>] [-v <value>] [--type scratch|sandbox]
812
+ $ sfpm pool list [--json | --plain] [--log-level trace|debug|info|warn|error] [--my-pool] [-t <value>] [-v
813
+ <value>] [--type scratch|sandbox]
816
814
 
817
815
  FLAGS
818
816
  -t, --tag=<value> pool tag to query (omit to list all pools)
819
- -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
817
+ -v, --target-dev-hub=<value> target hub org username or alias
820
818
  --json output result as JSON
821
819
  --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
822
820
  <options: trace|debug|info|warn|error>
@@ -838,7 +836,7 @@ EXAMPLES
838
836
  $ sfpm pool list --tag dev-pool -v my-devhub --json
839
837
  ```
840
838
 
841
- _See code: [dist/commands/pool/list.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/list.js)_
839
+ _See code: [dist/commands/pool/list.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/pool/list.js)_
842
840
 
843
841
  ## `sfpm project`
844
842
 
@@ -846,8 +844,7 @@ Overview of the project
846
844
 
847
845
  ```
848
846
  USAGE
849
- $ sfpm project [--json | --plain] [--log-level
850
- trace|debug|info|warn|error] [-p]
847
+ $ sfpm project [--json | --plain] [--log-level trace|debug|info|warn|error] [-p]
851
848
 
852
849
  FLAGS
853
850
  -p, --path Display package paths
@@ -863,7 +860,7 @@ EXAMPLES
863
860
  $ sfpm project
864
861
  ```
865
862
 
866
- _See code: [dist/commands/project/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/index.js)_
863
+ _See code: [dist/commands/project/index.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/project/index.js)_
867
864
 
868
865
  ## `sfpm project init`
869
866
 
@@ -871,8 +868,7 @@ Verify project configuration and setup requirements
871
868
 
872
869
  ```
873
870
  USAGE
874
- $ sfpm project init [--json | --plain] [--log-level
875
- trace|debug|info|warn|error] [-f]
871
+ $ sfpm project init [--json | --plain] [--log-level trace|debug|info|warn|error] [-f]
876
872
 
877
873
  FLAGS
878
874
  -f, --fix Attempt to fix issues automatically
@@ -890,7 +886,7 @@ EXAMPLES
890
886
  $ sfpm project init --fix
891
887
  ```
892
888
 
893
- _See code: [dist/commands/project/init/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/init/index.js)_
889
+ _See code: [dist/commands/project/init/index.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/project/init/index.js)_
894
890
 
895
891
  ## `sfpm project init turbo`
896
892
 
@@ -898,8 +894,8 @@ Initialize a turbo-native workspace for SFPM packages
898
894
 
899
895
  ```
900
896
  USAGE
901
- $ sfpm project init turbo [--log-level trace|debug|info|warn|error]
902
- [--plain | --json] [-m] [--npm-scope <value>] [--package-manager pnpm|npm|yarn] [--workspace-dir <value>] [-y]
897
+ $ sfpm project init turbo [--log-level trace|debug|info|warn|error] [--plain | --json] [-m] [--npm-scope <value>]
898
+ [--package-manager pnpm|npm|yarn] [--workspace-dir <value>] [-y]
903
899
 
904
900
  FLAGS
905
901
  -m, --migrate migrate from an existing sfdx-project.json
@@ -928,7 +924,7 @@ EXAMPLES
928
924
  $ sfpm project init turbo --json
929
925
  ```
930
926
 
931
- _See code: [dist/commands/project/init/turbo.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/init/turbo.js)_
927
+ _See code: [dist/commands/project/init/turbo.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/project/init/turbo.js)_
932
928
 
933
929
  ## `sfpm project sync`
934
930
 
@@ -936,8 +932,7 @@ Generate sfdx-project.json from workspace package.json files
936
932
 
937
933
  ```
938
934
  USAGE
939
- $ sfpm project sync [--log-level trace|debug|info|warn|error]
940
- [--plain | --json] [--api-version <value>]
935
+ $ sfpm project sync [--log-level trace|debug|info|warn|error] [--plain | --json] [--api-version <value>]
941
936
 
942
937
  FLAGS
943
938
  --api-version=<value> Override Salesforce API version (e.g., 63.0)
@@ -955,7 +950,7 @@ EXAMPLES
955
950
  $ sfpm project sync --api-version 63.0
956
951
  ```
957
952
 
958
- _See code: [dist/commands/project/sync.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/sync.js)_
953
+ _See code: [dist/commands/project/sync.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/project/sync.js)_
959
954
 
960
955
  ## `sfpm project version bump`
961
956
 
@@ -963,9 +958,8 @@ Bump package versions in sfdx-project.json
963
958
 
964
959
  ```
965
960
  USAGE
966
- $ sfpm project version bump [--json | --plain] [--log-level
967
- trace|debug|info|warn|error] [-a] [--dryrun] [-M] [-m] [-p <value>] [--patch] [-f <value>] [-o <value>] [-r <value>]
968
- [-v <value>]
961
+ $ sfpm project version bump [--json | --plain] [--log-level trace|debug|info|warn|error] [-a] [--dryrun] [-M] [-m] [-p
962
+ <value>] [--patch] [-f <value>] [-o <value>] [-r <value>] [-v <value>]
969
963
 
970
964
  FLAGS
971
965
  -M, --major Increment major number
@@ -1000,7 +994,7 @@ EXAMPLES
1000
994
  $ sfp project version bump --package mypackage --patch --projectfile path/to/sfdx-project.json
1001
995
  ```
1002
996
 
1003
- _See code: [dist/commands/project/version/bump.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/version/bump.js)_
997
+ _See code: [dist/commands/project/version/bump.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/project/version/bump.js)_
1004
998
 
1005
999
  ## `sfpm publish [PACKAGES]`
1006
1000
 
@@ -1008,8 +1002,8 @@ publish packages from their dist directories
1008
1002
 
1009
1003
  ```
1010
1004
  USAGE
1011
- $ sfpm publish [PACKAGES...] [--json | --plain]
1012
- [--log-level trace|debug|info|warn|error] [--dry-run] [--tag <value>]
1005
+ $ sfpm publish [PACKAGES...] [--json | --plain] [--log-level trace|debug|info|warn|error] [--dry-run]
1006
+ [--tag <value>]
1013
1007
 
1014
1008
  ARGUMENTS
1015
1009
  [PACKAGES...] package(s) to publish (defaults to all workspace packages)
@@ -1033,7 +1027,7 @@ EXAMPLES
1033
1027
  $ sfpm publish all
1034
1028
  ```
1035
1029
 
1036
- _See code: [dist/commands/publish.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/publish.js)_
1030
+ _See code: [dist/commands/publish.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/publish.js)_
1037
1031
 
1038
1032
  ## `sfpm watch cancel ID`
1039
1033
 
@@ -1041,8 +1035,7 @@ cancel a running watcher by killing its process
1041
1035
 
1042
1036
  ```
1043
1037
  USAGE
1044
- $ sfpm watch cancel ID [--log-level trace|debug|info|warn|error]
1045
- [--plain | --json]
1038
+ $ sfpm watch cancel ID [--log-level trace|debug|info|warn|error] [--plain | --json]
1046
1039
 
1047
1040
  ARGUMENTS
1048
1041
  ID watcher ID to cancel
@@ -1060,7 +1053,7 @@ EXAMPLES
1060
1053
  $ sfpm watch cancel 1234567890-abc123
1061
1054
  ```
1062
1055
 
1063
- _See code: [dist/commands/watch/cancel.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/watch/cancel.js)_
1056
+ _See code: [dist/commands/watch/cancel.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/watch/cancel.js)_
1064
1057
 
1065
1058
  ## `sfpm watch clean`
1066
1059
 
@@ -1068,8 +1061,7 @@ remove completed, errored, and orphaned watcher state files
1068
1061
 
1069
1062
  ```
1070
1063
  USAGE
1071
- $ sfpm watch clean [--log-level trace|debug|info|warn|error]
1072
- [--plain | --json] [--type build|deploy|test]
1064
+ $ sfpm watch clean [--log-level trace|debug|info|warn|error] [--plain | --json] [--type build|deploy|test]
1073
1065
 
1074
1066
  FLAGS
1075
1067
  --json output as JSON
@@ -1090,7 +1082,7 @@ EXAMPLES
1090
1082
  $ sfpm watch clean --json
1091
1083
  ```
1092
1084
 
1093
- _See code: [dist/commands/watch/clean.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/watch/clean.js)_
1085
+ _See code: [dist/commands/watch/clean.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/watch/clean.js)_
1094
1086
 
1095
1087
  ## `sfpm watch status`
1096
1088
 
@@ -1098,8 +1090,8 @@ check the status of async watcher jobs
1098
1090
 
1099
1091
  ```
1100
1092
  USAGE
1101
- $ sfpm watch status [--log-level trace|debug|info|warn|error]
1102
- [--plain | --json] [--poll] [--type build|deploy|test]
1093
+ $ sfpm watch status [--log-level trace|debug|info|warn|error] [--plain | --json] [--poll] [--type
1094
+ build|deploy|test]
1103
1095
 
1104
1096
  FLAGS
1105
1097
  --json output as JSON
@@ -1123,5 +1115,5 @@ EXAMPLES
1123
1115
  $ sfpm watch status --json
1124
1116
  ```
1125
1117
 
1126
- _See code: [dist/commands/watch/status.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/watch/status.js)_
1118
+ _See code: [dist/commands/watch/status.js](https://github.com/b64hub/sfpm/blob/v0.3.0/dist/commands/watch/status.js)_
1127
1119
  <!-- commandsstop -->
@@ -1,5 +1,18 @@
1
1
  import SfpmCommand from '../sfpm-command.js';
2
2
  import { type BootstrapResult } from '../types/bootstrap.js';
3
+ /**
4
+ * Fold `ValidationResolver.resolve()`'s per-package results down to just the
5
+ * failures, in the shape `buildPackages()`'s caller merges into the overall
6
+ * bootstrap `results` array. Exported as a pure function so it's testable
7
+ * without constructing a real `ValidationResolver`/`ProjectService`.
8
+ */
9
+ export declare function foldValidationFailures(validationResults: Map<string, {
10
+ error?: string;
11
+ status: string;
12
+ }>): Array<{
13
+ error: string;
14
+ packageName: string;
15
+ }>;
3
16
  export default class Bootstrap extends SfpmCommand {
4
17
  static description: string;
5
18
  static examples: string[];
@@ -9,6 +22,14 @@ export default class Bootstrap extends SfpmCommand {
9
22
  tier: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
23
  };
11
24
  execute(): Promise<BootstrapResult | void>;
25
+ /**
26
+ * Build packages that need it, then resolve any pending org validations
27
+ * (e.g. unlocked package version creation) before ink is unmounted, so the
28
+ * live UI reflects validation progress instead of leaving packages stuck
29
+ * in a 'validating' state. Validation failures are returned alongside the
30
+ * build result rather than thrown, so the caller can fold them into the
31
+ * same results array as build/promote/install failures.
32
+ */
12
33
  private buildPackages;
13
34
  private cleanup;
14
35
  private cloneRepo;