@b64hub/sfpm-cli 0.2.0 → 0.4.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.
- package/LICENSE +21 -0
- package/README.md +143 -74
- package/dist/commands/bootstrap.d.ts +21 -0
- package/dist/commands/bootstrap.js +123 -32
- package/dist/commands/bootstrap.js.map +1 -1
- package/dist/commands/build/index.d.ts +11 -1
- package/dist/commands/build/index.js +73 -82
- package/dist/commands/build/index.js.map +1 -1
- package/dist/commands/deploy/artifact.d.ts +1 -3
- package/dist/commands/deploy/artifact.js +7 -7
- package/dist/commands/deploy/artifact.js.map +1 -1
- package/dist/commands/deploy/index.d.ts +3 -5
- package/dist/commands/deploy/index.js +10 -22
- package/dist/commands/deploy/index.js.map +1 -1
- package/dist/commands/dev/pool-list-replay.js +1 -1
- package/dist/commands/dev/pool-list-replay.js.map +1 -1
- package/dist/commands/dev/pool-replay.js +2 -1
- package/dist/commands/dev/pool-replay.js.map +1 -1
- package/dist/commands/dev/replay.js +2 -2
- package/dist/commands/dev/replay.js.map +1 -1
- package/dist/commands/install.js +4 -18
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/pool/delete.js +8 -8
- package/dist/commands/pool/delete.js.map +1 -1
- package/dist/commands/pool/fetch.js +57 -66
- package/dist/commands/pool/fetch.js.map +1 -1
- package/dist/commands/pool/fill.js +6 -7
- package/dist/commands/pool/fill.js.map +1 -1
- package/dist/commands/pool/list.js +2 -2
- package/dist/commands/pool/list.js.map +1 -1
- package/dist/commands/release/create.d.ts +25 -0
- package/dist/commands/release/create.js +291 -0
- package/dist/commands/release/create.js.map +1 -0
- package/dist/commands/release/run.d.ts +13 -0
- package/dist/commands/release/run.js +142 -0
- package/dist/commands/release/run.js.map +1 -0
- package/dist/logger.js +1 -1
- package/dist/logger.js.map +1 -1
- package/dist/sfpm-command.d.ts +17 -1
- package/dist/sfpm-command.js +55 -21
- package/dist/sfpm-command.js.map +1 -1
- package/dist/types/release.d.ts +110 -0
- package/dist/types/release.js +142 -0
- package/dist/types/release.js.map +1 -0
- package/dist/ui/{build-event-bridge.d.ts → adapters/build-event-bridge.d.ts} +7 -9
- package/dist/ui/{build-event-bridge.js → adapters/build-event-bridge.js} +7 -9
- package/dist/ui/adapters/build-event-bridge.js.map +1 -0
- package/dist/ui/adapters/install-event-bridge.js.map +1 -0
- package/dist/ui/adapters/pino-bridge.js.map +1 -0
- package/dist/ui/adapters/pool-delete-event-bridge.js.map +1 -0
- package/dist/ui/adapters/pool-fill-event-bridge.js.map +1 -0
- package/dist/ui/apps/BuildApp.js +1 -1
- package/dist/ui/apps/BuildApp.js.map +1 -1
- package/dist/ui/apps/PoolDeleteApp.js +1 -1
- package/dist/ui/apps/PoolDeleteApp.js.map +1 -1
- package/dist/ui/apps/PoolFillApp.js +1 -1
- package/dist/ui/apps/PoolFillApp.js.map +1 -1
- package/dist/ui/components/OrchestrationView.js +3 -3
- package/dist/ui/components/OrchestrationView.js.map +1 -1
- package/dist/ui/components/base/Footer.js +2 -2
- package/dist/ui/components/base/Footer.js.map +1 -1
- package/dist/ui/components/base/GradientBar.d.ts +1 -1
- package/dist/ui/components/base/GradientBar.js +1 -1
- package/dist/ui/components/base/GradientBar.js.map +1 -1
- package/dist/ui/components/base/StatusIcon.js +1 -1
- package/dist/ui/components/base/StatusIcon.js.map +1 -1
- package/dist/ui/components/pool/OrgRow.js +2 -2
- package/dist/ui/components/pool/OrgRow.js.map +1 -1
- package/dist/ui/components/pool/PoolOrgRow.js +1 -1
- package/dist/ui/components/pool/PoolOrgRow.js.map +1 -1
- package/dist/ui/renderers/run-orchestrator-plain.d.ts +11 -0
- package/dist/ui/renderers/run-orchestrator-plain.js +47 -0
- package/dist/ui/renderers/run-orchestrator-plain.js.map +1 -0
- package/dist/ui/renderers/run-orchestrator.d.ts +25 -0
- package/dist/ui/renderers/run-orchestrator.js +17 -0
- package/dist/ui/renderers/run-orchestrator.js.map +1 -0
- package/dist/ui/renderers/run-pool-delete-plain.d.ts +12 -0
- package/dist/ui/renderers/run-pool-delete-plain.js +31 -0
- package/dist/ui/renderers/run-pool-delete-plain.js.map +1 -0
- package/dist/ui/renderers/run-pool-delete.d.ts +12 -0
- package/dist/ui/renderers/run-pool-delete.js +20 -0
- package/dist/ui/renderers/run-pool-delete.js.map +1 -0
- package/dist/ui/renderers/run-pool-fill-plain.d.ts +10 -0
- package/dist/ui/renderers/run-pool-fill-plain.js +60 -0
- package/dist/ui/renderers/run-pool-fill-plain.js.map +1 -0
- package/dist/ui/renderers/run-pool-fill.d.ts +16 -0
- package/dist/ui/renderers/run-pool-fill.js +24 -0
- package/dist/ui/renderers/run-pool-fill.js.map +1 -0
- package/dist/ui/{run-pool-list.js → renderers/run-pool-list.js} +1 -1
- package/dist/ui/renderers/run-pool-list.js.map +1 -0
- package/dist/ui/state/adapters.js +1 -1
- package/dist/ui/state/adapters.js.map +1 -1
- package/dist/ui/state/{reducer.js → orchestration-reducer.js} +1 -1
- package/dist/ui/state/orchestration-reducer.js.map +1 -0
- package/dist/ui/table.js +1 -1
- package/dist/ui/table.js.map +1 -1
- package/dist/ui/utils/pool-utils.js.map +1 -0
- package/dist/ui/{renderer-utils.d.ts → utils/renderer-utils.d.ts} +11 -0
- package/dist/ui/utils/renderer-utils.js.map +1 -0
- package/dist/ui/utils/theme.js.map +1 -0
- package/oclif.manifest.json +499 -305
- package/package.json +16 -10
- package/dist/ui/build-event-bridge.js.map +0 -1
- package/dist/ui/build-progress-renderer.d.ts +0 -84
- package/dist/ui/build-progress-renderer.js +0 -326
- package/dist/ui/build-progress-renderer.js.map +0 -1
- package/dist/ui/build-summary.d.ts +0 -15
- package/dist/ui/build-summary.js +0 -26
- package/dist/ui/build-summary.js.map +0 -1
- package/dist/ui/install-event-bridge.js.map +0 -1
- package/dist/ui/install-progress-renderer.d.ts +0 -72
- package/dist/ui/install-progress-renderer.js +0 -297
- package/dist/ui/install-progress-renderer.js.map +0 -1
- package/dist/ui/orchestration-listr.d.ts +0 -59
- package/dist/ui/orchestration-listr.js +0 -227
- package/dist/ui/orchestration-listr.js.map +0 -1
- package/dist/ui/pino-bridge.js.map +0 -1
- package/dist/ui/pool-delete-event-bridge.js.map +0 -1
- package/dist/ui/pool-fill-event-bridge.js.map +0 -1
- package/dist/ui/pool-utils.js.map +0 -1
- package/dist/ui/renderer-utils.js.map +0 -1
- package/dist/ui/run-pool-delete.d.ts +0 -11
- package/dist/ui/run-pool-delete.js +0 -15
- package/dist/ui/run-pool-delete.js.map +0 -1
- package/dist/ui/run-pool-fill.d.ts +0 -15
- package/dist/ui/run-pool-fill.js +0 -19
- package/dist/ui/run-pool-fill.js.map +0 -1
- package/dist/ui/run-pool-list.js.map +0 -1
- package/dist/ui/run.d.ts +0 -12
- package/dist/ui/run.js +0 -7
- package/dist/ui/run.js.map +0 -1
- package/dist/ui/state/reducer.js.map +0 -1
- package/dist/ui/strategies/display-strategy.d.ts +0 -51
- package/dist/ui/strategies/display-strategy.js +0 -5
- package/dist/ui/strategies/display-strategy.js.map +0 -1
- package/dist/ui/strategies/index.d.ts +0 -14
- package/dist/ui/strategies/index.js +0 -24
- package/dist/ui/strategies/index.js.map +0 -1
- package/dist/ui/strategies/interactive.d.ts +0 -36
- package/dist/ui/strategies/interactive.js +0 -149
- package/dist/ui/strategies/interactive.js.map +0 -1
- package/dist/ui/strategies/plain.d.ts +0 -24
- package/dist/ui/strategies/plain.js +0 -72
- package/dist/ui/strategies/plain.js.map +0 -1
- package/dist/ui/strategies/silent.d.ts +0 -22
- package/dist/ui/strategies/silent.js +0 -25
- package/dist/ui/strategies/silent.js.map +0 -1
- package/dist/ui/strategies/validation-display-strategy.d.ts +0 -64
- package/dist/ui/strategies/validation-display-strategy.js +0 -109
- package/dist/ui/strategies/validation-display-strategy.js.map +0 -1
- package/dist/ui/theme.js.map +0 -1
- package/dist/ui/validation-progress-renderer.d.ts +0 -48
- package/dist/ui/validation-progress-renderer.js +0 -114
- package/dist/ui/validation-progress-renderer.js.map +0 -1
- /package/dist/ui/{install-event-bridge.d.ts → adapters/install-event-bridge.d.ts} +0 -0
- /package/dist/ui/{install-event-bridge.js → adapters/install-event-bridge.js} +0 -0
- /package/dist/ui/{pino-bridge.d.ts → adapters/pino-bridge.d.ts} +0 -0
- /package/dist/ui/{pino-bridge.js → adapters/pino-bridge.js} +0 -0
- /package/dist/ui/{pool-delete-event-bridge.d.ts → adapters/pool-delete-event-bridge.d.ts} +0 -0
- /package/dist/ui/{pool-delete-event-bridge.js → adapters/pool-delete-event-bridge.js} +0 -0
- /package/dist/ui/{pool-fill-event-bridge.d.ts → adapters/pool-fill-event-bridge.d.ts} +0 -0
- /package/dist/ui/{pool-fill-event-bridge.js → adapters/pool-fill-event-bridge.js} +0 -0
- /package/dist/ui/{run-pool-list.d.ts → renderers/run-pool-list.d.ts} +0 -0
- /package/dist/ui/state/{reducer.d.ts → orchestration-reducer.d.ts} +0 -0
- /package/dist/ui/{pool-utils.d.ts → utils/pool-utils.d.ts} +0 -0
- /package/dist/ui/{pool-utils.js → utils/pool-utils.js} +0 -0
- /package/dist/ui/{renderer-utils.js → utils/renderer-utils.js} +0 -0
- /package/dist/ui/{theme.d.ts → utils/theme.d.ts} +0 -0
- /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.
|
|
23
|
+
@b64hub/sfpm-cli/0.4.0 linux-x64 node-v22.23.3
|
|
24
24
|
$ sfpm --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ sfpm COMMAND
|
|
@@ -58,6 +58,8 @@ USAGE
|
|
|
58
58
|
* [`sfpm project sync`](#sfpm-project-sync)
|
|
59
59
|
* [`sfpm project version bump`](#sfpm-project-version-bump)
|
|
60
60
|
* [`sfpm publish [PACKAGES]`](#sfpm-publish-packages)
|
|
61
|
+
* [`sfpm release create [PACKAGES]`](#sfpm-release-create-packages)
|
|
62
|
+
* [`sfpm release run FILE`](#sfpm-release-run-file)
|
|
61
63
|
* [`sfpm watch cancel ID`](#sfpm-watch-cancel-id)
|
|
62
64
|
* [`sfpm watch clean`](#sfpm-watch-clean)
|
|
63
65
|
* [`sfpm watch status`](#sfpm-watch-status)
|
|
@@ -68,8 +70,7 @@ add packages as dependencies
|
|
|
68
70
|
|
|
69
71
|
```
|
|
70
72
|
USAGE
|
|
71
|
-
$ sfpm add PACKAGES... [--json | --plain] [--log-level
|
|
72
|
-
trace|debug|info|warn|error]
|
|
73
|
+
$ sfpm add PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error]
|
|
73
74
|
|
|
74
75
|
ARGUMENTS
|
|
75
76
|
PACKAGES... package(s) to add
|
|
@@ -89,7 +90,7 @@ EXAMPLES
|
|
|
89
90
|
$ sfpm add @myorg/package-a @myorg/package-b
|
|
90
91
|
```
|
|
91
92
|
|
|
92
|
-
_See code: [dist/commands/add.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
93
|
+
_See code: [dist/commands/add.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/add.js)_
|
|
93
94
|
|
|
94
95
|
## `sfpm bootstrap`
|
|
95
96
|
|
|
@@ -97,8 +98,8 @@ Bootstrap SFPM packages into a production org
|
|
|
97
98
|
|
|
98
99
|
```
|
|
99
100
|
USAGE
|
|
100
|
-
$ sfpm bootstrap -o <value> [--json | --plain] [--log-level
|
|
101
|
-
|
|
101
|
+
$ sfpm bootstrap -o <value> [--json | --plain] [--log-level trace|debug|info|warn|error] [-f] [-t
|
|
102
|
+
core|pool|full]
|
|
102
103
|
|
|
103
104
|
FLAGS
|
|
104
105
|
-f, --force force rebuild, re-promote, and re-install all packages
|
|
@@ -123,7 +124,7 @@ EXAMPLES
|
|
|
123
124
|
$ sfpm bootstrap -o my-prod-org --force
|
|
124
125
|
```
|
|
125
126
|
|
|
126
|
-
_See code: [dist/commands/bootstrap.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
127
|
+
_See code: [dist/commands/bootstrap.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/bootstrap.js)_
|
|
127
128
|
|
|
128
129
|
## `sfpm build PACKAGES`
|
|
129
130
|
|
|
@@ -131,9 +132,9 @@ build packages
|
|
|
131
132
|
|
|
132
133
|
```
|
|
133
134
|
USAGE
|
|
134
|
-
$ sfpm build PACKAGES... [--json | --plain] [--log-level
|
|
135
|
-
|
|
136
|
-
[
|
|
135
|
+
$ sfpm build PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error] [--async] [-b
|
|
136
|
+
<value>] [-o <value>] [-f] [-k <value>...] [--no-dependencies] [--source-only] [-t <value>] [-v <value>] [--turbo]
|
|
137
|
+
[-l local|org|full] [-w <value>]
|
|
137
138
|
|
|
138
139
|
ARGUMENTS
|
|
139
140
|
PACKAGES... package(s) to build
|
|
@@ -147,7 +148,7 @@ FLAGS
|
|
|
147
148
|
<options: local|org|full>
|
|
148
149
|
-o, --build-org=<value> target org for source package validation (deploy + test)
|
|
149
150
|
-t, --tag=<value> tag for the build
|
|
150
|
-
-v, --target-dev-hub=<value> [
|
|
151
|
+
-v, --target-dev-hub=<value> [env: SF_DEV_HUB] target dev hub username
|
|
151
152
|
-w, --wait=<value> [default: 120] timeout in minutes for package version creation
|
|
152
153
|
--async return immediately without waiting for validation results
|
|
153
154
|
--json output result as JSON
|
|
@@ -174,7 +175,7 @@ EXAMPLES
|
|
|
174
175
|
$ sfpm build package-a package-b -v my-devhub
|
|
175
176
|
```
|
|
176
177
|
|
|
177
|
-
_See code: [dist/commands/build/index.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
178
|
+
_See code: [dist/commands/build/index.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/build/index.js)_
|
|
178
179
|
|
|
179
180
|
## `sfpm build status`
|
|
180
181
|
|
|
@@ -182,8 +183,7 @@ check the status of async build watchers
|
|
|
182
183
|
|
|
183
184
|
```
|
|
184
185
|
USAGE
|
|
185
|
-
$ sfpm build status [--log-level trace|debug|info|warn|error]
|
|
186
|
-
[--plain | --json] [--poll]
|
|
186
|
+
$ sfpm build status [--log-level trace|debug|info|warn|error] [--plain | --json] [--poll]
|
|
187
187
|
|
|
188
188
|
FLAGS
|
|
189
189
|
--json output as JSON
|
|
@@ -203,7 +203,7 @@ EXAMPLES
|
|
|
203
203
|
$ sfpm build status --poll
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
_See code: [dist/commands/build/status.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
206
|
+
_See code: [dist/commands/build/status.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/build/status.js)_
|
|
207
207
|
|
|
208
208
|
## `sfpm deploy PACKAGES`
|
|
209
209
|
|
|
@@ -211,8 +211,8 @@ deploy packages from local project source
|
|
|
211
211
|
|
|
212
212
|
```
|
|
213
213
|
USAGE
|
|
214
|
-
$ sfpm deploy PACKAGES... [--json | --plain] [--log-level
|
|
215
|
-
|
|
214
|
+
$ sfpm deploy PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error] [-f]
|
|
215
|
+
[--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
|
|
216
216
|
NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
|
|
217
217
|
|
|
218
218
|
ARGUMENTS
|
|
@@ -245,7 +245,7 @@ EXAMPLES
|
|
|
245
245
|
$ sfpm deploy package-a package-b -o my-sandbox
|
|
246
246
|
```
|
|
247
247
|
|
|
248
|
-
_See code: [dist/commands/deploy/index.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
248
|
+
_See code: [dist/commands/deploy/index.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/deploy/index.js)_
|
|
249
249
|
|
|
250
250
|
## `sfpm deploy artifact PACKAGES`
|
|
251
251
|
|
|
@@ -253,8 +253,8 @@ deploy packages from built artifacts using source-deploy
|
|
|
253
253
|
|
|
254
254
|
```
|
|
255
255
|
USAGE
|
|
256
|
-
$ sfpm deploy artifact PACKAGES... [--json | --plain] [--log-level
|
|
257
|
-
|
|
256
|
+
$ sfpm deploy artifact PACKAGES... [--json | --plain] [--log-level trace|debug|info|warn|error] [-f]
|
|
257
|
+
[--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
|
|
258
258
|
NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
|
|
259
259
|
|
|
260
260
|
ARGUMENTS
|
|
@@ -287,7 +287,7 @@ EXAMPLES
|
|
|
287
287
|
$ sfpm deploy artifact package-a package-b -o my-sandbox
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [dist/commands/deploy/artifact.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
290
|
+
_See code: [dist/commands/deploy/artifact.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/deploy/artifact.js)_
|
|
291
291
|
|
|
292
292
|
## `sfpm help [COMMAND]`
|
|
293
293
|
|
|
@@ -315,9 +315,9 @@ install packages
|
|
|
315
315
|
|
|
316
316
|
```
|
|
317
317
|
USAGE
|
|
318
|
-
$ sfpm install PACKAGES... -o <value> [--json | --plain]
|
|
319
|
-
|
|
320
|
-
|
|
318
|
+
$ sfpm install PACKAGES... -o <value> [--json | --plain] [--log-level trace|debug|info|warn|error] [-f] [-k
|
|
319
|
+
<value>...] [--no-dependencies] [--regression-test] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg]
|
|
320
|
+
[--turbo]
|
|
321
321
|
|
|
322
322
|
ARGUMENTS
|
|
323
323
|
PACKAGES... package(s) to install
|
|
@@ -350,7 +350,7 @@ EXAMPLES
|
|
|
350
350
|
$ sfpm install package-a package-b -o my-sandbox
|
|
351
351
|
```
|
|
352
352
|
|
|
353
|
-
_See code: [dist/commands/install.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
353
|
+
_See code: [dist/commands/install.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/install.js)_
|
|
354
354
|
|
|
355
355
|
## `sfpm package create`
|
|
356
356
|
|
|
@@ -358,8 +358,8 @@ Create a new SFPM package with interactive scaffolding
|
|
|
358
358
|
|
|
359
359
|
```
|
|
360
360
|
USAGE
|
|
361
|
-
$ sfpm package create [--log-level trace|debug|info|warn|error]
|
|
362
|
-
[--
|
|
361
|
+
$ sfpm package create [--log-level trace|debug|info|warn|error] [--plain | --json] [-d <value>] [-n <value>]
|
|
362
|
+
[--org-dependent] [-p <value>] [-s <value>] [-t unlocked|source|data]
|
|
363
363
|
|
|
364
364
|
FLAGS
|
|
365
365
|
-d, --devhub=<value> DevHub org username (required for unlocked packages)
|
|
@@ -387,7 +387,7 @@ EXAMPLES
|
|
|
387
387
|
$ sfpm package create --json
|
|
388
388
|
```
|
|
389
389
|
|
|
390
|
-
_See code: [dist/commands/package/create.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
390
|
+
_See code: [dist/commands/package/create.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/package/create.js)_
|
|
391
391
|
|
|
392
392
|
## `sfpm plugins`
|
|
393
393
|
|
|
@@ -685,12 +685,12 @@ delete orgs from a pool
|
|
|
685
685
|
|
|
686
686
|
```
|
|
687
687
|
USAGE
|
|
688
|
-
$ sfpm pool delete -t <value>... [--json | --plain]
|
|
689
|
-
[--
|
|
688
|
+
$ sfpm pool delete -t <value>... [--json | --plain] [--log-level trace|debug|info|warn|error]
|
|
689
|
+
[--in-progress-only] [--my-pool] [-v <value>] [--type scratch|sandbox]
|
|
690
690
|
|
|
691
691
|
FLAGS
|
|
692
692
|
-t, --tag=<value>... (required) pool tag to delete from (repeat to delete from multiple pools)
|
|
693
|
-
-v, --target-dev-hub=<value>
|
|
693
|
+
-v, --target-dev-hub=<value> target hub org username or alias
|
|
694
694
|
--in-progress-only only delete orgs with "In Progress" status
|
|
695
695
|
--json output result as JSON
|
|
696
696
|
--log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
|
|
@@ -717,7 +717,7 @@ EXAMPLES
|
|
|
717
717
|
$ sfpm pool delete --tag dev-pool -v my-devhub --json
|
|
718
718
|
```
|
|
719
719
|
|
|
720
|
-
_See code: [dist/commands/pool/delete.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
720
|
+
_See code: [dist/commands/pool/delete.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/pool/delete.js)_
|
|
721
721
|
|
|
722
722
|
## `sfpm pool fetch`
|
|
723
723
|
|
|
@@ -725,14 +725,14 @@ fetch an org from a pool
|
|
|
725
725
|
|
|
726
726
|
```
|
|
727
727
|
USAGE
|
|
728
|
-
$ sfpm pool fetch -t <value> [--json | --plain] [--log-level
|
|
729
|
-
|
|
730
|
-
|
|
728
|
+
$ sfpm pool fetch -t <value> [--json | --plain] [--log-level trace|debug|info|warn|error] [-a <value>]
|
|
729
|
+
[--limit <value>] [--my-pool] [--send-to <value>] [--set-default] [--source-tracking] [-v <value>] [--type
|
|
730
|
+
scratch|sandbox]
|
|
731
731
|
|
|
732
732
|
FLAGS
|
|
733
733
|
-a, --alias=<value> set a local alias for the fetched org
|
|
734
734
|
-t, --tag=<value> (required) pool tag to fetch from
|
|
735
|
-
-v, --target-dev-hub=<value>
|
|
735
|
+
-v, --target-dev-hub=<value> target hub org username or alias
|
|
736
736
|
--json output result as JSON
|
|
737
737
|
--limit=<value> max orgs to return when using --all
|
|
738
738
|
--log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
|
|
@@ -762,7 +762,7 @@ EXAMPLES
|
|
|
762
762
|
$ sfpm pool fetch --tag dev-pool -v my-devhub --json
|
|
763
763
|
```
|
|
764
764
|
|
|
765
|
-
_See code: [dist/commands/pool/fetch.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
765
|
+
_See code: [dist/commands/pool/fetch.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/pool/fetch.js)_
|
|
766
766
|
|
|
767
767
|
## `sfpm pool fill`
|
|
768
768
|
|
|
@@ -770,14 +770,14 @@ fill a pool with orgs
|
|
|
770
770
|
|
|
771
771
|
```
|
|
772
772
|
USAGE
|
|
773
|
-
$ sfpm pool fill -t <value>... [--json | --plain]
|
|
774
|
-
[
|
|
775
|
-
|
|
773
|
+
$ sfpm pool fill -t <value>... [--json | --plain] [--log-level trace|debug|info|warn|error] [--batch-size
|
|
774
|
+
<value>] [-d <value>] [--expiry-days <value>] [--max <value>] [--name-pattern <value>] [-v <value>] [--type
|
|
775
|
+
scratch|sandbox] [--use-local-source]
|
|
776
776
|
|
|
777
777
|
FLAGS
|
|
778
778
|
-d, --definition-file=<value> org definition file (scratch org or sandbox)
|
|
779
779
|
-t, --tag=<value>... (required) pool tag (repeat to fill multiple pools)
|
|
780
|
-
-v, --target-dev-hub=<value>
|
|
780
|
+
-v, --target-dev-hub=<value> target hub org username or alias
|
|
781
781
|
--batch-size=<value> max concurrent org creations (default: 5)
|
|
782
782
|
--expiry-days=<value> scratch org expiry in days (default: 7)
|
|
783
783
|
--json output result as JSON
|
|
@@ -803,7 +803,7 @@ EXAMPLES
|
|
|
803
803
|
$ sfpm pool fill --tag dev-pool --max 10 -d config/project-scratch-def.json -v my-devhub --json
|
|
804
804
|
```
|
|
805
805
|
|
|
806
|
-
_See code: [dist/commands/pool/fill.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
806
|
+
_See code: [dist/commands/pool/fill.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/pool/fill.js)_
|
|
807
807
|
|
|
808
808
|
## `sfpm pool list`
|
|
809
809
|
|
|
@@ -811,12 +811,12 @@ list orgs in a pool
|
|
|
811
811
|
|
|
812
812
|
```
|
|
813
813
|
USAGE
|
|
814
|
-
$ sfpm pool list [--json | --plain] [--log-level
|
|
815
|
-
|
|
814
|
+
$ sfpm pool list [--json | --plain] [--log-level trace|debug|info|warn|error] [--my-pool] [-t <value>] [-v
|
|
815
|
+
<value>] [--type scratch|sandbox]
|
|
816
816
|
|
|
817
817
|
FLAGS
|
|
818
818
|
-t, --tag=<value> pool tag to query (omit to list all pools)
|
|
819
|
-
-v, --target-dev-hub=<value>
|
|
819
|
+
-v, --target-dev-hub=<value> target hub org username or alias
|
|
820
820
|
--json output result as JSON
|
|
821
821
|
--log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
|
|
822
822
|
<options: trace|debug|info|warn|error>
|
|
@@ -838,7 +838,7 @@ EXAMPLES
|
|
|
838
838
|
$ sfpm pool list --tag dev-pool -v my-devhub --json
|
|
839
839
|
```
|
|
840
840
|
|
|
841
|
-
_See code: [dist/commands/pool/list.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
841
|
+
_See code: [dist/commands/pool/list.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/pool/list.js)_
|
|
842
842
|
|
|
843
843
|
## `sfpm project`
|
|
844
844
|
|
|
@@ -846,8 +846,7 @@ Overview of the project
|
|
|
846
846
|
|
|
847
847
|
```
|
|
848
848
|
USAGE
|
|
849
|
-
$ sfpm project [--json | --plain] [--log-level
|
|
850
|
-
trace|debug|info|warn|error] [-p]
|
|
849
|
+
$ sfpm project [--json | --plain] [--log-level trace|debug|info|warn|error] [-p]
|
|
851
850
|
|
|
852
851
|
FLAGS
|
|
853
852
|
-p, --path Display package paths
|
|
@@ -863,7 +862,7 @@ EXAMPLES
|
|
|
863
862
|
$ sfpm project
|
|
864
863
|
```
|
|
865
864
|
|
|
866
|
-
_See code: [dist/commands/project/index.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
865
|
+
_See code: [dist/commands/project/index.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/project/index.js)_
|
|
867
866
|
|
|
868
867
|
## `sfpm project init`
|
|
869
868
|
|
|
@@ -871,8 +870,7 @@ Verify project configuration and setup requirements
|
|
|
871
870
|
|
|
872
871
|
```
|
|
873
872
|
USAGE
|
|
874
|
-
$ sfpm project init [--json | --plain] [--log-level
|
|
875
|
-
trace|debug|info|warn|error] [-f]
|
|
873
|
+
$ sfpm project init [--json | --plain] [--log-level trace|debug|info|warn|error] [-f]
|
|
876
874
|
|
|
877
875
|
FLAGS
|
|
878
876
|
-f, --fix Attempt to fix issues automatically
|
|
@@ -890,7 +888,7 @@ EXAMPLES
|
|
|
890
888
|
$ sfpm project init --fix
|
|
891
889
|
```
|
|
892
890
|
|
|
893
|
-
_See code: [dist/commands/project/init/index.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
891
|
+
_See code: [dist/commands/project/init/index.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/project/init/index.js)_
|
|
894
892
|
|
|
895
893
|
## `sfpm project init turbo`
|
|
896
894
|
|
|
@@ -898,8 +896,8 @@ Initialize a turbo-native workspace for SFPM packages
|
|
|
898
896
|
|
|
899
897
|
```
|
|
900
898
|
USAGE
|
|
901
|
-
$ sfpm project init turbo [--log-level trace|debug|info|warn|error]
|
|
902
|
-
[--
|
|
899
|
+
$ sfpm project init turbo [--log-level trace|debug|info|warn|error] [--plain | --json] [-m] [--npm-scope <value>]
|
|
900
|
+
[--package-manager pnpm|npm|yarn] [--workspace-dir <value>] [-y]
|
|
903
901
|
|
|
904
902
|
FLAGS
|
|
905
903
|
-m, --migrate migrate from an existing sfdx-project.json
|
|
@@ -928,7 +926,7 @@ EXAMPLES
|
|
|
928
926
|
$ sfpm project init turbo --json
|
|
929
927
|
```
|
|
930
928
|
|
|
931
|
-
_See code: [dist/commands/project/init/turbo.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
929
|
+
_See code: [dist/commands/project/init/turbo.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/project/init/turbo.js)_
|
|
932
930
|
|
|
933
931
|
## `sfpm project sync`
|
|
934
932
|
|
|
@@ -936,8 +934,7 @@ Generate sfdx-project.json from workspace package.json files
|
|
|
936
934
|
|
|
937
935
|
```
|
|
938
936
|
USAGE
|
|
939
|
-
$ sfpm project sync [--log-level trace|debug|info|warn|error]
|
|
940
|
-
[--plain | --json] [--api-version <value>]
|
|
937
|
+
$ sfpm project sync [--log-level trace|debug|info|warn|error] [--plain | --json] [--api-version <value>]
|
|
941
938
|
|
|
942
939
|
FLAGS
|
|
943
940
|
--api-version=<value> Override Salesforce API version (e.g., 63.0)
|
|
@@ -955,7 +952,7 @@ EXAMPLES
|
|
|
955
952
|
$ sfpm project sync --api-version 63.0
|
|
956
953
|
```
|
|
957
954
|
|
|
958
|
-
_See code: [dist/commands/project/sync.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
955
|
+
_See code: [dist/commands/project/sync.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/project/sync.js)_
|
|
959
956
|
|
|
960
957
|
## `sfpm project version bump`
|
|
961
958
|
|
|
@@ -963,9 +960,8 @@ Bump package versions in sfdx-project.json
|
|
|
963
960
|
|
|
964
961
|
```
|
|
965
962
|
USAGE
|
|
966
|
-
$ sfpm project version bump [--json | --plain] [--log-level
|
|
967
|
-
|
|
968
|
-
[-v <value>]
|
|
963
|
+
$ sfpm project version bump [--json | --plain] [--log-level trace|debug|info|warn|error] [-a] [--dryrun] [-M] [-m] [-p
|
|
964
|
+
<value>] [--patch] [-f <value>] [-o <value>] [-r <value>] [-v <value>]
|
|
969
965
|
|
|
970
966
|
FLAGS
|
|
971
967
|
-M, --major Increment major number
|
|
@@ -1000,7 +996,7 @@ EXAMPLES
|
|
|
1000
996
|
$ sfp project version bump --package mypackage --patch --projectfile path/to/sfdx-project.json
|
|
1001
997
|
```
|
|
1002
998
|
|
|
1003
|
-
_See code: [dist/commands/project/version/bump.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
999
|
+
_See code: [dist/commands/project/version/bump.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/project/version/bump.js)_
|
|
1004
1000
|
|
|
1005
1001
|
## `sfpm publish [PACKAGES]`
|
|
1006
1002
|
|
|
@@ -1008,8 +1004,8 @@ publish packages from their dist directories
|
|
|
1008
1004
|
|
|
1009
1005
|
```
|
|
1010
1006
|
USAGE
|
|
1011
|
-
$ sfpm publish [PACKAGES...] [--json | --plain]
|
|
1012
|
-
[--
|
|
1007
|
+
$ sfpm publish [PACKAGES...] [--json | --plain] [--log-level trace|debug|info|warn|error] [--dry-run]
|
|
1008
|
+
[--tag <value>]
|
|
1013
1009
|
|
|
1014
1010
|
ARGUMENTS
|
|
1015
1011
|
[PACKAGES...] package(s) to publish (defaults to all workspace packages)
|
|
@@ -1033,7 +1029,82 @@ EXAMPLES
|
|
|
1033
1029
|
$ sfpm publish all
|
|
1034
1030
|
```
|
|
1035
1031
|
|
|
1036
|
-
_See code: [dist/commands/publish.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
1032
|
+
_See code: [dist/commands/publish.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/publish.js)_
|
|
1033
|
+
|
|
1034
|
+
## `sfpm release create [PACKAGES]`
|
|
1035
|
+
|
|
1036
|
+
Create a release definition by resolving package versions from git tags. Run with no arguments in an interactive terminal for a guided walkthrough.
|
|
1037
|
+
|
|
1038
|
+
```
|
|
1039
|
+
USAGE
|
|
1040
|
+
$ sfpm release create [PACKAGES...] [--json | --plain] [--log-level trace|debug|info|warn|error] [-f] [-n <value>]
|
|
1041
|
+
[-o <value>] [-p <value>] [-r <value>] [-t <value>...]
|
|
1042
|
+
|
|
1043
|
+
ARGUMENTS
|
|
1044
|
+
[PACKAGES...] Package names to include (scoped or unscoped)
|
|
1045
|
+
|
|
1046
|
+
FLAGS
|
|
1047
|
+
-f, --force Overwrite existing release file
|
|
1048
|
+
-n, --name=<value> Release name (used for filename). Omit along with all selection flags to launch the guided
|
|
1049
|
+
walkthrough.
|
|
1050
|
+
-o, --output=<value> Output file path (overrides default release/<name>.yaml)
|
|
1051
|
+
-p, --path=<value> Include only packages in this directory (and descendants)
|
|
1052
|
+
-r, --ref=<value> [default: main] Git ref to resolve package versions from
|
|
1053
|
+
-t, --tag=<value>... Include packages carrying this tag — an sfpm package tag stored in package.json keywords
|
|
1054
|
+
(repeatable, comma-separated)
|
|
1055
|
+
--json output result as JSON
|
|
1056
|
+
--log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
|
|
1057
|
+
<options: trace|debug|info|warn|error>
|
|
1058
|
+
--plain non-interactive output (no spinners or cursor movement)
|
|
1059
|
+
|
|
1060
|
+
DESCRIPTION
|
|
1061
|
+
Create a release definition by resolving package versions from git tags. Run with no arguments in an interactive
|
|
1062
|
+
terminal for a guided walkthrough.
|
|
1063
|
+
|
|
1064
|
+
EXAMPLES
|
|
1065
|
+
$ sfpm release create
|
|
1066
|
+
|
|
1067
|
+
$ sfpm release create -n summer-2025 pkg-a pkg-b
|
|
1068
|
+
|
|
1069
|
+
$ sfpm release create -n summer-2025 --tag core,sales
|
|
1070
|
+
|
|
1071
|
+
$ sfpm release create -n summer-2025 --path packages/core
|
|
1072
|
+
|
|
1073
|
+
$ sfpm release create -n summer-2025
|
|
1074
|
+
```
|
|
1075
|
+
|
|
1076
|
+
_See code: [dist/commands/release/create.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/release/create.js)_
|
|
1077
|
+
|
|
1078
|
+
## `sfpm release run FILE`
|
|
1079
|
+
|
|
1080
|
+
Run a release by installing packages from a release definition
|
|
1081
|
+
|
|
1082
|
+
```
|
|
1083
|
+
USAGE
|
|
1084
|
+
$ sfpm release run FILE -o <value> [--json | --plain] [--log-level trace|debug|info|warn|error]
|
|
1085
|
+
[--skip-version-check]
|
|
1086
|
+
|
|
1087
|
+
ARGUMENTS
|
|
1088
|
+
FILE Path to the release YAML file
|
|
1089
|
+
|
|
1090
|
+
FLAGS
|
|
1091
|
+
-o, --target-org=<value> (required) [env: SF_TARGET_ORG] Target org username
|
|
1092
|
+
--json output result as JSON
|
|
1093
|
+
--log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
|
|
1094
|
+
<options: trace|debug|info|warn|error>
|
|
1095
|
+
--plain non-interactive output (no spinners or cursor movement)
|
|
1096
|
+
--skip-version-check Skip version mismatch checks (still validates packages are present)
|
|
1097
|
+
|
|
1098
|
+
DESCRIPTION
|
|
1099
|
+
Run a release by installing packages from a release definition
|
|
1100
|
+
|
|
1101
|
+
EXAMPLES
|
|
1102
|
+
$ sfpm release run release/summer-2025.yaml -o my-sandbox
|
|
1103
|
+
|
|
1104
|
+
$ sfpm release run release/summer-2025.yaml -o my-sandbox --json
|
|
1105
|
+
```
|
|
1106
|
+
|
|
1107
|
+
_See code: [dist/commands/release/run.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/release/run.js)_
|
|
1037
1108
|
|
|
1038
1109
|
## `sfpm watch cancel ID`
|
|
1039
1110
|
|
|
@@ -1041,8 +1112,7 @@ cancel a running watcher by killing its process
|
|
|
1041
1112
|
|
|
1042
1113
|
```
|
|
1043
1114
|
USAGE
|
|
1044
|
-
$ sfpm watch cancel ID [--log-level trace|debug|info|warn|error]
|
|
1045
|
-
[--plain | --json]
|
|
1115
|
+
$ sfpm watch cancel ID [--log-level trace|debug|info|warn|error] [--plain | --json]
|
|
1046
1116
|
|
|
1047
1117
|
ARGUMENTS
|
|
1048
1118
|
ID watcher ID to cancel
|
|
@@ -1060,7 +1130,7 @@ EXAMPLES
|
|
|
1060
1130
|
$ sfpm watch cancel 1234567890-abc123
|
|
1061
1131
|
```
|
|
1062
1132
|
|
|
1063
|
-
_See code: [dist/commands/watch/cancel.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
1133
|
+
_See code: [dist/commands/watch/cancel.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/watch/cancel.js)_
|
|
1064
1134
|
|
|
1065
1135
|
## `sfpm watch clean`
|
|
1066
1136
|
|
|
@@ -1068,8 +1138,7 @@ remove completed, errored, and orphaned watcher state files
|
|
|
1068
1138
|
|
|
1069
1139
|
```
|
|
1070
1140
|
USAGE
|
|
1071
|
-
$ sfpm watch clean [--log-level trace|debug|info|warn|error]
|
|
1072
|
-
[--plain | --json] [--type build|deploy|test]
|
|
1141
|
+
$ sfpm watch clean [--log-level trace|debug|info|warn|error] [--plain | --json] [--type build|deploy|test]
|
|
1073
1142
|
|
|
1074
1143
|
FLAGS
|
|
1075
1144
|
--json output as JSON
|
|
@@ -1090,7 +1159,7 @@ EXAMPLES
|
|
|
1090
1159
|
$ sfpm watch clean --json
|
|
1091
1160
|
```
|
|
1092
1161
|
|
|
1093
|
-
_See code: [dist/commands/watch/clean.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
1162
|
+
_See code: [dist/commands/watch/clean.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/watch/clean.js)_
|
|
1094
1163
|
|
|
1095
1164
|
## `sfpm watch status`
|
|
1096
1165
|
|
|
@@ -1098,8 +1167,8 @@ check the status of async watcher jobs
|
|
|
1098
1167
|
|
|
1099
1168
|
```
|
|
1100
1169
|
USAGE
|
|
1101
|
-
$ sfpm watch status [--log-level trace|debug|info|warn|error]
|
|
1102
|
-
|
|
1170
|
+
$ sfpm watch status [--log-level trace|debug|info|warn|error] [--plain | --json] [--poll] [--type
|
|
1171
|
+
build|deploy|test]
|
|
1103
1172
|
|
|
1104
1173
|
FLAGS
|
|
1105
1174
|
--json output as JSON
|
|
@@ -1123,5 +1192,5 @@ EXAMPLES
|
|
|
1123
1192
|
$ sfpm watch status --json
|
|
1124
1193
|
```
|
|
1125
1194
|
|
|
1126
|
-
_See code: [dist/commands/watch/status.js](https://github.com/b64hub/sfpm/blob/v0.
|
|
1195
|
+
_See code: [dist/commands/watch/status.js](https://github.com/b64hub/sfpm/blob/v0.4.0/dist/commands/watch/status.js)_
|
|
1127
1196
|
<!-- 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;
|