heroku 8.1.9 → 8.2.0-beta.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/autocomplete-scripts/README.md +7 -0
- package/autocomplete-scripts/bash/heroku.bash +59 -0
- package/autocomplete-scripts/brew/bash +4 -0
- package/autocomplete-scripts/brew/zsh/_heroku +59 -0
- package/autocomplete-scripts/zsh/_heroku +53 -0
- package/bin/bats-test-runner.js +7 -0
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +36 -1
- package/lib/analytics.d.ts +2 -2
- package/lib/analytics.js +3 -4
- package/lib/commands/auth/2fa/disable.d.ts +7 -0
- package/lib/commands/auth/2fa/disable.js +16 -0
- package/lib/commands/auth/2fa/index.d.ts +6 -0
- package/lib/commands/auth/2fa/index.js +18 -0
- package/lib/commands/auth/login.d.ts +8 -0
- package/lib/commands/auth/login.js +25 -0
- package/lib/commands/auth/logout.d.ts +6 -0
- package/lib/commands/auth/logout.js +14 -0
- package/lib/commands/auth/token.d.ts +7 -0
- package/lib/commands/auth/token.js +31 -0
- package/lib/commands/auth/whoami.d.ts +7 -0
- package/lib/commands/auth/whoami.js +26 -0
- package/lib/commands/authorizations/create.d.ts +13 -0
- package/lib/commands/authorizations/create.js +41 -0
- package/lib/commands/authorizations/index.d.ts +9 -0
- package/lib/commands/authorizations/index.js +35 -0
- package/lib/commands/authorizations/info.d.ts +11 -0
- package/lib/commands/authorizations/info.js +25 -0
- package/lib/commands/authorizations/revoke.d.ts +10 -0
- package/lib/commands/authorizations/revoke.js +22 -0
- package/lib/commands/authorizations/rotate.d.ts +8 -0
- package/lib/commands/authorizations/rotate.js +19 -0
- package/lib/commands/authorizations/update.d.ts +13 -0
- package/lib/commands/authorizations/update.js +36 -0
- package/lib/commands/autocomplete/create.d.ts +29 -0
- package/lib/commands/autocomplete/create.js +213 -0
- package/lib/commands/autocomplete/doctor.d.ts +12 -0
- package/lib/commands/autocomplete/doctor.js +97 -0
- package/lib/commands/autocomplete/index.d.ts +12 -0
- package/lib/commands/autocomplete/index.js +67 -0
- package/lib/commands/autocomplete/options.d.ts +25 -0
- package/lib/commands/autocomplete/options.js +210 -0
- package/lib/commands/autocomplete/script.d.ts +10 -0
- package/lib/commands/autocomplete/script.js +23 -0
- package/lib/commands/buildpacks/add.d.ts +13 -0
- package/lib/commands/buildpacks/add.js +43 -0
- package/lib/commands/buildpacks/clear.d.ts +9 -0
- package/lib/commands/buildpacks/clear.js +17 -0
- package/lib/commands/buildpacks/index.d.ts +9 -0
- package/lib/commands/buildpacks/index.js +25 -0
- package/lib/commands/buildpacks/info.d.ts +8 -0
- package/lib/commands/buildpacks/info.js +41 -0
- package/lib/commands/buildpacks/remove.d.ts +13 -0
- package/lib/commands/buildpacks/remove.js +55 -0
- package/lib/commands/buildpacks/search.d.ts +13 -0
- package/lib/commands/buildpacks/search.js +69 -0
- package/lib/commands/buildpacks/set.d.ts +13 -0
- package/lib/commands/buildpacks/set.js +42 -0
- package/lib/commands/buildpacks/versions.d.ts +8 -0
- package/lib/commands/buildpacks/versions.js +56 -0
- package/lib/commands/certs/auto/wait.d.ts +9 -0
- package/lib/commands/certs/auto/wait.js +14 -0
- package/lib/commands/ci/index.d.ts +12 -0
- package/lib/commands/ci/index.js +25 -0
- package/lib/commands/ci/info.d.ts +14 -0
- package/lib/commands/ci/info.js +29 -0
- package/lib/commands/ci/last.d.ts +11 -0
- package/lib/commands/ci/last.js +31 -0
- package/lib/commands/ci/rerun.d.ts +13 -0
- package/lib/commands/ci/rerun.js +53 -0
- package/lib/commands/ci/run.d.ts +10 -0
- package/lib/commands/ci/run.js +42 -0
- package/lib/commands/clients/create.d.ts +14 -0
- package/lib/commands/clients/create.js +37 -0
- package/lib/commands/clients/destroy.d.ts +8 -0
- package/lib/commands/clients/destroy.js +18 -0
- package/lib/commands/clients/index.d.ts +8 -0
- package/lib/commands/clients/index.js +32 -0
- package/lib/commands/clients/info.d.ts +13 -0
- package/lib/commands/clients/info.js +33 -0
- package/lib/commands/clients/rotate.d.ts +12 -0
- package/lib/commands/clients/rotate.js +33 -0
- package/lib/commands/clients/update.d.ts +13 -0
- package/lib/commands/clients/update.js +38 -0
- package/lib/commands/config/edit.d.ts +23 -0
- package/lib/commands/config/edit.js +132 -0
- package/lib/commands/config/get.d.ts +16 -0
- package/lib/commands/config/get.js +35 -0
- package/lib/commands/config/index.d.ts +11 -0
- package/lib/commands/config/index.js +33 -0
- package/lib/commands/config/unset.d.ts +12 -0
- package/lib/commands/config/unset.js +51 -0
- package/lib/commands/console.d.ts +11 -0
- package/lib/commands/console.js +30 -0
- package/lib/commands/domains/add.d.ts +19 -0
- package/lib/commands/domains/add.js +117 -0
- package/lib/commands/domains/clear.d.ts +11 -0
- package/lib/commands/domains/clear.js +26 -0
- package/lib/commands/domains/index.d.ts +40 -0
- package/lib/commands/domains/index.js +79 -0
- package/lib/commands/domains/info.d.ts +14 -0
- package/lib/commands/domains/info.js +25 -0
- package/lib/commands/domains/remove.d.ts +14 -0
- package/lib/commands/domains/remove.js +26 -0
- package/lib/commands/domains/update.d.ts +15 -0
- package/lib/commands/domains/update.js +40 -0
- package/lib/commands/domains/wait.d.ts +13 -0
- package/lib/commands/domains/wait.js +32 -0
- package/lib/commands/git/clone.d.ts +13 -0
- package/lib/commands/git/clone.js +29 -0
- package/lib/commands/git/credentials.d.ts +9 -0
- package/lib/commands/git/credentials.js +32 -0
- package/lib/commands/git/remote.d.ts +11 -0
- package/lib/commands/git/remote.js +44 -0
- package/lib/commands/labs/disable.d.ts +11 -0
- package/lib/commands/labs/disable.js +65 -0
- package/lib/commands/local/index.d.ts +17 -0
- package/lib/commands/local/index.js +75 -0
- package/lib/commands/local/run.d.ts +11 -0
- package/lib/commands/local/run.js +38 -0
- package/lib/commands/local/version.d.ts +5 -0
- package/lib/commands/local/version.js +13 -0
- package/lib/commands/logs.d.ts +16 -0
- package/lib/commands/logs.js +45 -0
- package/lib/commands/pipelines/add.d.ts +14 -0
- package/lib/commands/pipelines/add.js +61 -0
- package/lib/commands/pipelines/connect.d.ts +12 -0
- package/lib/commands/pipelines/connect.js +52 -0
- package/lib/commands/pipelines/create.d.ts +15 -0
- package/lib/commands/pipelines/create.js +91 -0
- package/lib/commands/pipelines/destroy.d.ts +9 -0
- package/lib/commands/pipelines/destroy.js +27 -0
- package/lib/commands/pipelines/diff.d.ts +19 -0
- package/lib/commands/pipelines/diff.js +152 -0
- package/lib/commands/pipelines/index.d.ts +9 -0
- package/lib/commands/pipelines/index.js +27 -0
- package/lib/commands/pipelines/info.d.ts +13 -0
- package/lib/commands/pipelines/info.js +43 -0
- package/lib/commands/pipelines/open.d.ts +9 -0
- package/lib/commands/pipelines/open.js +19 -0
- package/lib/commands/pipelines/promote.d.ts +12 -0
- package/lib/commands/pipelines/promote.js +216 -0
- package/lib/commands/pipelines/remove.d.ts +10 -0
- package/lib/commands/pipelines/remove.js +23 -0
- package/lib/commands/pipelines/rename.d.ts +10 -0
- package/lib/commands/pipelines/rename.js +33 -0
- package/lib/commands/pipelines/setup.d.ts +14 -0
- package/lib/commands/pipelines/setup.js +91 -0
- package/lib/commands/pipelines/transfer.d.ts +13 -0
- package/lib/commands/pipelines/transfer.js +65 -0
- package/lib/commands/pipelines/update.d.ts +11 -0
- package/lib/commands/pipelines/update.js +32 -0
- package/lib/commands/ps/autoscale/disable.d.ts +9 -0
- package/lib/commands/ps/autoscale/disable.js +35 -0
- package/lib/commands/ps/autoscale/enable.d.ts +13 -0
- package/lib/commands/ps/autoscale/enable.js +65 -0
- package/lib/commands/ps/wait.d.ts +12 -0
- package/lib/commands/ps/wait.js +78 -0
- package/lib/commands/rake.d.ts +14 -0
- package/lib/commands/rake.js +46 -0
- package/lib/commands/regions.d.ts +11 -0
- package/lib/commands/regions.js +45 -0
- package/lib/commands/reviewapps/disable.d.ts +17 -0
- package/lib/commands/reviewapps/disable.js +102 -0
- package/lib/commands/reviewapps/enable.d.ts +14 -0
- package/lib/commands/reviewapps/enable.js +89 -0
- package/lib/commands/run/detached.d.ts +15 -0
- package/lib/commands/run/detached.js +56 -0
- package/lib/commands/run/index.d.ts +18 -0
- package/lib/commands/run/index.js +64 -0
- package/lib/commands/run/inside.d.ts +15 -0
- package/lib/commands/run/inside.js +55 -0
- package/lib/commands/sessions/destroy.d.ts +8 -0
- package/lib/commands/sessions/destroy.js +18 -0
- package/lib/commands/sessions/index.d.ts +8 -0
- package/lib/commands/sessions/index.js +31 -0
- package/lib/commands/status.d.ts +8 -0
- package/lib/commands/status.js +46 -0
- package/lib/commands/webhooks/add.d.ts +16 -0
- package/lib/commands/webhooks/add.js +47 -0
- package/lib/commands/webhooks/deliveries/index.d.ts +12 -0
- package/lib/commands/webhooks/deliveries/index.js +80 -0
- package/lib/commands/webhooks/deliveries/info.d.ts +14 -0
- package/lib/commands/webhooks/deliveries/info.js +42 -0
- package/lib/commands/webhooks/events/index.d.ts +11 -0
- package/lib/commands/webhooks/events/index.js +46 -0
- package/lib/commands/webhooks/events/info.d.ts +14 -0
- package/lib/commands/webhooks/events/info.js +31 -0
- package/lib/commands/webhooks/index.d.ts +11 -0
- package/lib/commands/webhooks/index.js +45 -0
- package/lib/commands/webhooks/info.d.ts +14 -0
- package/lib/commands/webhooks/info.js +31 -0
- package/lib/commands/webhooks/remove.d.ts +14 -0
- package/lib/commands/webhooks/remove.js +29 -0
- package/lib/commands/webhooks/update.d.ts +19 -0
- package/lib/commands/webhooks/update.js +41 -0
- package/lib/file.js +2 -3
- package/lib/global_telemetry.d.ts +53 -0
- package/lib/global_telemetry.js +82 -0
- package/lib/hooks/command_not_found/performance_analytics.d.ts +3 -0
- package/lib/hooks/command_not_found/performance_analytics.js +7 -0
- package/lib/hooks/init/terms-of-service.js +3 -4
- package/lib/hooks/init/version.d.ts +2 -1
- package/lib/hooks/init/version.js +1 -2
- package/lib/hooks/postrun/performance_analytics.d.ts +3 -0
- package/lib/hooks/postrun/performance_analytics.js +11 -0
- package/lib/hooks/prerun/analytics.d.ts +2 -1
- package/lib/hooks/prerun/analytics.js +4 -4
- package/lib/hooks/recache.d.ts +3 -0
- package/lib/hooks/recache.js +56 -0
- package/lib/hooks/update/brew.d.ts +2 -1
- package/lib/hooks/update/brew.js +3 -5
- package/lib/hooks/update/completions.d.ts +2 -1
- package/lib/hooks/update/completions.js +2 -3
- package/lib/hooks/update/plugin-migrate.d.ts +2 -1
- package/lib/hooks/update/plugin-migrate.js +3 -5
- package/lib/hooks/update/tidy.d.ts +2 -1
- package/lib/hooks/update/tidy.js +3 -5
- package/lib/lib/authorizations/authorizations.d.ts +2 -0
- package/lib/lib/authorizations/authorizations.js +39 -0
- package/lib/lib/autocomplete/base.d.ts +11 -0
- package/lib/lib/autocomplete/base.js +44 -0
- package/lib/lib/autocomplete/cache.d.ts +2 -0
- package/lib/lib/autocomplete/cache.js +28 -0
- package/lib/lib/autocomplete/completions.d.ts +37 -0
- package/lib/lib/autocomplete/completions.js +261 -0
- package/lib/lib/buildpacks/buildpacks.d.ts +32 -0
- package/lib/lib/buildpacks/buildpacks.js +161 -0
- package/lib/lib/buildpacks/push.d.ts +0 -0
- package/lib/lib/buildpacks/push.js +4 -0
- package/lib/lib/ci/git.d.ts +8 -0
- package/lib/lib/ci/git.js +71 -0
- package/lib/lib/ci/interfaces/kolkrabbi.d.ts +311 -0
- package/lib/lib/ci/interfaces/kolkrabbi.js +7 -0
- package/lib/lib/ci/pipelines.d.ts +3 -0
- package/lib/lib/ci/pipelines.js +57 -0
- package/lib/lib/ci/source.d.ts +2 -0
- package/lib/lib/ci/source.js +42 -0
- package/lib/lib/ci/test-run.d.ts +5 -0
- package/lib/lib/ci/test-run.js +232 -0
- package/lib/lib/clients/clients.d.ts +1 -0
- package/lib/lib/clients/clients.js +25 -0
- package/lib/lib/config/quote.d.ts +2 -0
- package/lib/lib/config/quote.js +33 -0
- package/lib/lib/config/util.d.ts +3 -0
- package/lib/lib/config/util.js +12 -0
- package/lib/lib/domains/wait-for-domain.d.ts +3 -0
- package/lib/lib/domains/wait-for-domain.js +19 -0
- package/lib/lib/git/git.d.ts +8 -0
- package/lib/lib/git/git.js +56 -0
- package/lib/lib/local/fork-foreman.d.ts +1 -0
- package/lib/lib/local/fork-foreman.js +33 -0
- package/lib/lib/local/load-foreman-procfile.d.ts +0 -0
- package/lib/lib/local/load-foreman-procfile.js +2 -0
- package/lib/lib/local/run-foreman.d.ts +0 -0
- package/lib/lib/local/run-foreman.js +2 -0
- package/lib/lib/pipelines/api.d.ts +25 -0
- package/lib/lib/pipelines/api.js +130 -0
- package/lib/lib/pipelines/disambiguate.d.ts +3 -0
- package/lib/lib/pipelines/disambiguate.js +49 -0
- package/lib/lib/pipelines/github-api.d.ts +8 -0
- package/lib/lib/pipelines/github-api.js +18 -0
- package/lib/lib/pipelines/infer.d.ts +1 -0
- package/lib/lib/pipelines/infer.js +11 -0
- package/lib/lib/pipelines/key-by.d.ts +1 -0
- package/lib/lib/pipelines/key-by.js +11 -0
- package/lib/lib/pipelines/kolkrabbi-api.d.ts +14 -0
- package/lib/lib/pipelines/kolkrabbi-api.js +62 -0
- package/lib/lib/pipelines/ownership.d.ts +4 -0
- package/lib/lib/pipelines/ownership.js +40 -0
- package/lib/lib/pipelines/render-pipeline.d.ts +6 -0
- package/lib/lib/pipelines/render-pipeline.js +52 -0
- package/lib/lib/pipelines/setup/create-apps.d.ts +1 -0
- package/lib/lib/pipelines/setup/create-apps.js +44 -0
- package/lib/lib/pipelines/setup/get-ci-settings.d.ts +4 -0
- package/lib/lib/pipelines/setup/get-ci-settings.js +19 -0
- package/lib/lib/pipelines/setup/get-github-token.d.ts +1 -0
- package/lib/lib/pipelines/setup/get-github-token.js +10 -0
- package/lib/lib/pipelines/setup/get-name-and-repo.d.ts +1 -0
- package/lib/lib/pipelines/setup/get-name-and-repo.js +47 -0
- package/lib/lib/pipelines/setup/get-repo.d.ts +1 -0
- package/lib/lib/pipelines/setup/get-repo.js +8 -0
- package/lib/lib/pipelines/setup/get-settings.d.ts +9 -0
- package/lib/lib/pipelines/setup/get-settings.js +39 -0
- package/lib/lib/pipelines/setup/poll-app-setups.d.ts +1 -0
- package/lib/lib/pipelines/setup/poll-app-setups.js +25 -0
- package/lib/lib/pipelines/setup/setup-pipeline.d.ts +1 -0
- package/lib/lib/pipelines/setup/setup-pipeline.js +15 -0
- package/lib/lib/pipelines/setup/validate.d.ts +9 -0
- package/lib/lib/pipelines/setup/validate.js +31 -0
- package/lib/lib/pipelines/stages.d.ts +7 -0
- package/lib/lib/pipelines/stages.js +22 -0
- package/lib/lib/run/colorize.d.ts +2 -0
- package/lib/lib/run/colorize.js +300 -0
- package/lib/lib/run/dyno.d.ts +72 -0
- package/lib/lib/run/dyno.js +397 -0
- package/lib/lib/run/helpers.d.ts +2 -0
- package/lib/lib/run/helpers.js +34 -0
- package/lib/lib/run/line-transform.d.ts +4 -0
- package/lib/lib/run/line-transform.js +26 -0
- package/lib/lib/run/log-displayer.d.ts +10 -0
- package/lib/lib/run/log-displayer.js +79 -0
- package/lib/lib/sessions/sessions.d.ts +7 -0
- package/lib/lib/sessions/sessions.js +2 -0
- package/lib/lib/status/util.d.ts +1 -0
- package/lib/lib/status/util.js +14 -0
- package/lib/lib/webhooks/base.d.ts +13 -0
- package/lib/lib/webhooks/base.js +28 -0
- package/lib/user-config.js +2 -3
- package/oclif.manifest.json +3376 -2
- package/package.json +79 -42
- package/lib/hooks/update/b.d.ts +0 -2
- package/lib/hooks/update/b.js +0 -48
package/package.json
CHANGED
|
@@ -1,39 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.2.0-beta.0",
|
|
5
5
|
"author": "Jeff Dickey @jdxcode",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@heroku-cli/color": "1.1.14",
|
|
10
|
-
"@heroku-cli/command": "^
|
|
10
|
+
"@heroku-cli/command": "^10.0.0",
|
|
11
|
+
"@heroku-cli/notifications": "^1.2.2",
|
|
11
12
|
"@heroku-cli/plugin-addons-v5": "^8.1.7",
|
|
12
|
-
"@heroku-cli/plugin-apps": "^8.1.8",
|
|
13
13
|
"@heroku-cli/plugin-apps-v5": "^8.1.8",
|
|
14
|
-
"@heroku-cli/plugin-auth": "^8.1.7",
|
|
15
|
-
"@heroku-cli/plugin-autocomplete": "^8.1.7",
|
|
16
|
-
"@heroku-cli/plugin-buildpacks": "^8.1.7",
|
|
17
|
-
"@heroku-cli/plugin-certs": "^8.1.7",
|
|
18
14
|
"@heroku-cli/plugin-certs-v5": "^8.1.7",
|
|
19
|
-
"@heroku-cli/plugin-ci": "^8.1.7",
|
|
20
15
|
"@heroku-cli/plugin-ci-v5": "^8.1.8",
|
|
21
|
-
"@heroku-cli/plugin-config": "^8.1.7",
|
|
22
16
|
"@heroku-cli/plugin-container-registry-v5": "^8.1.7",
|
|
23
|
-
"@heroku-cli/plugin-git": "^8.1.8",
|
|
24
|
-
"@heroku-cli/plugin-local": "^8.1.9",
|
|
25
|
-
"@heroku-cli/plugin-oauth-v5": "^8.1.9",
|
|
26
17
|
"@heroku-cli/plugin-orgs-v5": "^8.1.4",
|
|
27
|
-
"@heroku-cli/plugin-pg-v5": "^8.
|
|
28
|
-
"@heroku-cli/plugin-pipelines": "^8.1.7",
|
|
18
|
+
"@heroku-cli/plugin-pg-v5": "^8.2.0-beta.0",
|
|
29
19
|
"@heroku-cli/plugin-ps": "^8.1.7",
|
|
30
20
|
"@heroku-cli/plugin-ps-exec": "^2.4.0",
|
|
31
21
|
"@heroku-cli/plugin-redis-v5": "^8.1.7",
|
|
32
|
-
"@heroku-cli/plugin-run": "^8.1.4",
|
|
33
22
|
"@heroku-cli/plugin-spaces": "^8.1.7",
|
|
34
|
-
"@heroku-cli/
|
|
35
|
-
"@heroku
|
|
36
|
-
"@
|
|
23
|
+
"@heroku-cli/schema": "^1.0.25",
|
|
24
|
+
"@heroku/buildpack-registry": "^1.0.1",
|
|
25
|
+
"@heroku/eventsource": "^1.0.7",
|
|
26
|
+
"@oclif/core": "^2.8.11",
|
|
37
27
|
"@oclif/plugin-commands": "2.2.2",
|
|
38
28
|
"@oclif/plugin-help": "^5",
|
|
39
29
|
"@oclif/plugin-legacy": "^1.3.0",
|
|
@@ -43,28 +33,62 @@
|
|
|
43
33
|
"@oclif/plugin-version": "^1.2.1",
|
|
44
34
|
"@oclif/plugin-warn-if-update-available": "2.0.29",
|
|
45
35
|
"@oclif/plugin-which": "2.2.8",
|
|
36
|
+
"ansi-escapes": "3.2.0",
|
|
37
|
+
"async-file": "^2.0.2",
|
|
38
|
+
"chalk": "^2.4.2",
|
|
39
|
+
"date-fns": "^2.30.0",
|
|
46
40
|
"debug": "4.1.1",
|
|
41
|
+
"dotenv": "^16.3.1",
|
|
42
|
+
"edit-string": "^1.1.6",
|
|
47
43
|
"execa": "5.1.1",
|
|
44
|
+
"foreman": "^3.0.1",
|
|
48
45
|
"fs-extra": "7.0.1",
|
|
46
|
+
"github-url-to-object": "^4.0.4",
|
|
47
|
+
"got": "^9.6.0",
|
|
48
|
+
"heroku-cli-util": "^8.0.12",
|
|
49
49
|
"http-call": "5.3.0",
|
|
50
|
+
"inquirer": "^7.3.0",
|
|
51
|
+
"lodash": "^4.17.11",
|
|
50
52
|
"netrc-parser": "3.1.6",
|
|
53
|
+
"node-fetch": "^2.6.7",
|
|
54
|
+
"phoenix": "^1.6.14",
|
|
55
|
+
"rollbar": "^2.26.2",
|
|
51
56
|
"semver": "5.6.0",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
57
|
+
"shell-escape": "^0.2.0",
|
|
58
|
+
"shell-quote": "^1.6.1",
|
|
59
|
+
"tmp": "^0.0.33",
|
|
60
|
+
"true-myth": "2.2.3",
|
|
61
|
+
"urijs": "^1.19.11",
|
|
62
|
+
"uuid": "3.3.2",
|
|
63
|
+
"valid-url": "^1.0.9",
|
|
64
|
+
"validator": "^13.7.0",
|
|
65
|
+
"ws": "^6.2.2"
|
|
54
66
|
},
|
|
55
67
|
"devDependencies": {
|
|
56
|
-
"@
|
|
68
|
+
"@heroku-cli/schema": "^1.0.25",
|
|
69
|
+
"@oclif/test": "^2.3.25",
|
|
57
70
|
"@types/ansi-styles": "^3.2.1",
|
|
58
71
|
"@types/chai": "^4.1.7",
|
|
59
72
|
"@types/debug": "^4.1.2",
|
|
60
73
|
"@types/fs-extra": "^5.0.5",
|
|
61
74
|
"@types/glob": "^7.1.1",
|
|
75
|
+
"@types/got": "^9.6.7",
|
|
76
|
+
"@types/inquirer": "7.3.0",
|
|
62
77
|
"@types/lodash": "^4.14.123",
|
|
63
78
|
"@types/mocha": "^5.2.6",
|
|
64
79
|
"@types/nock": "^9.3.1",
|
|
80
|
+
"@types/node-fetch": "^2.1.6",
|
|
81
|
+
"@types/phoenix": "^1.4.0",
|
|
82
|
+
"@types/proxyquire": "^1.3.28",
|
|
83
|
+
"@types/shell-escape": "^0.2.0",
|
|
65
84
|
"@types/supports-color": "^5.3.0",
|
|
85
|
+
"@types/urijs": "^1.19.4",
|
|
86
|
+
"@types/uuid": "^8.3.0",
|
|
87
|
+
"@types/validator": "^10.9.0",
|
|
66
88
|
"@types/write-json-file": "^3.2.1",
|
|
89
|
+
"@types/ws": "^6.0.1",
|
|
67
90
|
"aws-sdk": "^2.421.0",
|
|
91
|
+
"bats": "^1.1.0",
|
|
68
92
|
"chai": "^4.2.0",
|
|
69
93
|
"globby": "^10.0.2",
|
|
70
94
|
"lodash": "^4.17.11",
|
|
@@ -72,20 +96,24 @@
|
|
|
72
96
|
"nock": "^10.0.6",
|
|
73
97
|
"nyc": "^15.1.0",
|
|
74
98
|
"oclif": "3.8.1",
|
|
99
|
+
"open": "^8.4.2",
|
|
100
|
+
"proxyquire": "^2.1.0",
|
|
75
101
|
"qqjs": "0.3.11",
|
|
76
102
|
"read-pkg": "^4.0.1",
|
|
77
103
|
"sinon": "^7.2.4",
|
|
78
104
|
"ts-node": "^10.9.1",
|
|
105
|
+
"tslib": "1.14.1",
|
|
79
106
|
"typescript": "4.8.4"
|
|
80
107
|
},
|
|
81
108
|
"engines": {
|
|
82
109
|
"node": ">=14"
|
|
83
110
|
},
|
|
84
111
|
"files": [
|
|
85
|
-
"/
|
|
112
|
+
"/autocomplete-scripts",
|
|
86
113
|
"/bin",
|
|
87
114
|
"/lib",
|
|
88
115
|
"/npm-shrinkwrap.json",
|
|
116
|
+
"/oclif.manifest.json",
|
|
89
117
|
"/yarn.lock"
|
|
90
118
|
],
|
|
91
119
|
"homepage": "https://cli.heroku.com",
|
|
@@ -107,30 +135,15 @@
|
|
|
107
135
|
"plugins": [
|
|
108
136
|
"@oclif/plugin-legacy",
|
|
109
137
|
"@heroku-cli/plugin-addons-v5",
|
|
110
|
-
"@heroku-cli/plugin-apps",
|
|
111
138
|
"@heroku-cli/plugin-apps-v5",
|
|
112
|
-
"@heroku-cli/plugin-auth",
|
|
113
|
-
"@heroku-cli/plugin-autocomplete",
|
|
114
|
-
"@heroku-cli/plugin-buildpacks",
|
|
115
|
-
"@heroku-cli/plugin-certs",
|
|
116
139
|
"@heroku-cli/plugin-certs-v5",
|
|
117
140
|
"@heroku-cli/plugin-ci-v5",
|
|
118
|
-
"@heroku-cli/plugin-ci",
|
|
119
|
-
"@heroku-cli/plugin-config",
|
|
120
141
|
"@heroku-cli/plugin-container-registry-v5",
|
|
121
|
-
"@heroku-cli/plugin-git",
|
|
122
|
-
"@heroku-cli/plugin-local",
|
|
123
|
-
"@heroku-cli/plugin-oauth-v5",
|
|
124
142
|
"@heroku-cli/plugin-orgs-v5",
|
|
125
143
|
"@heroku-cli/plugin-pg-v5",
|
|
126
|
-
"@heroku-cli/plugin-pipelines",
|
|
127
|
-
"@heroku-cli/plugin-ps",
|
|
128
144
|
"@heroku-cli/plugin-ps-exec",
|
|
129
145
|
"@heroku-cli/plugin-redis-v5",
|
|
130
|
-
"@heroku-cli/plugin-run",
|
|
131
146
|
"@heroku-cli/plugin-spaces",
|
|
132
|
-
"@heroku-cli/plugin-status",
|
|
133
|
-
"@heroku-cli/plugin-webhooks",
|
|
134
147
|
"@oclif/plugin-commands",
|
|
135
148
|
"@oclif/plugin-help",
|
|
136
149
|
"@oclif/plugin-not-found",
|
|
@@ -156,6 +169,9 @@
|
|
|
156
169
|
"apps": {
|
|
157
170
|
"description": "manage apps on Heroku"
|
|
158
171
|
},
|
|
172
|
+
"authorizations": {
|
|
173
|
+
"description": "OAuth authorizations"
|
|
174
|
+
},
|
|
159
175
|
"buildpacks": {
|
|
160
176
|
"description": "scripts used to compile apps"
|
|
161
177
|
},
|
|
@@ -165,6 +181,9 @@
|
|
|
165
181
|
"ci": {
|
|
166
182
|
"description": "test runner for Heroku Pipelines"
|
|
167
183
|
},
|
|
184
|
+
"clients": {
|
|
185
|
+
"description": "OAuth clients on the platform"
|
|
186
|
+
},
|
|
168
187
|
"commands": {
|
|
169
188
|
"hidden": true
|
|
170
189
|
},
|
|
@@ -198,6 +217,9 @@
|
|
|
198
217
|
"local": {
|
|
199
218
|
"description": "run Heroku app locally"
|
|
200
219
|
},
|
|
220
|
+
"logs": {
|
|
221
|
+
"description": "display recent log output"
|
|
222
|
+
},
|
|
201
223
|
"maintenance": {
|
|
202
224
|
"description": "enable/disable access to app"
|
|
203
225
|
},
|
|
@@ -208,6 +230,12 @@
|
|
|
208
230
|
"ps": {
|
|
209
231
|
"description": "manage app dynos"
|
|
210
232
|
},
|
|
233
|
+
"run": {
|
|
234
|
+
"description": "run a one-off process inside a Heroku dyno"
|
|
235
|
+
},
|
|
236
|
+
"sessions": {
|
|
237
|
+
"description": "OAuth sessions"
|
|
238
|
+
},
|
|
211
239
|
"stack": {
|
|
212
240
|
"description": "list available stacks",
|
|
213
241
|
"hidden": true
|
|
@@ -231,12 +259,20 @@
|
|
|
231
259
|
"prerun": [
|
|
232
260
|
"./lib/hooks/prerun/analytics"
|
|
233
261
|
],
|
|
262
|
+
"postrun": [
|
|
263
|
+
"./lib/hooks/postrun/performance_analytics"
|
|
264
|
+
],
|
|
265
|
+
"command_not_found": [
|
|
266
|
+
"./lib/hooks/command_not_found/performance_analytics"
|
|
267
|
+
],
|
|
234
268
|
"update": [
|
|
235
269
|
"./lib/hooks/update/plugin-migrate",
|
|
236
270
|
"./lib/hooks/update/b",
|
|
237
271
|
"./lib/hooks/update/completions",
|
|
238
|
-
"./lib/hooks/update/tidy"
|
|
239
|
-
|
|
272
|
+
"./lib/hooks/update/tidy",
|
|
273
|
+
"./lib/hooks/recache"
|
|
274
|
+
],
|
|
275
|
+
"recache": "./lib/hooks/recache"
|
|
240
276
|
},
|
|
241
277
|
"update": {
|
|
242
278
|
"node": {
|
|
@@ -279,13 +315,14 @@
|
|
|
279
315
|
"build": "rm -rf lib && tsc",
|
|
280
316
|
"postpublish": "rm -f oclif.manifest.json",
|
|
281
317
|
"prepack": "yarn run build && oclif manifest",
|
|
282
|
-
"pretest": "tsc -p test --noEmit",
|
|
318
|
+
"pretest": "lerna run prepack --concurrency 4 && tsc -p test --noEmit",
|
|
283
319
|
"test": "nyc mocha --forbid-only \"test/**/*.unit.test.ts\"",
|
|
284
|
-
"test:acceptance": "mocha --forbid-only \"test/**/*.acceptance.test.ts\"",
|
|
320
|
+
"test:acceptance": "mocha --forbid-only \"test/**/*.acceptance.test.ts\" && node ./bin/bats-test-runner",
|
|
321
|
+
"test:integration": "mocha --forbid-only \"test/**/*.integration.test.ts\"",
|
|
285
322
|
"test:smoke": "mocha --forbid-only \"test/**/smoke.acceptance.test.ts\"",
|
|
286
323
|
"posttest": "yarn lint",
|
|
287
324
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
288
325
|
},
|
|
289
326
|
"types": "lib/index.d.ts",
|
|
290
|
-
"gitHead": "
|
|
327
|
+
"gitHead": "638b83d9c152bc261c730559c47b232d52b44493"
|
|
291
328
|
}
|
package/lib/hooks/update/b.d.ts
DELETED
package/lib/hooks/update/b.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.brewHook = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const child_process_1 = require("child_process");
|
|
6
|
-
const path = tslib_1.__importStar(require("path"));
|
|
7
|
-
const fs = tslib_1.__importStar(require("../../file"));
|
|
8
|
-
const debug = require('debug')('heroku:brewhook');
|
|
9
|
-
function brew(args, opts = {}) {
|
|
10
|
-
debug('brew %o', args);
|
|
11
|
-
return (0, child_process_1.spawnSync)('brew', args, Object.assign(Object.assign({ stdio: 'inherit' }, opts), { encoding: 'utf8' }));
|
|
12
|
-
}
|
|
13
|
-
const brewHook = async function () {
|
|
14
|
-
if (this.config.platform !== 'darwin')
|
|
15
|
-
return;
|
|
16
|
-
const brewRoot = path.join(process.env.HOMEBREW_PREFIX || '/usr/local');
|
|
17
|
-
let binPath;
|
|
18
|
-
try {
|
|
19
|
-
binPath = fs.realpathSync(path.join(brewRoot, 'bin/heroku'));
|
|
20
|
-
}
|
|
21
|
-
catch (error) {
|
|
22
|
-
if (error.code === 'ENOENT')
|
|
23
|
-
return;
|
|
24
|
-
throw error;
|
|
25
|
-
}
|
|
26
|
-
let cellarPath;
|
|
27
|
-
if (binPath && binPath.startsWith(path.join(brewRoot, 'Cellar'))) {
|
|
28
|
-
cellarPath = path.resolve(binPath, path.dirname(path.relative(binPath, path.join(brewRoot, 'Cellar/heroku'))));
|
|
29
|
-
}
|
|
30
|
-
const fetchInstallReceipt = async () => {
|
|
31
|
-
if (!cellarPath)
|
|
32
|
-
return;
|
|
33
|
-
return fs.readJSON(path.join(cellarPath, 'INSTALL_RECEIPT.json'));
|
|
34
|
-
};
|
|
35
|
-
const needsMigrate = async () => {
|
|
36
|
-
const receipt = await fetchInstallReceipt();
|
|
37
|
-
if (!receipt)
|
|
38
|
-
return false;
|
|
39
|
-
return receipt.source.tap === 'homebrew/core';
|
|
40
|
-
};
|
|
41
|
-
if (!await needsMigrate())
|
|
42
|
-
return;
|
|
43
|
-
debug('migrating from brew');
|
|
44
|
-
// not on private tap, move to it
|
|
45
|
-
brew(['uninstall', 'heroku']);
|
|
46
|
-
brew(['install', 'heroku/brew/heroku']);
|
|
47
|
-
};
|
|
48
|
-
exports.brewHook = brewHook;
|