heroku 9.0.0-alpha.0 → 9.0.0-dev.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.
Files changed (109) hide show
  1. package/README.md +4 -1
  2. package/lib/commands/apps/favorites/add.d.ts +9 -0
  3. package/lib/commands/apps/favorites/add.js +37 -0
  4. package/lib/commands/apps/favorites/index.d.ts +9 -0
  5. package/lib/commands/apps/favorites/index.js +25 -0
  6. package/lib/commands/apps/favorites/remove.d.ts +9 -0
  7. package/lib/commands/apps/favorites/remove.js +27 -0
  8. package/lib/commands/apps/stacks/index.d.ts +10 -0
  9. package/lib/commands/apps/stacks/index.js +43 -0
  10. package/lib/commands/apps/stacks/set.d.ts +14 -0
  11. package/lib/commands/apps/stacks/set.js +41 -0
  12. package/lib/commands/auth/logout.js +1 -0
  13. package/lib/commands/authorizations/create.d.ts +3 -3
  14. package/lib/commands/authorizations/info.d.ts +1 -1
  15. package/lib/commands/authorizations/revoke.d.ts +1 -1
  16. package/lib/commands/authorizations/rotate.d.ts +1 -1
  17. package/lib/commands/authorizations/update.d.ts +4 -4
  18. package/lib/commands/autocomplete/options.d.ts +2 -2
  19. package/lib/commands/autocomplete/script.d.ts +1 -1
  20. package/lib/commands/buildpacks/add.d.ts +4 -4
  21. package/lib/commands/buildpacks/clear.d.ts +2 -2
  22. package/lib/commands/buildpacks/index.d.ts +2 -2
  23. package/lib/commands/buildpacks/info.d.ts +1 -1
  24. package/lib/commands/buildpacks/remove.d.ts +4 -4
  25. package/lib/commands/buildpacks/search.d.ts +4 -4
  26. package/lib/commands/buildpacks/set.d.ts +4 -4
  27. package/lib/commands/buildpacks/versions.d.ts +1 -1
  28. package/lib/commands/ci/config/get.d.ts +3 -3
  29. package/lib/commands/ci/config/index.d.ts +12 -0
  30. package/lib/commands/ci/config/index.js +43 -0
  31. package/lib/commands/ci/config/set.d.ts +2 -2
  32. package/lib/commands/ci/config/set.js +2 -6
  33. package/lib/commands/ci/config/unset.d.ts +13 -0
  34. package/lib/commands/ci/config/unset.js +35 -0
  35. package/lib/commands/ci/debug.d.ts +2 -2
  36. package/lib/commands/ci/index.d.ts +2 -2
  37. package/lib/commands/ci/info.d.ts +4 -4
  38. package/lib/commands/ci/last.d.ts +3 -3
  39. package/lib/commands/ci/migrate-manifest.d.ts +7 -0
  40. package/lib/commands/ci/migrate-manifest.js +74 -0
  41. package/lib/commands/ci/open.d.ts +2 -2
  42. package/lib/commands/ci/rerun.d.ts +3 -3
  43. package/lib/commands/ci/run.d.ts +2 -2
  44. package/lib/commands/clients/create.d.ts +2 -2
  45. package/lib/commands/clients/destroy.d.ts +1 -1
  46. package/lib/commands/clients/info.d.ts +1 -1
  47. package/lib/commands/clients/rotate.d.ts +1 -1
  48. package/lib/commands/clients/update.d.ts +3 -3
  49. package/lib/commands/config/edit.d.ts +3 -3
  50. package/lib/commands/config/get.d.ts +3 -3
  51. package/lib/commands/config/index.d.ts +2 -2
  52. package/lib/commands/config/unset.d.ts +2 -2
  53. package/lib/commands/console.d.ts +4 -4
  54. package/lib/commands/domains/add.d.ts +4 -4
  55. package/lib/commands/domains/clear.d.ts +2 -2
  56. package/lib/commands/domains/index.d.ts +9 -9
  57. package/lib/commands/domains/info.d.ts +3 -3
  58. package/lib/commands/domains/remove.d.ts +3 -3
  59. package/lib/commands/domains/update.d.ts +4 -4
  60. package/lib/commands/domains/wait.d.ts +3 -3
  61. package/lib/commands/git/clone.d.ts +3 -3
  62. package/lib/commands/git/credentials.d.ts +1 -1
  63. package/lib/commands/git/remote.d.ts +2 -2
  64. package/lib/commands/local/index.d.ts +5 -5
  65. package/lib/commands/local/run.d.ts +2 -2
  66. package/lib/commands/logs.d.ts +6 -6
  67. package/lib/commands/pipelines/add.d.ts +4 -4
  68. package/lib/commands/pipelines/connect.d.ts +2 -2
  69. package/lib/commands/pipelines/create.d.ts +5 -5
  70. package/lib/commands/pipelines/destroy.d.ts +1 -1
  71. package/lib/commands/pipelines/diff.d.ts +2 -2
  72. package/lib/commands/pipelines/info.d.ts +1 -1
  73. package/lib/commands/pipelines/open.d.ts +1 -1
  74. package/lib/commands/pipelines/promote.d.ts +3 -3
  75. package/lib/commands/pipelines/remove.d.ts +2 -2
  76. package/lib/commands/pipelines/rename.d.ts +2 -2
  77. package/lib/commands/pipelines/setup.d.ts +3 -3
  78. package/lib/commands/pipelines/transfer.d.ts +3 -3
  79. package/lib/commands/pipelines/update.d.ts +3 -3
  80. package/lib/commands/ps/autoscale/disable.d.ts +2 -2
  81. package/lib/commands/ps/autoscale/enable.d.ts +5 -5
  82. package/lib/commands/ps/wait.d.ts +4 -4
  83. package/lib/commands/rake.d.ts +4 -4
  84. package/lib/commands/reviewapps/disable.d.ts +3 -3
  85. package/lib/commands/reviewapps/enable.d.ts +3 -3
  86. package/lib/commands/sessions/destroy.d.ts +1 -1
  87. package/lib/commands/webhooks/add.d.ts +8 -8
  88. package/lib/commands/webhooks/deliveries/index.d.ts +4 -4
  89. package/lib/commands/webhooks/deliveries/info.d.ts +4 -4
  90. package/lib/commands/webhooks/events/index.d.ts +3 -3
  91. package/lib/commands/webhooks/events/info.d.ts +4 -4
  92. package/lib/commands/webhooks/index.d.ts +3 -3
  93. package/lib/commands/webhooks/info.d.ts +4 -4
  94. package/lib/commands/webhooks/remove.d.ts +4 -4
  95. package/lib/commands/webhooks/update.d.ts +9 -9
  96. package/lib/lib/api.d.ts +1 -1
  97. package/lib/lib/autocomplete/base.d.ts +1 -1
  98. package/lib/lib/autocomplete/completions.d.ts +1 -1
  99. package/lib/lib/buildpacks/buildpacks.js +3 -4
  100. package/lib/lib/ci/validate.d.ts +2 -0
  101. package/lib/lib/ci/validate.js +10 -0
  102. package/lib/lib/git/push.d.ts +1 -0
  103. package/lib/lib/git/push.js +6 -0
  104. package/lib/lib/types/favorites.d.ts +7 -0
  105. package/lib/lib/types/favorites.js +2 -0
  106. package/oclif.manifest.json +245 -28
  107. package/package.json +18 -20
  108. package/lib/lib/buildpacks/push.d.ts +0 -0
  109. package/lib/lib/buildpacks/push.js +0 -4
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "9.0.0-alpha.0",
2
+ "version": "9.0.0-dev.0",
3
3
  "commands": {
4
4
  "console": {
5
5
  "id": "console",
@@ -999,6 +999,21 @@
999
999
  },
1000
1000
  "args": {}
1001
1001
  },
1002
+ "ci:migrate-manifest": {
1003
+ "id": "ci:migrate-manifest",
1004
+ "description": "app-ci.json is deprecated. Run this command to migrate to app.json with an environments key.",
1005
+ "strict": true,
1006
+ "pluginName": "heroku",
1007
+ "pluginAlias": "heroku",
1008
+ "pluginType": "core",
1009
+ "aliases": [],
1010
+ "examples": [
1011
+ "$ heroku ci:migrate-manifest"
1012
+ ],
1013
+ "flags": {},
1014
+ "args": {},
1015
+ "topic": "ci"
1016
+ },
1002
1017
  "ci:open": {
1003
1018
  "id": "ci:open",
1004
1019
  "description": "open the Dashboard version of Heroku CI",
@@ -1577,18 +1592,6 @@
1577
1592
  "extended"
1578
1593
  ]
1579
1594
  },
1580
- "sort": {
1581
- "name": "sort",
1582
- "type": "option",
1583
- "description": "property to sort by (prepend '-' for descending)",
1584
- "multiple": false
1585
- },
1586
- "filter": {
1587
- "name": "filter",
1588
- "type": "option",
1589
- "description": "filter property by partial string matching, ex: name=foo",
1590
- "multiple": false
1591
- },
1592
1595
  "csv": {
1593
1596
  "name": "csv",
1594
1597
  "type": "boolean",
@@ -1598,21 +1601,6 @@
1598
1601
  "no-truncate"
1599
1602
  ]
1600
1603
  },
1601
- "output": {
1602
- "name": "output",
1603
- "type": "option",
1604
- "description": "output in a more machine friendly format",
1605
- "multiple": false,
1606
- "options": [
1607
- "csv",
1608
- "json",
1609
- "yaml"
1610
- ],
1611
- "exclusive": [
1612
- "no-truncate",
1613
- "csv"
1614
- ]
1615
- },
1616
1604
  "extended": {
1617
1605
  "name": "extended",
1618
1606
  "type": "boolean",
@@ -1623,6 +1611,12 @@
1623
1611
  "columns"
1624
1612
  ]
1625
1613
  },
1614
+ "filter": {
1615
+ "name": "filter",
1616
+ "type": "option",
1617
+ "description": "filter property by partial string matching, ex: name=foo",
1618
+ "multiple": false
1619
+ },
1626
1620
  "no-header": {
1627
1621
  "name": "no-header",
1628
1622
  "type": "boolean",
@@ -1631,6 +1625,27 @@
1631
1625
  "exclusive": [
1632
1626
  "csv"
1633
1627
  ]
1628
+ },
1629
+ "output": {
1630
+ "name": "output",
1631
+ "type": "option",
1632
+ "description": "output in a more machine friendly format",
1633
+ "multiple": false,
1634
+ "options": [
1635
+ "csv",
1636
+ "json",
1637
+ "yaml"
1638
+ ],
1639
+ "exclusive": [
1640
+ "no-truncate",
1641
+ "csv"
1642
+ ]
1643
+ },
1644
+ "sort": {
1645
+ "name": "sort",
1646
+ "type": "option",
1647
+ "description": "property to sort by (prepend '-' for descending)",
1648
+ "multiple": false
1634
1649
  }
1635
1650
  },
1636
1651
  "args": {}
@@ -3159,6 +3174,127 @@
3159
3174
  }
3160
3175
  }
3161
3176
  },
3177
+ "apps:favorites:add": {
3178
+ "id": "apps:favorites:add",
3179
+ "description": "favorites an app",
3180
+ "strict": true,
3181
+ "pluginName": "heroku",
3182
+ "pluginAlias": "heroku",
3183
+ "pluginType": "core",
3184
+ "aliases": [],
3185
+ "flags": {
3186
+ "app": {
3187
+ "name": "app",
3188
+ "type": "option",
3189
+ "char": "a",
3190
+ "description": "app to run command against",
3191
+ "required": true,
3192
+ "multiple": false
3193
+ }
3194
+ },
3195
+ "args": {},
3196
+ "topic": "apps"
3197
+ },
3198
+ "apps:favorites": {
3199
+ "id": "apps:favorites",
3200
+ "description": "list favorited apps",
3201
+ "strict": true,
3202
+ "pluginName": "heroku",
3203
+ "pluginAlias": "heroku",
3204
+ "pluginType": "core",
3205
+ "aliases": [],
3206
+ "flags": {
3207
+ "json": {
3208
+ "name": "json",
3209
+ "type": "boolean",
3210
+ "char": "j",
3211
+ "description": "output in json format",
3212
+ "allowNo": false
3213
+ }
3214
+ },
3215
+ "args": {},
3216
+ "topic": "apps"
3217
+ },
3218
+ "apps:favorites:remove": {
3219
+ "id": "apps:favorites:remove",
3220
+ "description": "unfavorites an app",
3221
+ "strict": true,
3222
+ "pluginName": "heroku",
3223
+ "pluginAlias": "heroku",
3224
+ "pluginType": "core",
3225
+ "aliases": [],
3226
+ "flags": {
3227
+ "app": {
3228
+ "name": "app",
3229
+ "type": "option",
3230
+ "char": "a",
3231
+ "description": "app to run command against",
3232
+ "required": true,
3233
+ "multiple": false
3234
+ }
3235
+ },
3236
+ "args": {},
3237
+ "topic": "apps"
3238
+ },
3239
+ "apps:stacks": {
3240
+ "id": "apps:stacks",
3241
+ "description": "show the list of available stacks",
3242
+ "strict": true,
3243
+ "pluginName": "heroku",
3244
+ "pluginAlias": "heroku",
3245
+ "pluginType": "core",
3246
+ "aliases": [
3247
+ "stack"
3248
+ ],
3249
+ "flags": {
3250
+ "app": {
3251
+ "name": "app",
3252
+ "type": "option",
3253
+ "char": "a",
3254
+ "description": "app to run command against",
3255
+ "required": true,
3256
+ "multiple": false
3257
+ }
3258
+ },
3259
+ "args": {},
3260
+ "topic": "apps"
3261
+ },
3262
+ "apps:stacks:set": {
3263
+ "id": "apps:stacks:set",
3264
+ "description": "set the stack of an app",
3265
+ "strict": true,
3266
+ "pluginName": "heroku",
3267
+ "pluginAlias": "heroku",
3268
+ "pluginType": "core",
3269
+ "aliases": [
3270
+ "stack:set"
3271
+ ],
3272
+ "examples": "$ heroku stack:set heroku-22 -a myapp\nSetting stack to heroku-22... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp.",
3273
+ "flags": {
3274
+ "app": {
3275
+ "name": "app",
3276
+ "type": "option",
3277
+ "char": "a",
3278
+ "description": "app to run command against",
3279
+ "required": true,
3280
+ "multiple": false
3281
+ },
3282
+ "remote": {
3283
+ "name": "remote",
3284
+ "type": "option",
3285
+ "char": "r",
3286
+ "description": "git remote of app to use",
3287
+ "multiple": false
3288
+ }
3289
+ },
3290
+ "args": {
3291
+ "stack": {
3292
+ "name": "stack",
3293
+ "required": true
3294
+ }
3295
+ },
3296
+ "example": "$ heroku stack:set heroku-22 -a myapp\nSetting stack to heroku-22... done\nYou will need to redeploy myapp for the change to take effect.\nRun git push heroku main to trigger a new build on myapp."
3297
+ },
3162
3298
  "auth:2fa:disable": {
3163
3299
  "id": "auth:2fa:disable",
3164
3300
  "description": "disables 2fa on account",
@@ -3260,6 +3396,48 @@
3260
3396
  },
3261
3397
  "topic": "ci"
3262
3398
  },
3399
+ "ci:config": {
3400
+ "id": "ci:config",
3401
+ "description": "display CI config vars",
3402
+ "strict": true,
3403
+ "pluginName": "heroku",
3404
+ "pluginAlias": "heroku",
3405
+ "pluginType": "core",
3406
+ "aliases": [],
3407
+ "examples": [
3408
+ "$ heroku ci:config --app murmuring-headland-14719 --json\n"
3409
+ ],
3410
+ "flags": {
3411
+ "app": {
3412
+ "name": "app",
3413
+ "type": "option",
3414
+ "char": "a",
3415
+ "description": "app name",
3416
+ "multiple": false
3417
+ },
3418
+ "shell": {
3419
+ "name": "shell",
3420
+ "type": "boolean",
3421
+ "char": "s",
3422
+ "description": "output config vars in shell format",
3423
+ "allowNo": false
3424
+ },
3425
+ "json": {
3426
+ "name": "json",
3427
+ "type": "boolean",
3428
+ "description": "output config vars in json format",
3429
+ "allowNo": false
3430
+ },
3431
+ "pipeline": {
3432
+ "name": "pipeline",
3433
+ "type": "option",
3434
+ "char": "p",
3435
+ "description": "name of pipeline",
3436
+ "multiple": false
3437
+ }
3438
+ },
3439
+ "args": {}
3440
+ },
3263
3441
  "ci:config:set": {
3264
3442
  "id": "ci:config:set",
3265
3443
  "description": "set CI config vars",
@@ -3291,6 +3469,45 @@
3291
3469
  "args": {},
3292
3470
  "topic": "ci"
3293
3471
  },
3472
+ "ci:config:unset": {
3473
+ "id": "ci:config:unset",
3474
+ "description": "unset CI config vars",
3475
+ "strict": false,
3476
+ "pluginName": "heroku",
3477
+ "pluginAlias": "heroku",
3478
+ "pluginType": "core",
3479
+ "aliases": [],
3480
+ "examples": [
3481
+ "$ heroku ci:config:unset RAILS_ENV"
3482
+ ],
3483
+ "flags": {
3484
+ "help": {
3485
+ "name": "help",
3486
+ "type": "boolean",
3487
+ "char": "h",
3488
+ "description": "Show CLI help.",
3489
+ "allowNo": false
3490
+ },
3491
+ "app": {
3492
+ "name": "app",
3493
+ "type": "option",
3494
+ "char": "a",
3495
+ "description": "app to run command against",
3496
+ "required": false,
3497
+ "multiple": false
3498
+ },
3499
+ "pipeline": {
3500
+ "name": "pipeline",
3501
+ "type": "option",
3502
+ "char": "p",
3503
+ "description": "name of pipeline",
3504
+ "required": false,
3505
+ "multiple": false
3506
+ }
3507
+ },
3508
+ "args": {},
3509
+ "topic": "ci"
3510
+ },
3294
3511
  "ps:autoscale:disable": {
3295
3512
  "id": "ps:autoscale:disable",
3296
3513
  "description": "disable web dyno autoscaling",
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
1
  {
2
2
  "name": "heroku",
3
3
  "description": "CLI to interact with Heroku",
4
- "version": "9.0.0-alpha.0",
4
+ "version": "9.0.0-dev.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.0.0",
10
+ "@heroku-cli/command": "https://github.com/heroku/heroku-cli-command.git#1b0029fadaae7fc5ea43bbb09dd36c2d9541a305",
11
11
  "@heroku-cli/command-v9": "npm:@heroku-cli/command@^9.0.2",
12
12
  "@heroku-cli/notifications": "^1.2.2",
13
- "@heroku-cli/plugin-addons-v5": "^9.0.0-alpha.0",
14
- "@heroku-cli/plugin-apps-v5": "^9.0.0-alpha.0",
15
- "@heroku-cli/plugin-certs-v5": "^9.0.0-alpha.0",
16
- "@heroku-cli/plugin-ci-v5": "^9.0.0-alpha.0",
17
- "@heroku-cli/plugin-container-registry-v5": "^9.0.0-alpha.0",
18
- "@heroku-cli/plugin-orgs-v5": "^9.0.0-alpha.0",
19
- "@heroku-cli/plugin-pg-v5": "^9.0.0-alpha.0",
13
+ "@heroku-cli/plugin-addons-v5": "^9.0.0-dev.0",
14
+ "@heroku-cli/plugin-apps-v5": "^9.0.0-dev.0",
15
+ "@heroku-cli/plugin-certs-v5": "^9.0.0-dev.0",
16
+ "@heroku-cli/plugin-container-registry-v5": "^9.0.0-dev.0",
17
+ "@heroku-cli/plugin-orgs-v5": "^9.0.0-dev.0",
18
+ "@heroku-cli/plugin-pg-v5": "^9.0.0-dev.0",
20
19
  "@heroku-cli/plugin-ps": "^8.1.7",
21
20
  "@heroku-cli/plugin-ps-exec": "^2.4.0",
22
- "@heroku-cli/plugin-redis-v5": "^9.0.0-alpha.0",
21
+ "@heroku-cli/plugin-redis-v5": "^9.0.0-dev.0",
23
22
  "@heroku-cli/plugin-run": "8.1.4",
24
- "@heroku-cli/plugin-spaces": "^9.0.0-alpha.0",
23
+ "@heroku-cli/plugin-spaces": "^9.0.0-dev.0",
25
24
  "@heroku-cli/schema": "^1.0.25",
26
25
  "@heroku/buildpack-registry": "^1.0.1",
27
26
  "@heroku/eventsource": "^1.0.7",
28
- "@oclif/core": "^2.8.11",
27
+ "@oclif/command": "1.8.15",
28
+ "@oclif/core": "3.3.3-dev.0",
29
29
  "@oclif/core-v1": "npm:@oclif/core@^1.26.2",
30
30
  "@oclif/plugin-commands": "2.2.2",
31
31
  "@oclif/plugin-help": "^5",
32
- "@oclif/plugin-legacy": "^1.3.0",
32
+ "@oclif/plugin-legacy": "2.0.0-beta.1",
33
33
  "@oclif/plugin-not-found": "2.3.16",
34
- "@oclif/plugin-plugins": "2.4.3",
34
+ "@oclif/plugin-plugins": "https://github.com/ryandagg/plugin-plugins.git#7db731255396b5092d9e9fcabd16a0b70b2fc894",
35
35
  "@oclif/plugin-update": "3.1.10",
36
36
  "@oclif/plugin-version": "^1.2.1",
37
37
  "@oclif/plugin-warn-if-update-available": "2.0.29",
@@ -86,7 +86,6 @@
86
86
  "@types/inquirer": "7.3.0",
87
87
  "@types/lodash": "^4.14.123",
88
88
  "@types/mocha": "^5.2.6",
89
- "@types/nock": "^9.3.1",
90
89
  "@types/node-fetch": "^2.1.6",
91
90
  "@types/phoenix": "^1.4.0",
92
91
  "@types/proxyquire": "^1.3.28",
@@ -103,7 +102,7 @@
103
102
  "globby": "^10.0.2",
104
103
  "lodash": "^4.17.11",
105
104
  "mocha": "^5.2.0",
106
- "nock": "^10.0.6",
105
+ "nock": "^11.9.1",
107
106
  "nyc": "^15.1.0",
108
107
  "oclif": "3.11.3",
109
108
  "open": "^8.4.2",
@@ -115,7 +114,7 @@
115
114
  "typescript": "4.8.4"
116
115
  },
117
116
  "engines": {
118
- "node": ">=14"
117
+ "node": ">=18"
119
118
  },
120
119
  "files": [
121
120
  "/autocomplete-scripts",
@@ -146,7 +145,6 @@
146
145
  "@heroku-cli/plugin-addons-v5",
147
146
  "@heroku-cli/plugin-apps-v5",
148
147
  "@heroku-cli/plugin-certs-v5",
149
- "@heroku-cli/plugin-ci-v5",
150
148
  "@heroku-cli/plugin-container-registry-v5",
151
149
  "@heroku-cli/plugin-orgs-v5",
152
150
  "@heroku-cli/plugin-pg-v5",
@@ -292,7 +290,7 @@
292
290
  },
293
291
  "update": {
294
292
  "node": {
295
- "version": "16.19.0"
293
+ "version": "18.16.1"
296
294
  },
297
295
  "s3": {
298
296
  "xz": true,
@@ -340,5 +338,5 @@
340
338
  "version": "oclif readme --multi && git add README.md ../../docs"
341
339
  },
342
340
  "types": "lib/index.d.ts",
343
- "gitHead": "51d875ab6b89ce2334b06b20839d575fe9a19ca8"
341
+ "gitHead": "a86683866c6a41dc8a2cc19566aa9bfc0ed961fd"
344
342
  }
File without changes
@@ -1,4 +0,0 @@
1
- "use strict";
2
- module.exports = function (remote) {
3
- return `git push ${remote || 'heroku'} main`;
4
- };