Skip to content

Commit

Permalink
feat: add cli:install:test command (#309)
Browse files Browse the repository at this point in the history
* feat: add cli:install:test command

* chore: update command-snapshot.json

* chore: add description

* fix: test windows .gz tarballs

* chore: remove comment
  • Loading branch information
mdonnalley authored Oct 5, 2021
1 parent 4430ecf commit c83d53b
Show file tree
Hide file tree
Showing 5 changed files with 1,676 additions and 1,309 deletions.
272 changes: 92 additions & 180 deletions command-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,181 +1,93 @@
[
{
"command": "circleci",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"contains-package-type",
"json",
"loglevel"
]
},
{
"command": "circleci:envvar:update",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"dryrun",
"envvar",
"json",
"loglevel",
"slug"
]
},
{
"command": "cli:tarballs:prepare",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"dryrun",
"json",
"loglevel",
"types",
"verbose"
]
},
{
"command": "cli:tarballs:verify",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"cli",
"json",
"loglevel",
"windows-username-buffer"
]
},
{
"command": "cli:versions:inspect",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"channels",
"cli",
"dependencies",
"json",
"locations",
"loglevel",
"salesforce"
]
},
{
"command": "dependabot:automerge",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"dryrun",
"json",
"loglevel",
"max-version-bump",
"owner",
"repo",
"skip-ci"
]
},
{
"command": "dependabot:consolidate",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"base-branch",
"dryrun",
"ignore",
"json",
"loglevel",
"max-version-bump",
"no-pr",
"owner",
"repo",
"target-branch"
]
},
{
"command": "npm:dependencies:pin",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"dryrun",
"json",
"loglevel",
"tag"
]
},
{
"command": "npm:lerna:release",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"dryrun",
"githubrelease",
"install",
"json",
"loglevel",
"npmaccess",
"npmtag",
"sign",
"verify"
]
},
{
"command": "npm:package:promote",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"candidate",
"dryrun",
"json",
"loglevel",
"target"
]
},
{
"command": "npm:package:release",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"dryrun",
"install",
"json",
"loglevel",
"npmaccess",
"npmtag",
"prerelease",
"sign",
"verify"
]
},
{
"command": "npm:release:validate",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"json",
"loglevel",
"verbose"
]
},
{
"command": "plugins:trust:verify",
"plugin": "@salesforce/plugin-trust",
"flags": [
"json",
"loglevel",
"npm",
"registry"
]
},
{
"command": "repositories",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"columns",
"csv",
"extended",
"filter",
"json",
"loglevel",
"no-header",
"no-truncate",
"output",
"sort"
]
},
{
"command": "typescript:update",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"json",
"loglevel",
"target",
"version"
]
}
]
{
"command": "circleci",
"plugin": "@salesforce/plugin-release-management",
"flags": ["contains-package-type", "json", "loglevel"]
},
{
"command": "circleci:envvar:update",
"plugin": "@salesforce/plugin-release-management",
"flags": ["dryrun", "envvar", "json", "loglevel", "slug"]
},
{
"command": "cli:install:test",
"plugin": "@salesforce/plugin-release-management",
"flags": ["channel", "cli", "json", "loglevel", "method"]
},
{
"command": "cli:tarballs:prepare",
"plugin": "@salesforce/plugin-release-management",
"flags": ["dryrun", "json", "loglevel", "types", "verbose"]
},
{
"command": "cli:tarballs:verify",
"plugin": "@salesforce/plugin-release-management",
"flags": ["cli", "json", "loglevel", "windows-username-buffer"]
},
{
"command": "cli:versions:inspect",
"plugin": "@salesforce/plugin-release-management",
"flags": ["channels", "cli", "dependencies", "json", "locations", "loglevel", "salesforce"]
},
{
"command": "dependabot:automerge",
"plugin": "@salesforce/plugin-release-management",
"flags": ["dryrun", "json", "loglevel", "max-version-bump", "owner", "repo", "skip-ci"]
},
{
"command": "dependabot:consolidate",
"plugin": "@salesforce/plugin-release-management",
"flags": [
"base-branch",
"dryrun",
"ignore",
"json",
"loglevel",
"max-version-bump",
"no-pr",
"owner",
"repo",
"target-branch"
]
},
{
"command": "npm:dependencies:pin",
"plugin": "@salesforce/plugin-release-management",
"flags": ["dryrun", "json", "loglevel", "tag"]
},
{
"command": "npm:lerna:release",
"plugin": "@salesforce/plugin-release-management",
"flags": ["dryrun", "githubrelease", "install", "json", "loglevel", "npmaccess", "npmtag", "sign", "verify"]
},
{
"command": "npm:package:promote",
"plugin": "@salesforce/plugin-release-management",
"flags": ["candidate", "dryrun", "json", "loglevel", "target"]
},
{
"command": "npm:package:release",
"plugin": "@salesforce/plugin-release-management",
"flags": ["dryrun", "install", "json", "loglevel", "npmaccess", "npmtag", "prerelease", "sign", "verify"]
},
{
"command": "npm:release:validate",
"plugin": "@salesforce/plugin-release-management",
"flags": ["json", "loglevel", "verbose"]
},
{
"command": "plugins:trust:verify",
"plugin": "@salesforce/plugin-trust",
"flags": ["json", "loglevel", "npm", "registry"]
},
{
"command": "repositories",
"plugin": "@salesforce/plugin-release-management",
"flags": ["columns", "csv", "extended", "filter", "json", "loglevel", "no-header", "no-truncate", "output", "sort"]
},
{
"command": "typescript:update",
"plugin": "@salesforce/plugin-release-management",
"flags": ["json", "loglevel", "target", "version"]
}
]
13 changes: 13 additions & 0 deletions messages/cli.install.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"description": "install sf or sfdx",
"examples": [
"<%= config.bin %> <%= command.id %> --cli sfdx --method installer",
"<%= config.bin %> <%= command.id %> --cli sfdx --method npm",
"<%= config.bin %> <%= command.id %> --cli sfdx --method tarball",
"<%= config.bin %> <%= command.id %> --cli sf --method tarball",
"<%= config.bin %> <%= command.id %> --cli sf --method tarball --channel stable-rc"
],
"cliFlag": "the cli to install",
"methodFlag": "the installation method to use",
"channelFlag": "the channel to install from"
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@
},
"tarballs": {
"description": "interact with CLI tarballs"
},
"install": {
"description": "utilities for CLI installation"
}
}
},
Expand Down
Loading

0 comments on commit c83d53b

Please sign in to comment.