heroku 10.6.0 → 10.6.1
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/lib/commands/addons/index.js +2 -0
- package/lib/lib/addons/resolve.js +2 -2
- package/oclif.manifest.json +159 -159
- package/package.json +2 -2
|
@@ -15,6 +15,7 @@ async function addonGetter(api, app) {
|
|
|
15
15
|
addonsResponse = api.get(`/apps/${app}/addons`, {
|
|
16
16
|
headers: {
|
|
17
17
|
'Accept-Expansion': 'addon_service,plan',
|
|
18
|
+
Accept: 'application/vnd.heroku+json; version=3.sdk',
|
|
18
19
|
},
|
|
19
20
|
});
|
|
20
21
|
const sudoHeaders = JSON.parse(process.env.HEROKU_HEADERS || '{}');
|
|
@@ -34,6 +35,7 @@ async function addonGetter(api, app) {
|
|
|
34
35
|
addonsResponse = api.get('/addons', {
|
|
35
36
|
headers: {
|
|
36
37
|
'Accept-Expansion': 'addon_service,plan',
|
|
38
|
+
Accept: 'application/vnd.heroku+json; version=3.sdk',
|
|
37
39
|
},
|
|
38
40
|
});
|
|
39
41
|
}
|
|
@@ -4,7 +4,7 @@ exports.AmbiguousError = exports.NotFound = exports.resolveAddon = exports.attac
|
|
|
4
4
|
const http_call_1 = require("@heroku/http-call");
|
|
5
5
|
const api_client_1 = require("@heroku-cli/command/lib/api-client");
|
|
6
6
|
const addonHeaders = {
|
|
7
|
-
Accept: 'application/vnd.heroku+json; version=3.
|
|
7
|
+
Accept: 'application/vnd.heroku+json; version=3.sdk',
|
|
8
8
|
'Accept-Expansion': 'addon_service,plan',
|
|
9
9
|
};
|
|
10
10
|
const appAddon = async function (heroku, app, id, options = {}) {
|
|
@@ -59,7 +59,7 @@ const filter = function (app, addonService) {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
const attachmentHeaders = {
|
|
62
|
-
Accept: 'application/vnd.heroku+json; version=3.
|
|
62
|
+
Accept: 'application/vnd.heroku+json; version=3.sdk',
|
|
63
63
|
'Accept-Inclusion': 'addon:plan,config_vars',
|
|
64
64
|
};
|
|
65
65
|
const appAttachment = async (heroku, app, id, options = {}) => {
|
package/oclif.manifest.json
CHANGED
|
@@ -2180,6 +2180,164 @@
|
|
|
2180
2180
|
"whoami.js"
|
|
2181
2181
|
]
|
|
2182
2182
|
},
|
|
2183
|
+
"autocomplete:create": {
|
|
2184
|
+
"aliases": [],
|
|
2185
|
+
"args": {},
|
|
2186
|
+
"description": "create autocomplete setup scripts and completion functions",
|
|
2187
|
+
"flags": {},
|
|
2188
|
+
"hasDynamicHelp": false,
|
|
2189
|
+
"hidden": true,
|
|
2190
|
+
"hiddenAliases": [],
|
|
2191
|
+
"id": "autocomplete:create",
|
|
2192
|
+
"pluginAlias": "heroku",
|
|
2193
|
+
"pluginName": "heroku",
|
|
2194
|
+
"pluginType": "core",
|
|
2195
|
+
"strict": true,
|
|
2196
|
+
"isESM": false,
|
|
2197
|
+
"relativePath": [
|
|
2198
|
+
"lib",
|
|
2199
|
+
"commands",
|
|
2200
|
+
"autocomplete",
|
|
2201
|
+
"create.js"
|
|
2202
|
+
]
|
|
2203
|
+
},
|
|
2204
|
+
"autocomplete:doctor": {
|
|
2205
|
+
"aliases": [],
|
|
2206
|
+
"args": {
|
|
2207
|
+
"shell": {
|
|
2208
|
+
"description": "shell type",
|
|
2209
|
+
"name": "shell",
|
|
2210
|
+
"required": false
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
"description": "autocomplete diagnostic",
|
|
2214
|
+
"flags": {
|
|
2215
|
+
"verbose": {
|
|
2216
|
+
"description": "list completable commands",
|
|
2217
|
+
"name": "verbose",
|
|
2218
|
+
"allowNo": false,
|
|
2219
|
+
"type": "boolean"
|
|
2220
|
+
}
|
|
2221
|
+
},
|
|
2222
|
+
"hasDynamicHelp": false,
|
|
2223
|
+
"hidden": true,
|
|
2224
|
+
"hiddenAliases": [],
|
|
2225
|
+
"id": "autocomplete:doctor",
|
|
2226
|
+
"pluginAlias": "heroku",
|
|
2227
|
+
"pluginName": "heroku",
|
|
2228
|
+
"pluginType": "core",
|
|
2229
|
+
"strict": true,
|
|
2230
|
+
"isESM": false,
|
|
2231
|
+
"relativePath": [
|
|
2232
|
+
"lib",
|
|
2233
|
+
"commands",
|
|
2234
|
+
"autocomplete",
|
|
2235
|
+
"doctor.js"
|
|
2236
|
+
]
|
|
2237
|
+
},
|
|
2238
|
+
"autocomplete": {
|
|
2239
|
+
"aliases": [],
|
|
2240
|
+
"args": {
|
|
2241
|
+
"shell": {
|
|
2242
|
+
"description": "shell type",
|
|
2243
|
+
"name": "shell",
|
|
2244
|
+
"required": false
|
|
2245
|
+
}
|
|
2246
|
+
},
|
|
2247
|
+
"description": "display autocomplete installation instructions",
|
|
2248
|
+
"examples": [
|
|
2249
|
+
"$ heroku autocomplete",
|
|
2250
|
+
"$ heroku autocomplete bash",
|
|
2251
|
+
"$ heroku autocomplete zsh",
|
|
2252
|
+
"$ heroku autocomplete --refresh-cache"
|
|
2253
|
+
],
|
|
2254
|
+
"flags": {
|
|
2255
|
+
"refresh-cache": {
|
|
2256
|
+
"char": "r",
|
|
2257
|
+
"description": "refresh cache only (ignores displaying instructions)",
|
|
2258
|
+
"name": "refresh-cache",
|
|
2259
|
+
"allowNo": false,
|
|
2260
|
+
"type": "boolean"
|
|
2261
|
+
}
|
|
2262
|
+
},
|
|
2263
|
+
"hasDynamicHelp": false,
|
|
2264
|
+
"hiddenAliases": [],
|
|
2265
|
+
"id": "autocomplete",
|
|
2266
|
+
"pluginAlias": "heroku",
|
|
2267
|
+
"pluginName": "heroku",
|
|
2268
|
+
"pluginType": "core",
|
|
2269
|
+
"strict": true,
|
|
2270
|
+
"isESM": false,
|
|
2271
|
+
"relativePath": [
|
|
2272
|
+
"lib",
|
|
2273
|
+
"commands",
|
|
2274
|
+
"autocomplete",
|
|
2275
|
+
"index.js"
|
|
2276
|
+
]
|
|
2277
|
+
},
|
|
2278
|
+
"autocomplete:options": {
|
|
2279
|
+
"aliases": [],
|
|
2280
|
+
"args": {
|
|
2281
|
+
"completion": {
|
|
2282
|
+
"name": "completion"
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2285
|
+
"description": "display arg or flag completion options (used internally by completion functions)",
|
|
2286
|
+
"flags": {
|
|
2287
|
+
"app": {
|
|
2288
|
+
"char": "a",
|
|
2289
|
+
"description": "app to run command against",
|
|
2290
|
+
"hidden": true,
|
|
2291
|
+
"name": "app",
|
|
2292
|
+
"required": false,
|
|
2293
|
+
"hasDynamicHelp": false,
|
|
2294
|
+
"multiple": false,
|
|
2295
|
+
"type": "option"
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
"hasDynamicHelp": false,
|
|
2299
|
+
"hidden": true,
|
|
2300
|
+
"hiddenAliases": [],
|
|
2301
|
+
"id": "autocomplete:options",
|
|
2302
|
+
"pluginAlias": "heroku",
|
|
2303
|
+
"pluginName": "heroku",
|
|
2304
|
+
"pluginType": "core",
|
|
2305
|
+
"strict": true,
|
|
2306
|
+
"isESM": false,
|
|
2307
|
+
"relativePath": [
|
|
2308
|
+
"lib",
|
|
2309
|
+
"commands",
|
|
2310
|
+
"autocomplete",
|
|
2311
|
+
"options.js"
|
|
2312
|
+
]
|
|
2313
|
+
},
|
|
2314
|
+
"autocomplete:script": {
|
|
2315
|
+
"aliases": [],
|
|
2316
|
+
"args": {
|
|
2317
|
+
"shell": {
|
|
2318
|
+
"description": "shell type",
|
|
2319
|
+
"name": "shell",
|
|
2320
|
+
"required": false
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
"description": "display autocomplete setup script for shell",
|
|
2324
|
+
"flags": {},
|
|
2325
|
+
"hasDynamicHelp": false,
|
|
2326
|
+
"hidden": true,
|
|
2327
|
+
"hiddenAliases": [],
|
|
2328
|
+
"id": "autocomplete:script",
|
|
2329
|
+
"pluginAlias": "heroku",
|
|
2330
|
+
"pluginName": "heroku",
|
|
2331
|
+
"pluginType": "core",
|
|
2332
|
+
"strict": true,
|
|
2333
|
+
"isESM": false,
|
|
2334
|
+
"relativePath": [
|
|
2335
|
+
"lib",
|
|
2336
|
+
"commands",
|
|
2337
|
+
"autocomplete",
|
|
2338
|
+
"script.js"
|
|
2339
|
+
]
|
|
2340
|
+
},
|
|
2183
2341
|
"authorizations:create": {
|
|
2184
2342
|
"aliases": [],
|
|
2185
2343
|
"args": {},
|
|
@@ -2420,164 +2578,6 @@
|
|
|
2420
2578
|
"update.js"
|
|
2421
2579
|
]
|
|
2422
2580
|
},
|
|
2423
|
-
"autocomplete:create": {
|
|
2424
|
-
"aliases": [],
|
|
2425
|
-
"args": {},
|
|
2426
|
-
"description": "create autocomplete setup scripts and completion functions",
|
|
2427
|
-
"flags": {},
|
|
2428
|
-
"hasDynamicHelp": false,
|
|
2429
|
-
"hidden": true,
|
|
2430
|
-
"hiddenAliases": [],
|
|
2431
|
-
"id": "autocomplete:create",
|
|
2432
|
-
"pluginAlias": "heroku",
|
|
2433
|
-
"pluginName": "heroku",
|
|
2434
|
-
"pluginType": "core",
|
|
2435
|
-
"strict": true,
|
|
2436
|
-
"isESM": false,
|
|
2437
|
-
"relativePath": [
|
|
2438
|
-
"lib",
|
|
2439
|
-
"commands",
|
|
2440
|
-
"autocomplete",
|
|
2441
|
-
"create.js"
|
|
2442
|
-
]
|
|
2443
|
-
},
|
|
2444
|
-
"autocomplete:doctor": {
|
|
2445
|
-
"aliases": [],
|
|
2446
|
-
"args": {
|
|
2447
|
-
"shell": {
|
|
2448
|
-
"description": "shell type",
|
|
2449
|
-
"name": "shell",
|
|
2450
|
-
"required": false
|
|
2451
|
-
}
|
|
2452
|
-
},
|
|
2453
|
-
"description": "autocomplete diagnostic",
|
|
2454
|
-
"flags": {
|
|
2455
|
-
"verbose": {
|
|
2456
|
-
"description": "list completable commands",
|
|
2457
|
-
"name": "verbose",
|
|
2458
|
-
"allowNo": false,
|
|
2459
|
-
"type": "boolean"
|
|
2460
|
-
}
|
|
2461
|
-
},
|
|
2462
|
-
"hasDynamicHelp": false,
|
|
2463
|
-
"hidden": true,
|
|
2464
|
-
"hiddenAliases": [],
|
|
2465
|
-
"id": "autocomplete:doctor",
|
|
2466
|
-
"pluginAlias": "heroku",
|
|
2467
|
-
"pluginName": "heroku",
|
|
2468
|
-
"pluginType": "core",
|
|
2469
|
-
"strict": true,
|
|
2470
|
-
"isESM": false,
|
|
2471
|
-
"relativePath": [
|
|
2472
|
-
"lib",
|
|
2473
|
-
"commands",
|
|
2474
|
-
"autocomplete",
|
|
2475
|
-
"doctor.js"
|
|
2476
|
-
]
|
|
2477
|
-
},
|
|
2478
|
-
"autocomplete": {
|
|
2479
|
-
"aliases": [],
|
|
2480
|
-
"args": {
|
|
2481
|
-
"shell": {
|
|
2482
|
-
"description": "shell type",
|
|
2483
|
-
"name": "shell",
|
|
2484
|
-
"required": false
|
|
2485
|
-
}
|
|
2486
|
-
},
|
|
2487
|
-
"description": "display autocomplete installation instructions",
|
|
2488
|
-
"examples": [
|
|
2489
|
-
"$ heroku autocomplete",
|
|
2490
|
-
"$ heroku autocomplete bash",
|
|
2491
|
-
"$ heroku autocomplete zsh",
|
|
2492
|
-
"$ heroku autocomplete --refresh-cache"
|
|
2493
|
-
],
|
|
2494
|
-
"flags": {
|
|
2495
|
-
"refresh-cache": {
|
|
2496
|
-
"char": "r",
|
|
2497
|
-
"description": "refresh cache only (ignores displaying instructions)",
|
|
2498
|
-
"name": "refresh-cache",
|
|
2499
|
-
"allowNo": false,
|
|
2500
|
-
"type": "boolean"
|
|
2501
|
-
}
|
|
2502
|
-
},
|
|
2503
|
-
"hasDynamicHelp": false,
|
|
2504
|
-
"hiddenAliases": [],
|
|
2505
|
-
"id": "autocomplete",
|
|
2506
|
-
"pluginAlias": "heroku",
|
|
2507
|
-
"pluginName": "heroku",
|
|
2508
|
-
"pluginType": "core",
|
|
2509
|
-
"strict": true,
|
|
2510
|
-
"isESM": false,
|
|
2511
|
-
"relativePath": [
|
|
2512
|
-
"lib",
|
|
2513
|
-
"commands",
|
|
2514
|
-
"autocomplete",
|
|
2515
|
-
"index.js"
|
|
2516
|
-
]
|
|
2517
|
-
},
|
|
2518
|
-
"autocomplete:options": {
|
|
2519
|
-
"aliases": [],
|
|
2520
|
-
"args": {
|
|
2521
|
-
"completion": {
|
|
2522
|
-
"name": "completion"
|
|
2523
|
-
}
|
|
2524
|
-
},
|
|
2525
|
-
"description": "display arg or flag completion options (used internally by completion functions)",
|
|
2526
|
-
"flags": {
|
|
2527
|
-
"app": {
|
|
2528
|
-
"char": "a",
|
|
2529
|
-
"description": "app to run command against",
|
|
2530
|
-
"hidden": true,
|
|
2531
|
-
"name": "app",
|
|
2532
|
-
"required": false,
|
|
2533
|
-
"hasDynamicHelp": false,
|
|
2534
|
-
"multiple": false,
|
|
2535
|
-
"type": "option"
|
|
2536
|
-
}
|
|
2537
|
-
},
|
|
2538
|
-
"hasDynamicHelp": false,
|
|
2539
|
-
"hidden": true,
|
|
2540
|
-
"hiddenAliases": [],
|
|
2541
|
-
"id": "autocomplete:options",
|
|
2542
|
-
"pluginAlias": "heroku",
|
|
2543
|
-
"pluginName": "heroku",
|
|
2544
|
-
"pluginType": "core",
|
|
2545
|
-
"strict": true,
|
|
2546
|
-
"isESM": false,
|
|
2547
|
-
"relativePath": [
|
|
2548
|
-
"lib",
|
|
2549
|
-
"commands",
|
|
2550
|
-
"autocomplete",
|
|
2551
|
-
"options.js"
|
|
2552
|
-
]
|
|
2553
|
-
},
|
|
2554
|
-
"autocomplete:script": {
|
|
2555
|
-
"aliases": [],
|
|
2556
|
-
"args": {
|
|
2557
|
-
"shell": {
|
|
2558
|
-
"description": "shell type",
|
|
2559
|
-
"name": "shell",
|
|
2560
|
-
"required": false
|
|
2561
|
-
}
|
|
2562
|
-
},
|
|
2563
|
-
"description": "display autocomplete setup script for shell",
|
|
2564
|
-
"flags": {},
|
|
2565
|
-
"hasDynamicHelp": false,
|
|
2566
|
-
"hidden": true,
|
|
2567
|
-
"hiddenAliases": [],
|
|
2568
|
-
"id": "autocomplete:script",
|
|
2569
|
-
"pluginAlias": "heroku",
|
|
2570
|
-
"pluginName": "heroku",
|
|
2571
|
-
"pluginType": "core",
|
|
2572
|
-
"strict": true,
|
|
2573
|
-
"isESM": false,
|
|
2574
|
-
"relativePath": [
|
|
2575
|
-
"lib",
|
|
2576
|
-
"commands",
|
|
2577
|
-
"autocomplete",
|
|
2578
|
-
"script.js"
|
|
2579
|
-
]
|
|
2580
|
-
},
|
|
2581
2581
|
"buildpacks:add": {
|
|
2582
2582
|
"aliases": [],
|
|
2583
2583
|
"args": {
|
|
@@ -14652,5 +14652,5 @@
|
|
|
14652
14652
|
]
|
|
14653
14653
|
}
|
|
14654
14654
|
},
|
|
14655
|
-
"version": "10.6.
|
|
14655
|
+
"version": "10.6.1"
|
|
14656
14656
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "10.6.
|
|
4
|
+
"version": "10.6.1",
|
|
5
5
|
"author": "Heroku",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -398,5 +398,5 @@
|
|
|
398
398
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
399
399
|
},
|
|
400
400
|
"types": "lib/index.d.ts",
|
|
401
|
-
"gitHead": "
|
|
401
|
+
"gitHead": "6a017891070731f21626c57eff6042222151b82e"
|
|
402
402
|
}
|