generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use sfCommand and testing improvements
* test: fix nuts * feat: use sfCommand * test: isolate test sessions * test: 1 session with linked plugin, uninstall before re-install * test: use a 2nd unsigned plugin * test: only modify files, no plugin installation * test: restore allowlist * test: sf setup steps in `before` block * test: last test is not async * chore: remove logging * test: skip allowlist test * test: assert that allowlist was written as expected * test: set home env for allowList * test: set config dir, only run linux nut * test: manually set homedir via env * test: also set xdg * test: no only * test: set sfdx config dir directly * test: nut on macos * test: restore full test suite * test: last test only runs on macos * chore: remove comment * refactor: pr feedback * chore: bump sf-plugins-core * fix: default to NO on installation confirmation
- Loading branch information
Showing
12 changed files
with
250 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# summary | ||
|
||
Validate a digital signature. | ||
|
||
# description | ||
|
||
Verifies the digital signature on an npm package matches the signature and key stored at the expected URLs. | ||
|
||
# examples | ||
|
||
- <%= config.bin %> <%= command.id %> --npm @scope/npmName --registry http://my.repo.org:4874 | ||
|
||
- <%= config.bin %> <%= command.id %> --npm @scope/npmName | ||
|
||
# flags.npm | ||
|
||
Specify the npm name. This can include a tag/version. | ||
|
||
# flags.registry | ||
|
||
The registry name. The behavior is the same as npm. | ||
|
||
# FailedDigitalSignatureVerification | ||
|
||
A digital signature is specified for this plugin but it didn't verify against the certificate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.