@simplysf/simply-cicd 0.24.2 → 0.24.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ EXAMPLES
|
|
|
93
93
|
$ sf simply cicd build check-permission-sets
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
-
_See code: [lib/commands/simply/cicd/build/check-permission-sets.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
96
|
+
_See code: [lib/commands/simply/cicd/build/check-permission-sets.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/check-permission-sets.js)_
|
|
97
97
|
|
|
98
98
|
## `sf simply cicd build cleanup-scratch-orgs`
|
|
99
99
|
|
|
@@ -124,7 +124,7 @@ EXAMPLES
|
|
|
124
124
|
$ sf simply cicd build cleanup-scratch-orgs --dev-hub my-devhub
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
_See code: [lib/commands/simply/cicd/build/cleanup-scratch-orgs.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
127
|
+
_See code: [lib/commands/simply/cicd/build/cleanup-scratch-orgs.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js)_
|
|
128
128
|
|
|
129
129
|
## `sf simply cicd build create-fallback-tag`
|
|
130
130
|
|
|
@@ -181,7 +181,7 @@ EXAMPLES
|
|
|
181
181
|
$ sf simply cicd build create-fallback-tag --ci-commit-ref-name main --ci-project-path group/project --project-access-token glpat-... --ci-pipeline-id 123
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
_See code: [lib/commands/simply/cicd/build/create-fallback-tag.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
184
|
+
_See code: [lib/commands/simply/cicd/build/create-fallback-tag.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/create-fallback-tag.js)_
|
|
185
185
|
|
|
186
186
|
## `sf simply cicd build create-package-version`
|
|
187
187
|
|
|
@@ -254,7 +254,7 @@ EXAMPLES
|
|
|
254
254
|
$ sf simply cicd build create-package-version --ci-commit-ref-name main --ci-commit-sha a1b2c3d --ci-pipeline-id 123 --ci-pipeline-url https://gitlab.example.com/pipelines/123 --ci-project-path group/project --project-access-token glpat-... --packaging-devhub my-packaging-devhub
|
|
255
255
|
```
|
|
256
256
|
|
|
257
|
-
_See code: [lib/commands/simply/cicd/build/create-package-version.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
257
|
+
_See code: [lib/commands/simply/cicd/build/create-package-version.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/create-package-version.js)_
|
|
258
258
|
|
|
259
259
|
## `sf simply cicd build create-scratch`
|
|
260
260
|
|
|
@@ -296,7 +296,7 @@ EXAMPLES
|
|
|
296
296
|
$ sf simply cicd build create-scratch --dev-hub my-devhub
|
|
297
297
|
```
|
|
298
298
|
|
|
299
|
-
_See code: [lib/commands/simply/cicd/build/create-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
299
|
+
_See code: [lib/commands/simply/cicd/build/create-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/create-scratch.js)_
|
|
300
300
|
|
|
301
301
|
## `sf simply cicd build delete-scratch`
|
|
302
302
|
|
|
@@ -335,7 +335,7 @@ EXAMPLES
|
|
|
335
335
|
$ sf simply cicd build delete-scratch --dev-hub my-devhub
|
|
336
336
|
```
|
|
337
337
|
|
|
338
|
-
_See code: [lib/commands/simply/cicd/build/delete-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
338
|
+
_See code: [lib/commands/simply/cicd/build/delete-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/delete-scratch.js)_
|
|
339
339
|
|
|
340
340
|
## `sf simply cicd build determine-package-changes`
|
|
341
341
|
|
|
@@ -368,7 +368,7 @@ EXAMPLES
|
|
|
368
368
|
$ sf simply cicd build determine-package-changes --out changes.env
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
_See code: [lib/commands/simply/cicd/build/determine-package-changes.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
371
|
+
_See code: [lib/commands/simply/cicd/build/determine-package-changes.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/determine-package-changes.js)_
|
|
372
372
|
|
|
373
373
|
## `sf simply cicd build generate-flexipage-diff`
|
|
374
374
|
|
|
@@ -426,7 +426,7 @@ EXAMPLES
|
|
|
426
426
|
$ sf simply cicd build generate-flexipage-diff --vcs-provider github --ci-repository my-org/my-repo --ci-pull-request-number 45 --ci-run-id 987 --from abc123 --to def456 --project-access-token ghp-...
|
|
427
427
|
```
|
|
428
428
|
|
|
429
|
-
_See code: [lib/commands/simply/cicd/build/generate-flexipage-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
429
|
+
_See code: [lib/commands/simply/cicd/build/generate-flexipage-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/generate-flexipage-diff.js)_
|
|
430
430
|
|
|
431
431
|
## `sf simply cicd build generate-flow-diff`
|
|
432
432
|
|
|
@@ -484,7 +484,7 @@ EXAMPLES
|
|
|
484
484
|
$ sf simply cicd build generate-flow-diff --vcs-provider github --ci-repository my-org/my-repo --ci-pull-request-number 45 --ci-run-id 987 --from abc123 --to def456 --project-access-token ghp-...
|
|
485
485
|
```
|
|
486
486
|
|
|
487
|
-
_See code: [lib/commands/simply/cicd/build/generate-flow-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
487
|
+
_See code: [lib/commands/simply/cicd/build/generate-flow-diff.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/generate-flow-diff.js)_
|
|
488
488
|
|
|
489
489
|
## `sf simply cicd build install-dependencies`
|
|
490
490
|
|
|
@@ -535,7 +535,7 @@ FLAG DESCRIPTIONS
|
|
|
535
535
|
prompt in a pipeline, it is auto-approved.
|
|
536
536
|
```
|
|
537
537
|
|
|
538
|
-
_See code: [lib/commands/simply/cicd/build/install-dependencies.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
538
|
+
_See code: [lib/commands/simply/cicd/build/install-dependencies.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/install-dependencies.js)_
|
|
539
539
|
|
|
540
540
|
## `sf simply cicd build lwc-jest`
|
|
541
541
|
|
|
@@ -575,7 +575,7 @@ EXAMPLES
|
|
|
575
575
|
$ sf simply cicd build lwc-jest --lwc-jest-fail-on-test-failure
|
|
576
576
|
```
|
|
577
577
|
|
|
578
|
-
_See code: [lib/commands/simply/cicd/build/lwc-jest.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
578
|
+
_See code: [lib/commands/simply/cicd/build/lwc-jest.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/lwc-jest.js)_
|
|
579
579
|
|
|
580
580
|
## `sf simply cicd build publish-utam-page-objects`
|
|
581
581
|
|
|
@@ -635,9 +635,13 @@ DESCRIPTION
|
|
|
635
635
|
|
|
636
636
|
Runs after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`,
|
|
637
637
|
from `SUBSCRIBER_PACKAGE_VERSION_ID` in the environment (how a separate job receives that command's dotenv report), or
|
|
638
|
-
from the dotenv file itself (how a later step in the same job sees it). It
|
|
639
|
-
under the default package directory
|
|
640
|
-
result
|
|
638
|
+
from the dotenv file itself (how a later step in the same job sees it). It copies every `**/__utam__/**/*.utam.json`
|
|
639
|
+
page object and `**/__utam__/**/*.utam.js` utility under the default package directory into a staging directory
|
|
640
|
+
outside the repo, compiles them there with the UTAM compiler, and publishes the result: the compiled page objects
|
|
641
|
+
under `pageObjects/` (`.js`, `.cjs`, `.d.ts`, `.d.cts`), the utilities under `utils/`, and the sources under
|
|
642
|
+
`source/`. When page objects use profiles, the profiles config is published as `profiles.config.json`, for a test
|
|
643
|
+
suite to pass to its UTAM loader as `<package>/profiles.config.json`. The compiler writes nothing into the repo; a
|
|
644
|
+
relative `lint.lintingOutputFile` in the project's compiler config is resolved against the working directory.
|
|
641
645
|
|
|
642
646
|
The npm version is derived from the Salesforce version number the same way `sfdx-project.json` writes a dependency
|
|
643
647
|
pin: `1.2.3.4` becomes `1.2.3-4`, with the git tag's suffix carried as a second prerelease identifier and as the
|
|
@@ -650,8 +654,10 @@ DESCRIPTION
|
|
|
650
654
|
Skips (without failing) when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build
|
|
651
655
|
determine-package-changes`), when `--disabled` is passed, when no package version ID can be found, when the project
|
|
652
656
|
authors no page objects, or when this exact version is already on the registry — which is what makes retrying a job
|
|
653
|
-
that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job
|
|
654
|
-
page
|
|
657
|
+
that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job, including
|
|
658
|
+
two page objects (or utilities) with the same file name, which would compile to the same output file, and a compile
|
|
659
|
+
that leaves any page object out: a missing or empty page-object package would silently break every UI test pinned to
|
|
660
|
+
that version.
|
|
655
661
|
|
|
656
662
|
On success, appends `UTAM_PAGE_OBJECTS_PACKAGE` and `UTAM_PAGE_OBJECTS_VERSION` to `--out`, so a downstream job can
|
|
657
663
|
install the package without knowing the mapping rule.
|
|
@@ -681,7 +687,7 @@ EXAMPLES
|
|
|
681
687
|
--subscriber-package-version-id 04tXXXXXXXXXXXXXXX --dry-run
|
|
682
688
|
```
|
|
683
689
|
|
|
684
|
-
_See code: [lib/commands/simply/cicd/build/publish-utam-page-objects.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
690
|
+
_See code: [lib/commands/simply/cicd/build/publish-utam-page-objects.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/publish-utam-page-objects.js)_
|
|
685
691
|
|
|
686
692
|
## `sf simply cicd build push-scratch`
|
|
687
693
|
|
|
@@ -722,7 +728,7 @@ EXAMPLES
|
|
|
722
728
|
$ sf simply cicd build push-scratch --jwt-key-file ./server.key
|
|
723
729
|
```
|
|
724
730
|
|
|
725
|
-
_See code: [lib/commands/simply/cicd/build/push-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
731
|
+
_See code: [lib/commands/simply/cicd/build/push-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/push-scratch.js)_
|
|
726
732
|
|
|
727
733
|
## `sf simply cicd build test-scratch`
|
|
728
734
|
|
|
@@ -758,7 +764,7 @@ EXAMPLES
|
|
|
758
764
|
$ sf simply cicd build test-scratch --jwt-key-file ./server.key
|
|
759
765
|
```
|
|
760
766
|
|
|
761
|
-
_See code: [lib/commands/simply/cicd/build/test-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
767
|
+
_See code: [lib/commands/simply/cicd/build/test-scratch.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/build/test-scratch.js)_
|
|
762
768
|
|
|
763
769
|
## `sf simply cicd deploy happy-soup deploy-unpackaged`
|
|
764
770
|
|
|
@@ -809,7 +815,7 @@ EXAMPLES
|
|
|
809
815
|
$ sf simply cicd deploy happy-soup deploy-unpackaged --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
810
816
|
```
|
|
811
817
|
|
|
812
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
818
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js)_
|
|
813
819
|
|
|
814
820
|
## `sf simply cicd deploy happy-soup deployment-close-out`
|
|
815
821
|
|
|
@@ -863,7 +869,7 @@ EXAMPLES
|
|
|
863
869
|
$ sf simply cicd deploy happy-soup deployment-close-out --ci-commit-ref-name main --ci-pipeline-id 123 --ci-project-path group/project --project-access-token $PROJECT_ACCESS_TOKEN --deploy-release-date 2026-01-15
|
|
864
870
|
```
|
|
865
871
|
|
|
866
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
872
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js)_
|
|
867
873
|
|
|
868
874
|
## `sf simply cicd deploy happy-soup install-packaged`
|
|
869
875
|
|
|
@@ -923,7 +929,7 @@ FLAG DESCRIPTIONS
|
|
|
923
929
|
prompt in a pipeline, it is auto-approved.
|
|
924
930
|
```
|
|
925
931
|
|
|
926
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
932
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js)_
|
|
927
933
|
|
|
928
934
|
## `sf simply cicd deploy happy-soup post-deploy`
|
|
929
935
|
|
|
@@ -974,7 +980,7 @@ EXAMPLES
|
|
|
974
980
|
$ sf simply cicd deploy happy-soup post-deploy --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
975
981
|
```
|
|
976
982
|
|
|
977
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
983
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js)_
|
|
978
984
|
|
|
979
985
|
## `sf simply cicd deploy happy-soup post-destructive`
|
|
980
986
|
|
|
@@ -1025,7 +1031,7 @@ EXAMPLES
|
|
|
1025
1031
|
$ sf simply cicd deploy happy-soup post-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1026
1032
|
```
|
|
1027
1033
|
|
|
1028
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1034
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js)_
|
|
1029
1035
|
|
|
1030
1036
|
## `sf simply cicd deploy happy-soup pre-destructive`
|
|
1031
1037
|
|
|
@@ -1076,7 +1082,7 @@ EXAMPLES
|
|
|
1076
1082
|
$ sf simply cicd deploy happy-soup pre-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
|
|
1077
1083
|
```
|
|
1078
1084
|
|
|
1079
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1085
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js)_
|
|
1080
1086
|
|
|
1081
1087
|
## `sf simply cicd deploy happy-soup tag-deployment`
|
|
1082
1088
|
|
|
@@ -1128,7 +1134,7 @@ EXAMPLES
|
|
|
1128
1134
|
$ sf simply cicd deploy happy-soup tag-deployment --alias my-org --ci-pipeline-id 123 --ci-pipeline-url https://gitlab.example.com/group/project/-/pipelines/123 --ci-project-path group/project --ci-merge-request-iid 45 --ci-merge-request-project-url https://gitlab.example.com/group/project --project-access-token $PROJECT_ACCESS_TOKEN
|
|
1129
1135
|
```
|
|
1130
1136
|
|
|
1131
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1137
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js)_
|
|
1132
1138
|
|
|
1133
1139
|
## `sf simply cicd deploy happy-soup validate`
|
|
1134
1140
|
|
|
@@ -1166,7 +1172,7 @@ EXAMPLES
|
|
|
1166
1172
|
$ sf simply cicd deploy happy-soup validate --deploy-config-file deployment-configs/uat.json --deploy-rules-file config/deploy-rules.json
|
|
1167
1173
|
```
|
|
1168
1174
|
|
|
1169
|
-
_See code: [lib/commands/simply/cicd/deploy/happy-soup/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1175
|
+
_See code: [lib/commands/simply/cicd/deploy/happy-soup/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/happy-soup/validate.js)_
|
|
1170
1176
|
|
|
1171
1177
|
## `sf simply cicd deploy project deploy-unpackaged`
|
|
1172
1178
|
|
|
@@ -1214,7 +1220,7 @@ EXAMPLES
|
|
|
1214
1220
|
$ sf simply cicd deploy project deploy-unpackaged --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1215
1221
|
```
|
|
1216
1222
|
|
|
1217
|
-
_See code: [lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1223
|
+
_See code: [lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js)_
|
|
1218
1224
|
|
|
1219
1225
|
## `sf simply cicd deploy project install-packaged`
|
|
1220
1226
|
|
|
@@ -1278,7 +1284,7 @@ FLAG DESCRIPTIONS
|
|
|
1278
1284
|
prompt in a pipeline, it is auto-approved.
|
|
1279
1285
|
```
|
|
1280
1286
|
|
|
1281
|
-
_See code: [lib/commands/simply/cicd/deploy/project/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1287
|
+
_See code: [lib/commands/simply/cicd/deploy/project/install-packaged.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/install-packaged.js)_
|
|
1282
1288
|
|
|
1283
1289
|
## `sf simply cicd deploy project post-deploy`
|
|
1284
1290
|
|
|
@@ -1326,7 +1332,7 @@ EXAMPLES
|
|
|
1326
1332
|
$ sf simply cicd deploy project post-deploy --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1327
1333
|
```
|
|
1328
1334
|
|
|
1329
|
-
_See code: [lib/commands/simply/cicd/deploy/project/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1335
|
+
_See code: [lib/commands/simply/cicd/deploy/project/post-deploy.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/post-deploy.js)_
|
|
1330
1336
|
|
|
1331
1337
|
## `sf simply cicd deploy project post-destructive`
|
|
1332
1338
|
|
|
@@ -1374,7 +1380,7 @@ EXAMPLES
|
|
|
1374
1380
|
$ sf simply cicd deploy project post-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1375
1381
|
```
|
|
1376
1382
|
|
|
1377
|
-
_See code: [lib/commands/simply/cicd/deploy/project/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1383
|
+
_See code: [lib/commands/simply/cicd/deploy/project/post-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/post-destructive.js)_
|
|
1378
1384
|
|
|
1379
1385
|
## `sf simply cicd deploy project pre-destructive`
|
|
1380
1386
|
|
|
@@ -1422,7 +1428,7 @@ EXAMPLES
|
|
|
1422
1428
|
$ sf simply cicd deploy project pre-destructive --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1423
1429
|
```
|
|
1424
1430
|
|
|
1425
|
-
_See code: [lib/commands/simply/cicd/deploy/project/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1431
|
+
_See code: [lib/commands/simply/cicd/deploy/project/pre-destructive.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/pre-destructive.js)_
|
|
1426
1432
|
|
|
1427
1433
|
## `sf simply cicd deploy project run-apex-tests`
|
|
1428
1434
|
|
|
@@ -1469,7 +1475,7 @@ EXAMPLES
|
|
|
1469
1475
|
$ sf simply cicd deploy project run-apex-tests --ci-job-token $CI_JOB_TOKEN --alias my-org
|
|
1470
1476
|
```
|
|
1471
1477
|
|
|
1472
|
-
_See code: [lib/commands/simply/cicd/deploy/project/run-apex-tests.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1478
|
+
_See code: [lib/commands/simply/cicd/deploy/project/run-apex-tests.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/run-apex-tests.js)_
|
|
1473
1479
|
|
|
1474
1480
|
## `sf simply cicd deploy project validate`
|
|
1475
1481
|
|
|
@@ -1504,7 +1510,7 @@ EXAMPLES
|
|
|
1504
1510
|
$ sf simply cicd deploy project validate --deploy-config-file config/deploy.json --deploy-rules-file config/deploy-rules.json
|
|
1505
1511
|
```
|
|
1506
1512
|
|
|
1507
|
-
_See code: [lib/commands/simply/cicd/deploy/project/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1513
|
+
_See code: [lib/commands/simply/cicd/deploy/project/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/project/validate.js)_
|
|
1508
1514
|
|
|
1509
1515
|
## `sf simply cicd deploy validate`
|
|
1510
1516
|
|
|
@@ -1538,7 +1544,7 @@ EXAMPLES
|
|
|
1538
1544
|
$ sf simply cicd deploy validate --deploy-config-file config/deploy.json --deploy-rules-file config/deploy-rules.json
|
|
1539
1545
|
```
|
|
1540
1546
|
|
|
1541
|
-
_See code: [lib/commands/simply/cicd/deploy/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1547
|
+
_See code: [lib/commands/simply/cicd/deploy/validate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/deploy/validate.js)_
|
|
1542
1548
|
|
|
1543
1549
|
## `sf simply cicd notify build`
|
|
1544
1550
|
|
|
@@ -1614,7 +1620,7 @@ EXAMPLES
|
|
|
1614
1620
|
--teams-webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1615
1621
|
```
|
|
1616
1622
|
|
|
1617
|
-
_See code: [lib/commands/simply/cicd/notify/build.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1623
|
+
_See code: [lib/commands/simply/cicd/notify/build.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/notify/build.js)_
|
|
1618
1624
|
|
|
1619
1625
|
## `sf simply cicd notify happy-soup`
|
|
1620
1626
|
|
|
@@ -1687,7 +1693,7 @@ EXAMPLES
|
|
|
1687
1693
|
$ sf simply cicd notify happy-soup --after-script --is-final-job --notify-on-completion --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1688
1694
|
```
|
|
1689
1695
|
|
|
1690
|
-
_See code: [lib/commands/simply/cicd/notify/happy-soup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1696
|
+
_See code: [lib/commands/simply/cicd/notify/happy-soup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/notify/happy-soup.js)_
|
|
1691
1697
|
|
|
1692
1698
|
## `sf simply cicd notify project`
|
|
1693
1699
|
|
|
@@ -1761,7 +1767,7 @@ EXAMPLES
|
|
|
1761
1767
|
$ sf simply cicd notify project --after-script --ci-job-stage post-destructive --ci-job-status success --teams-webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1762
1768
|
```
|
|
1763
1769
|
|
|
1764
|
-
_See code: [lib/commands/simply/cicd/notify/project.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1770
|
+
_See code: [lib/commands/simply/cicd/notify/project.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/notify/project.js)_
|
|
1765
1771
|
|
|
1766
1772
|
## `sf simply cicd notify teams`
|
|
1767
1773
|
|
|
@@ -1793,7 +1799,7 @@ EXAMPLES
|
|
|
1793
1799
|
$ sf simply cicd notify teams --payload '{"text":"Deployment complete"}' --webhook-url https://outlook.office.com/webhook/... --enabled
|
|
1794
1800
|
```
|
|
1795
1801
|
|
|
1796
|
-
_See code: [lib/commands/simply/cicd/notify/teams.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1802
|
+
_See code: [lib/commands/simply/cicd/notify/teams.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/notify/teams.js)_
|
|
1797
1803
|
|
|
1798
1804
|
## `sf simply cicd sfdx-dependabot`
|
|
1799
1805
|
|
|
@@ -1869,7 +1875,7 @@ FLAG DESCRIPTIONS
|
|
|
1869
1875
|
Defaults to the selected provider's public instance if not provided.
|
|
1870
1876
|
```
|
|
1871
1877
|
|
|
1872
|
-
_See code: [lib/commands/simply/cicd/sfdx-dependabot.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.
|
|
1878
|
+
_See code: [lib/commands/simply/cicd/sfdx-dependabot.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-cicd@0.24.4/packages/simply-cicd/lib/commands/simply/cicd/sfdx-dependabot.js)_
|
|
1873
1879
|
<!-- commandsstop -->
|
|
1874
1880
|
|
|
1875
1881
|
## License
|
|
@@ -6,13 +6,13 @@ Compile the project's UTAM page objects for a package version and publish them t
|
|
|
6
6
|
|
|
7
7
|
Gives every Salesforce Unlocked Package version a matching npm package of compiled UTAM page objects, so a UI-test suite can install exactly the page objects that describe the package version it is testing against.
|
|
8
8
|
|
|
9
|
-
Runs after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`, from `SUBSCRIBER_PACKAGE_VERSION_ID` in the environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later step in the same job sees it). It
|
|
9
|
+
Runs after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`, from `SUBSCRIBER_PACKAGE_VERSION_ID` in the environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later step in the same job sees it). It copies every `**/__utam__/**/*.utam.json` page object and `**/__utam__/**/*.utam.js` utility under the default package directory into a staging directory outside the repo, compiles them there with the UTAM compiler, and publishes the result: the compiled page objects under `pageObjects/` (`.js`, `.cjs`, `.d.ts`, `.d.cts`), the utilities under `utils/`, and the sources under `source/`. When page objects use profiles, the profiles config is published as `profiles.config.json`, for a test suite to pass to its UTAM loader as `<package>/profiles.config.json`. The compiler writes nothing into the repo; a relative `lint.lintingOutputFile` in the project's compiler config is resolved against the working directory.
|
|
10
10
|
|
|
11
11
|
The npm version is derived from the Salesforce version number the same way `sfdx-project.json` writes a dependency pin: `1.2.3.4` becomes `1.2.3-4`, with the git tag's suffix carried as a second prerelease identifier and as the dist-tag, so `1.2.3.4` built from a `beta` package branch is `1.2.3-4.beta` at `beta`, and a release build is `1.2.3-4` at `latest`.
|
|
12
12
|
|
|
13
13
|
The compiler is installed at run time rather than shipped with this plugin, so nothing is downloaded unless the command actually runs.
|
|
14
14
|
|
|
15
|
-
Skips (without failing) when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`), when `--disabled` is passed, when no package version ID can be found, when the project authors no page objects, or when this exact version is already on the registry — which is what makes retrying a job that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job: a missing page-object package would silently break every UI test pinned to that version.
|
|
15
|
+
Skips (without failing) when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`), when `--disabled` is passed, when no package version ID can be found, when the project authors no page objects, or when this exact version is already on the registry — which is what makes retrying a job that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job, including two page objects (or utilities) with the same file name, which would compile to the same output file, and a compile that leaves any page object out: a missing or empty page-object package would silently break every UI test pinned to that version.
|
|
16
16
|
|
|
17
17
|
On success, appends `UTAM_PAGE_OBJECTS_PACKAGE` and `UTAM_PAGE_OBJECTS_VERSION` to `--out`, so a downstream job can install the package without knowing the mapping rule.
|
|
18
18
|
|
package/oclif.manifest.json
CHANGED
|
@@ -2453,7 +2453,7 @@
|
|
|
2453
2453
|
"simply:cicd:build:publish-utam-page-objects": {
|
|
2454
2454
|
"aliases": [],
|
|
2455
2455
|
"args": {},
|
|
2456
|
-
"description": "Gives every Salesforce Unlocked Package version a matching npm package of compiled UTAM page objects, so a UI-test suite can install exactly the page objects that describe the package version it is testing against.\n\nRuns after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`, from `SUBSCRIBER_PACKAGE_VERSION_ID` in the environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later step in the same job sees it). It
|
|
2456
|
+
"description": "Gives every Salesforce Unlocked Package version a matching npm package of compiled UTAM page objects, so a UI-test suite can install exactly the page objects that describe the package version it is testing against.\n\nRuns after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`, from `SUBSCRIBER_PACKAGE_VERSION_ID` in the environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later step in the same job sees it). It copies every `**/__utam__/**/*.utam.json` page object and `**/__utam__/**/*.utam.js` utility under the default package directory into a staging directory outside the repo, compiles them there with the UTAM compiler, and publishes the result: the compiled page objects under `pageObjects/` (`.js`, `.cjs`, `.d.ts`, `.d.cts`), the utilities under `utils/`, and the sources under `source/`. When page objects use profiles, the profiles config is published as `profiles.config.json`, for a test suite to pass to its UTAM loader as `<package>/profiles.config.json`. The compiler writes nothing into the repo; a relative `lint.lintingOutputFile` in the project's compiler config is resolved against the working directory.\n\nThe npm version is derived from the Salesforce version number the same way `sfdx-project.json` writes a dependency pin: `1.2.3.4` becomes `1.2.3-4`, with the git tag's suffix carried as a second prerelease identifier and as the dist-tag, so `1.2.3.4` built from a `beta` package branch is `1.2.3-4.beta` at `beta`, and a release build is `1.2.3-4` at `latest`.\n\nThe compiler is installed at run time rather than shipped with this plugin, so nothing is downloaded unless the command actually runs.\n\nSkips (without failing) when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`), when `--disabled` is passed, when no package version ID can be found, when the project authors no page objects, or when this exact version is already on the registry — which is what makes retrying a job that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job, including two page objects (or utilities) with the same file name, which would compile to the same output file, and a compile that leaves any page object out: a missing or empty page-object package would silently break every UI test pinned to that version.\n\nOn success, appends `UTAM_PAGE_OBJECTS_PACKAGE` and `UTAM_PAGE_OBJECTS_VERSION` to `--out`, so a downstream job can install the package without knowing the mapping rule.\n\nRegistry authentication is not this command's job: set it up before the command runs, in user-level npm config (for example `npm config set -- \"//<registry host and path>/:_authToken=<token>\"`, which writes `~/.npmrc`) or in an `.npmrc` that `NPM_CONFIG_USERCONFIG` points at. npm runs from a staging directory outside the repo, so a project-level `.npmrc` in the repo is not read.\n\nConfigure the package name, the compiler's type aliases, extra peer dependencies, and a project-owned compiler config under `plugins.simply.utam` in `sfdx-project.json`.",
|
|
2457
2457
|
"examples": [
|
|
2458
2458
|
"Publish page objects for the version this pipeline just created, reading its ID from the dotenv file:\n<%= config.bin %> <%= command.id %> --packaging-devhub my-packaging-devhub",
|
|
2459
2459
|
"Publish to a GitLab project registry on a release-branch build:\n<%= config.bin %> <%= command.id %> --packaging-devhub my-packaging-devhub --ci-commit-ref-name release/1.2 --package-release-branch-prefix release/ --npm-registry https://gitlab.example.com/api/v4/projects/42/packages/npm/",
|
|
@@ -6788,5 +6788,5 @@
|
|
|
6788
6788
|
]
|
|
6789
6789
|
}
|
|
6790
6790
|
},
|
|
6791
|
-
"version": "0.24.
|
|
6791
|
+
"version": "0.24.4"
|
|
6792
6792
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-cicd",
|
|
3
3
|
"description": "Commands for Salesforce CI/CD pipelines",
|
|
4
|
-
"version": "0.24.
|
|
4
|
+
"version": "0.24.4",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-plugins",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-plugins/issues",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"@salesforce/core": "^8.30.0",
|
|
61
61
|
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
62
62
|
"@salesforce/ts-types": "^2.0.12",
|
|
63
|
-
"@simplysf/simply-cicd-core": "^0.
|
|
63
|
+
"@simplysf/simply-cicd-core": "^0.11.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@oclif/plugin-command-snapshot": "^5.4.0",
|
|
67
67
|
"@salesforce/plugin-command-reference": "^3.1.134",
|
|
68
|
-
"@vitest/coverage-v8": "^4.1.
|
|
68
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
69
69
|
"vitest": "^4.1.10"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
@@ -198,5 +198,5 @@
|
|
|
198
198
|
"output": []
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
|
-
"gitHead": "
|
|
201
|
+
"gitHead": "f5bb418eb45ca8bdc40ecbfc3ce9cd12dc61c433"
|
|
202
202
|
}
|