@salesforce/plugin-release-management 4.4.18 → 4.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +19 -19
  2. package/lib/amazonS3.js +3 -3
  3. package/lib/amazonS3.js.map +1 -1
  4. package/lib/codeSigning/SimplifiedSigning.js +7 -7
  5. package/lib/codeSigning/SimplifiedSigning.js.map +1 -1
  6. package/lib/codeSigning/packAndSign.js +11 -11
  7. package/lib/codeSigning/packAndSign.js.map +1 -1
  8. package/lib/commands/channel/promote.js +10 -10
  9. package/lib/commands/channel/promote.js.map +1 -1
  10. package/lib/commands/cli/artifacts/compare.js +4 -4
  11. package/lib/commands/cli/artifacts/compare.js.map +1 -1
  12. package/lib/commands/cli/install/jit/test.js +2 -2
  13. package/lib/commands/cli/install/jit/test.js.map +1 -1
  14. package/lib/commands/cli/install/test.js +7 -7
  15. package/lib/commands/cli/install/test.js.map +1 -1
  16. package/lib/commands/cli/release/automerge.js +5 -5
  17. package/lib/commands/cli/release/automerge.js.map +1 -1
  18. package/lib/commands/cli/release/build.js +14 -14
  19. package/lib/commands/cli/release/build.js.map +1 -1
  20. package/lib/commands/cli/releasenotes.js +3 -3
  21. package/lib/commands/cli/releasenotes.js.map +1 -1
  22. package/lib/commands/cli/schemas/compare.js +2 -2
  23. package/lib/commands/cli/schemas/compare.js.map +1 -1
  24. package/lib/commands/cli/tarballs/prepare.js +3 -3
  25. package/lib/commands/cli/tarballs/prepare.js.map +1 -1
  26. package/lib/commands/cli/tarballs/smoke.js +6 -6
  27. package/lib/commands/cli/tarballs/smoke.js.map +1 -1
  28. package/lib/commands/cli/tarballs/verify.js +3 -3
  29. package/lib/commands/cli/tarballs/verify.js.map +1 -1
  30. package/lib/commands/cli/versions/inspect.js +9 -9
  31. package/lib/commands/cli/versions/inspect.js.map +1 -1
  32. package/lib/commands/dependabot/automerge.js +3 -2
  33. package/lib/commands/dependabot/automerge.js.map +1 -1
  34. package/lib/commands/github/check/closed.js +3 -2
  35. package/lib/commands/github/check/closed.js.map +1 -1
  36. package/lib/commands/npm/dependencies/pin.js +2 -2
  37. package/lib/commands/npm/dependencies/pin.js.map +1 -1
  38. package/lib/commands/npm/package/release.js +9 -9
  39. package/lib/commands/npm/package/release.js.map +1 -1
  40. package/lib/dependabot.js +1 -1
  41. package/lib/dependabot.js.map +1 -1
  42. package/lib/jit.js +6 -6
  43. package/lib/jit.js.map +1 -1
  44. package/lib/package.js +2 -2
  45. package/lib/package.js.map +1 -1
  46. package/lib/registry.js +5 -5
  47. package/lib/registry.js.map +1 -1
  48. package/lib/repository.js +1 -1
  49. package/lib/repository.js.map +1 -1
  50. package/messages/channel.promote.md +84 -0
  51. package/messages/cli.artifacts.compare.md +39 -0
  52. package/messages/cli.install.test.md +31 -0
  53. package/messages/cli.release.automerge.md +27 -0
  54. package/messages/cli.release.build.md +71 -0
  55. package/messages/cli.releasenotes.md +30 -0
  56. package/messages/cli.schemas.compare.md +7 -0
  57. package/messages/cli.tarballs.prepare.md +19 -0
  58. package/messages/cli.tarballs.smoke.md +14 -0
  59. package/messages/cli.tarballs.verify.md +19 -0
  60. package/messages/cli.versions.inspect.md +45 -0
  61. package/messages/dependabot.automerge.md +19 -0
  62. package/messages/dependabot.consolidate.md +43 -0
  63. package/messages/github.check.closed.md +2 -2
  64. package/messages/npm.dependencies.pin.md +11 -0
  65. package/messages/npm.package.promote.md +23 -0
  66. package/messages/npm.package.release.md +43 -0
  67. package/messages/repositories.md +10 -0
  68. package/npm-shrinkwrap.json +770 -679
  69. package/oclif.manifest.json +7 -7
  70. package/package.json +7 -7
  71. package/messages/channel.promote.json +0 -26
  72. package/messages/circleci.json +0 -32
  73. package/messages/cli.artifacts.compare.json +0 -12
  74. package/messages/cli.install.test.json +0 -14
  75. package/messages/cli.release.automerge.json +0 -9
  76. package/messages/cli.release.build.json +0 -28
  77. package/messages/cli.releasenotes.json +0 -14
  78. package/messages/cli.schemas.collect.json +0 -4
  79. package/messages/cli.schemas.compare.json +0 -4
  80. package/messages/cli.tarballs.prepare.json +0 -7
  81. package/messages/cli.tarballs.smoke.json +0 -5
  82. package/messages/cli.tarballs.verify.json +0 -10
  83. package/messages/cli.versions.inspect.json +0 -20
  84. package/messages/dependabot.automerge.json +0 -10
  85. package/messages/dependabot.consolidate.json +0 -16
  86. package/messages/messages.json +0 -22
  87. package/messages/npm.dependencies.pin.json +0 -7
  88. package/messages/npm.package.promote.json +0 -9
  89. package/messages/npm.package.release.json +0 -13
  90. package/messages/repositories.json +0 -7
  91. package/messages/trust.sign.json +0 -8
  92. package/messages/trust.upload.json +0 -7
  93. package/messages/typescript.update.json +0 -7
@@ -0,0 +1,84 @@
1
+ # description
2
+
3
+ promote a s3 channel
4
+
5
+ # summary
6
+
7
+ promote a s3 channel
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --candidate latest-rc --target latest --platform win --platform mac
12
+
13
+ # flags.dryrun.summary
14
+
15
+ If true, only show what would happen
16
+
17
+ # flags.promote-from-channel.summary
18
+
19
+ the channel name that you want to promote
20
+
21
+ # flags.promote-to-channel.summary
22
+
23
+ the channel name that you are promoting to
24
+
25
+ # flags.cli.summary
26
+
27
+ the cli name to promote
28
+
29
+ # flags.platform.summary
30
+
31
+ the platform to promote
32
+
33
+ # flags.sha.summary
34
+
35
+ the short sha to promote
36
+
37
+ # flags.max-age.summary
38
+
39
+ cache control max-age in seconds
40
+
41
+ # flags.indexes.summary
42
+
43
+ append the promoted urls into the index files
44
+
45
+ # flags.xz.summary
46
+
47
+ also upload xz
48
+
49
+ # targets
50
+
51
+ comma-separated targets to promote (e.g.: linux-arm,win32-x64)
52
+
53
+ # flags.version.summary
54
+
55
+ the version of the candidate to be promoted, which must exist already in s3. Used to fetch the correct sha
56
+
57
+ # InvalidTag
58
+
59
+ the %s channel does not exist in Amazon
60
+
61
+ # CannotPromoteToSameChannel
62
+
63
+ Candidate and target channels cannot the same.
64
+
65
+ # DryRunMessage
66
+
67
+ Dry run results.
68
+ Promoting cli %s version %s commit %s to channel %s for platforms %s
69
+
70
+ # MissingDependencies
71
+
72
+ Missing required environment variables or utilities
73
+
74
+ # CouldNotDetermineShaAndVersion
75
+
76
+ Could not determine sha and version from provided parameters
77
+
78
+ # CouldNotLocateShaForVersion
79
+
80
+ Could locate sha for version "%s" in S3
81
+
82
+ # CouldNotLocateVersionForSha
83
+
84
+ Could locate version for sha "%s" in S3
@@ -0,0 +1,39 @@
1
+ # summary
2
+
3
+ Look for breaking changes in artifacts (schemas and snapshots) from plugins. Must be run in CLI directory.
4
+
5
+ # examples
6
+
7
+ - <%= config.bin %> <%= command.id %>
8
+
9
+ # error.BreakingChanges
10
+
11
+ Breaking changes found in artifacts
12
+
13
+ # flags.plugin.summary
14
+
15
+ List of plugins to check for breaking changes.
16
+
17
+ # flags.previous.summary
18
+
19
+ Previous CLI version to compare against. Defaults to the last published version.
20
+
21
+ # flags.current.summary
22
+
23
+ Current CLI version to compare against. Defaults to the version on the CLI in the current directory.
24
+
25
+ # error.VersionNotFound
26
+
27
+ Version not found: %s.
28
+
29
+ # error.InvalidVersions
30
+
31
+ Current version %s must be newer than previous version %s.
32
+
33
+ # error.InvalidRepo
34
+
35
+ This command must be run from the root directory of @salesforce/cli or sfdx-cli.
36
+
37
+ # error.VersionNotPinned
38
+
39
+ Plugin %s is not pinned in package.json.
@@ -0,0 +1,31 @@
1
+ # description
2
+
3
+ install sf or sfdx
4
+
5
+ # examples
6
+
7
+ - <%= config.bin %> <%= command.id %> --cli sfdx --method installer
8
+
9
+ - <%= config.bin %> <%= command.id %> --cli sfdx --method npm
10
+
11
+ - <%= config.bin %> <%= command.id %> --cli sfdx --method tarball
12
+
13
+ - <%= config.bin %> <%= command.id %> --cli sf --method tarball
14
+
15
+ - <%= config.bin %> <%= command.id %> --cli sf --method tarball --channel stable-rc
16
+
17
+ # flags.cli.summary
18
+
19
+ the cli to install
20
+
21
+ # flags.method.summary
22
+
23
+ the installation method to use
24
+
25
+ # flags.channel.summary
26
+
27
+ the channel to install from
28
+
29
+ # flags.output-file.summary
30
+
31
+ the file to write the JSON results to (must be .json)
@@ -0,0 +1,27 @@
1
+ # description
2
+
3
+ Attempt to automerge nightly PR
4
+
5
+ # flags.owner.summary
6
+
7
+ Github owner (org), example: salesforcecli
8
+
9
+ # flags.repo.summary
10
+
11
+ Github repo, example: sfdx-cli
12
+
13
+ # flags.pull-number.summary
14
+
15
+ Github pull request number to merge
16
+
17
+ # flags.dry-run.summary
18
+
19
+ Run all checks, but do not merge PR
20
+
21
+ # flags.verbose.summary
22
+
23
+ Show additional debug output
24
+
25
+ # examples
26
+
27
+ - <%= config.bin %> <%= command.id %> --owner salesforcecli --repo sfdx-cli --pul-number 1049
@@ -0,0 +1,71 @@
1
+ # description
2
+
3
+ builds a new release from a designated starting point and optionally creates PR in Github
4
+
5
+ # examples
6
+
7
+ - <%= config.bin %> <%= command.id %>
8
+
9
+ - <%= config.bin %> <%= command.id %> --patch
10
+
11
+ - <%= config.bin %> <%= command.id %> --start-from-npm-dist-tag latest-rc --patch
12
+
13
+ - <%= config.bin %> <%= command.id %> --start-from-github-ref 7.144.0
14
+
15
+ - <%= config.bin %> <%= command.id %> --start-from-github-ref main
16
+
17
+ - <%= config.bin %> <%= command.id %> --start-from-github-ref f476e8e
18
+
19
+ - <%= config.bin %> <%= command.id %> --start-from-github-ref main --prerelease beta
20
+
21
+ - <%= config.bin %> <%= command.id %> --build-only
22
+
23
+ - <%= config.bin %> <%= command.id %> --only @salesforce/plugin-source,@salesforce/plugin-info@1.2.3,@sf/config
24
+
25
+ # flags.start-from-npm-dist-tag.summary
26
+
27
+ the npm dist-tag to start the release from, examples: nightly, latest-rc
28
+
29
+ # flags.start-from-github-ref.summary
30
+
31
+ a Github ref to start the release from, examples: main, 7.144.0, f476e8e
32
+
33
+ # flags.release-channel.summary
34
+
35
+ the channel intended for this release, examples: nightly, latest-rc, latest, dev, beta, etc...
36
+
37
+ # flags.resolutions.summary
38
+
39
+ bump the versions of packages listed in the resolutions section
40
+
41
+ # flags.pinned-deps.summary
42
+
43
+ bump the versions of the packages listed in the pinnedDependencies section
44
+
45
+ # flags.jit.summary
46
+
47
+ bump the versions of the packages listed in the jitPlugins (just-in-time) section
48
+
49
+ # flags.label.summary
50
+
51
+ add one or more labels to the Github PR
52
+
53
+ # flags.only.summary
54
+
55
+ only bump the version of the packages passed in, uses latest if version is not provided
56
+
57
+ # flags.patch.summary
58
+
59
+ bump the release as a patch of an existing version, not a new minor version
60
+
61
+ # flags.build-only.summary
62
+
63
+ only build the release, do not git add/commit/push
64
+
65
+ # flags.empty.summary
66
+
67
+ create an empty release PR for pushing changes to later (version will still be bumped)
68
+
69
+ # flags.pr-base-branch.summary
70
+
71
+ base branch to create the PR against; if not specified, the build determines the branch for you
@@ -0,0 +1,30 @@
1
+ # description
2
+
3
+ pull all relevant information for writing release notes.
4
+ Requires the GH_TOKEN to be set in the environment.
5
+
6
+ # examples
7
+
8
+ - <%= config.bin %> <%= command.id %> --cli sf
9
+
10
+ - <%= config.bin %> <%= command.id %> --cli sfdx
11
+
12
+ - <%= config.bin %> <%= command.id %> --cli sf --since 1.0.0
13
+
14
+ - <%= config.bin %> <%= command.id %> --cli sfdx --since 7.19.0
15
+
16
+ - <%= config.bin %> <%= command.id %> --cli sf > changes.txt
17
+
18
+ - <%= config.bin %> <%= command.id %> --cli sf --markdown > changes.md
19
+
20
+ # flags.cli.summary
21
+
22
+ the cli to pull information for
23
+
24
+ # flags.since.summary
25
+
26
+ the version number of the previous release. Defaults to the latest-rc version on npm
27
+
28
+ # flags.markdown.summary
29
+
30
+ format the output in markdown
@@ -0,0 +1,7 @@
1
+ # description
2
+
3
+ compare schemas from installed plugins
4
+
5
+ # examples
6
+
7
+ - <%= config.bin %> <%= command.id %>
@@ -0,0 +1,19 @@
1
+ # description
2
+
3
+ remove unnecessary files from node_modules
4
+
5
+ # flags.dryrun.summary
6
+
7
+ only show what would be removed from node_modules
8
+
9
+ # flags.verbose.summary
10
+
11
+ show all files paths being removed
12
+
13
+ # flags.types.summary
14
+
15
+ remove all types (.d.ts) files from node_modules
16
+
17
+ # examples
18
+
19
+ - <%= config.bin %> <%= command.id %>
@@ -0,0 +1,14 @@
1
+ # description
2
+
3
+ smoke tests for the sf CLI
4
+ Tests that the CLI and every command can be initialized.
5
+
6
+ # examples
7
+
8
+ - <%= config.bin %> <%= command.id %>
9
+
10
+ - <%= config.bin %> <%= command.id %>
11
+
12
+ # flags.verbose.summary
13
+
14
+ show the --help output for each command
@@ -0,0 +1,19 @@
1
+ # description
2
+
3
+ verify that tarballs are ready to be uploaded
4
+
5
+ # cli
6
+
7
+ the cli to verify
8
+
9
+ # flags.windows-username-buffer.summary
10
+
11
+ the number of characters to allow for windows usernames
12
+
13
+ # examples
14
+
15
+ - <%= config.bin %> <%= command.id %>
16
+
17
+ - <%= config.bin %> <%= command.id %> --cli sfdx
18
+
19
+ - <%= config.bin %> <%= command.id %> --cli sf
@@ -0,0 +1,45 @@
1
+ # description
2
+
3
+ inspect the CLI version across all install paths
4
+
5
+ # flags.dependencies.summary
6
+
7
+ glob pattern of dependencies you want to see the version of
8
+
9
+ # flags.salesforce.summary
10
+
11
+ show versions of salesforce owned dependencies
12
+
13
+ # flags.channels.summary
14
+
15
+ the channel you want to inspect (for achives, latest and latest-rc are translated to stable and stable-rc. And vice-versa for npm)
16
+
17
+ # flags.locations.summary
18
+
19
+ the location you want to inspect
20
+
21
+ # flags.cli.summary
22
+
23
+ the CLI you want to inspect
24
+
25
+ # examples
26
+
27
+ - <%= config.bin %> <%= command.id %> -l archive -c stable
28
+
29
+ - <%= config.bin %> <%= command.id %> -l archive -c stable-rc
30
+
31
+ - <%= config.bin %> <%= command.id %> -l archive npm -c stable
32
+
33
+ - <%= config.bin %> <%= command.id %> -l archive npm -c latest
34
+
35
+ - <%= config.bin %> <%= command.id %> -l archive npm -c latest latest-rc
36
+
37
+ - <%= config.bin %> <%= command.id %> -l archive npm -c stable stable-rc
38
+
39
+ - <%= config.bin %> <%= command.id %> -l npm -c latest --salesforce
40
+
41
+ - <%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/core
42
+
43
+ - <%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/\*\*/ salesforce-alm
44
+
45
+ - <%= config.bin %> <%= command.id %> -l npm -c latest -d chalk -s
@@ -0,0 +1,19 @@
1
+ # description
2
+
3
+ automatically merge one green, mergeable PR up to the specified maximum bump type
4
+
5
+ # flags.skip-ci.summary
6
+
7
+ add [skip ci] to the merge commit title
8
+
9
+ # flags.merge-method.summary
10
+
11
+ merge method to use
12
+
13
+ # examples
14
+
15
+ - <%= config.bin %> <%= command.id %> --max-version-bump patch
16
+
17
+ - <%= config.bin %> <%= command.id %> --max-version-bump minor
18
+
19
+ - <%= config.bin %> <%= command.id %> --max-version-bump major
@@ -0,0 +1,43 @@
1
+ # description
2
+
3
+ consolidate dependabot PRs into a single PR
4
+
5
+ # maxVersionBump
6
+
7
+ the maximum version bump you want to be included
8
+
9
+ # dryrun
10
+
11
+ only show what would happen if you consolidated dependabot PRs
12
+
13
+ # baseBranch
14
+
15
+ name of the base branch for merging
16
+
17
+ # targetBranch
18
+
19
+ name of the target branch for merging
20
+
21
+ # noPR
22
+
23
+ do everything but create the PR
24
+
25
+ # ignore
26
+
27
+ ignore any PRs with titles that include this value
28
+
29
+ # owner
30
+
31
+ the organization that the repository belongs to. This defaults to the owner specified in the package.json
32
+
33
+ # repo
34
+
35
+ the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json
36
+
37
+ # examples
38
+
39
+ - <%= config.bin %> <%= command.id %> --max-version-bump patch
40
+
41
+ - <%= config.bin %> <%= command.id %> --max-version-bump minor
42
+
43
+ - <%= config.bin %> <%= command.id %> --max-version-bump major
@@ -14,10 +14,10 @@ Description of a flag.
14
14
 
15
15
  - <%= config.bin %> <%= command.id %> -o me@gus.com
16
16
 
17
- # flags.gus
17
+ # flags.gus.summary
18
18
 
19
19
  Username/alias of your GUS org connection
20
20
 
21
- # flags.github-token
21
+ # flags.github-token.summary
22
22
 
23
23
  Github token--store this in the environment as GITHUB_TOKEN
@@ -0,0 +1,11 @@
1
+ # description
2
+
3
+ lock a list of dependencies to a target tag or default to 'latest', place these entries in 'pinnedDependencies' entry in the package.json
4
+
5
+ # flags.tag.summary
6
+
7
+ The name of the tag you want, e.g. 'latest-rc', or 'latest'
8
+
9
+ # flags.dryrun.summary
10
+
11
+ If true, will not make any changes to the package.json
@@ -0,0 +1,23 @@
1
+ # description
2
+
3
+ promote an npm package
4
+
5
+ # examples
6
+
7
+ - <%= config.bin %> <%= command.id %> --candidate latest-rc --target latest
8
+
9
+ # dryrun
10
+
11
+ If true, only show what would happen
12
+
13
+ # candidate
14
+
15
+ the npm tag that you want to promote
16
+
17
+ # target
18
+
19
+ the npm tag that you are promoting to
20
+
21
+ # InvalidTag
22
+
23
+ the %s tag does not exist in npm.
@@ -0,0 +1,43 @@
1
+ # description
2
+
3
+ publish npm package
4
+
5
+ # flags.dryrun.summary
6
+
7
+ If true, will not commit changes to repo or push any tags
8
+
9
+ # flags.sign.summary
10
+
11
+ If true, then the package will be signed and the signature will be uploaded to S3
12
+
13
+ # flags.npmtag.summary
14
+
15
+ tag to use when publishing to npm
16
+
17
+ # flags.npmaccess.summary
18
+
19
+ access level to use when publishing to npm
20
+
21
+ # flags.install.summary
22
+
23
+ run yarn install and build on repository
24
+
25
+ # flags.githubtag.summary
26
+
27
+ given a github tag, release the version specified in the package.json as is. Useful when you've already done a release and only need npm publish features
28
+
29
+ # flags.prerelease.summary
30
+
31
+ determine the next version as <version>-<prerelease>.0 if version is not manually set
32
+
33
+ # flags.verify.summary
34
+
35
+ verify npm registry has new version after publish and digital signature
36
+
37
+ # InvalidNextVersion
38
+
39
+ %s already exists in the public npm registry
40
+
41
+ # MissingDependencies
42
+
43
+ Missing requred environment variables or utilities
@@ -0,0 +1,10 @@
1
+ # description
2
+
3
+ list repositories owned and supported by Salesforce CLI
4
+ For more information on the list of repositories, visit https://github.com/salesforcecli/status.
5
+
6
+ # examples
7
+
8
+ - <%= config.bin %> <%= command.id %> --columns=url --filter='Name=sfdx-core' --no-header | xargs open
9
+
10
+ - <%= config.bin %> <%= command.id %> --json | jq -r '.result[] | select(.name=="sfdx-core") | .packages[] | .url