@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.
- package/LICENSE +21 -0
- package/README.md +66 -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/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/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 +300 -305
- package/package.json +10 -7
- 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.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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
136
|
-
[
|
|
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> [
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
320
|
-
|
|
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.
|
|
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
|
-
[--
|
|
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.
|
|
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
|
-
[--
|
|
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>
|
|
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.
|
|
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
|
-
|
|
730
|
-
|
|
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>
|
|
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.
|
|
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
|
-
[
|
|
775
|
-
|
|
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>
|
|
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.
|
|
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
|
-
|
|
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>
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
[--
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
[--
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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;
|