heroku 8.10.0 → 8.11.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/README.md +0 -3
- package/lib/commands/autocomplete/doctor.js +2 -2
- package/lib/commands/autocomplete/options.js +2 -2
- package/lib/commands/pipelines/connect.js +1 -1
- package/lib/commands/pipelines/diff.js +1 -1
- package/lib/lib/ci/interfaces/kolkrabbi.d.ts +1 -1
- package/lib/lib/config/quote.js +1 -1
- package/lib/lib/run/dyno.js +1 -1
- package/oclif.manifest.json +2 -2
- package/package.json +25 -14
package/README.md
CHANGED
|
@@ -56,16 +56,13 @@ For other issues, [submit a support ticket](https://help.heroku.com/).
|
|
|
56
56
|
* [`heroku logs`](docs/logs.md) - display recent log output
|
|
57
57
|
* [`heroku maintenance`](docs/maintenance.md) - enable/disable access to app
|
|
58
58
|
* [`heroku members`](docs/members.md) - manage organization members
|
|
59
|
-
* [`heroku notifications`](docs/notifications.md) - display notifications
|
|
60
59
|
* [`heroku orgs`](docs/orgs.md) - manage organizations
|
|
61
60
|
* [`heroku pg`](docs/pg.md) - manage postgresql databases
|
|
62
61
|
* [`heroku pipelines`](docs/pipelines.md) - manage pipelines
|
|
63
62
|
* [`heroku plugins`](docs/plugins.md) - List installed plugins.
|
|
64
63
|
* [`heroku ps`](docs/ps.md) - Client tools for Heroku Exec
|
|
65
|
-
* [`heroku psql`](docs/psql.md) - open a psql shell to the database
|
|
66
64
|
* [`heroku redis`](docs/redis.md) - manage heroku redis instances
|
|
67
65
|
* [`heroku regions`](docs/regions.md) - list available regions for deployment
|
|
68
|
-
* [`heroku releases`](docs/releases.md) - display the releases for an app
|
|
69
66
|
* [`heroku reviewapps`](docs/reviewapps.md) - manage reviewapps in pipelines
|
|
70
67
|
* [`heroku run`](docs/run.md) - run a one-off process inside a Heroku dyno
|
|
71
68
|
* [`heroku sessions`](docs/sessions.md) - OAuth sessions
|
|
@@ -22,8 +22,8 @@ class Doctor extends base_1.AutocompleteBase {
|
|
|
22
22
|
const shellProfilePath = path.join(process.env.HOME || '', shell === 'zsh' ? '.zshrc' : '.bashrc');
|
|
23
23
|
const shellProfile = fs.readFileSync(shellProfilePath);
|
|
24
24
|
const regex = /AC_\w+_SETUP_PATH/;
|
|
25
|
-
const
|
|
26
|
-
data.push({ name: `~/${shell === 'zsh' ? '.zshrc' : '.bashrc'} shimmed`, value:
|
|
25
|
+
const shimValue = regex.exec(shellProfile.toString()) ? 'present' : 'missing';
|
|
26
|
+
data.push({ name: `~/${shell === 'zsh' ? '.zshrc' : '.bashrc'} shimmed`, value: shimValue });
|
|
27
27
|
// check shell shim
|
|
28
28
|
const shellCompletion = path.join(this.autocompleteCacheDir, `${shell}_setup`);
|
|
29
29
|
const shellCompletionValue = fs.existsSync(shellCompletion) ? 'present' : 'missing';
|
|
@@ -18,7 +18,7 @@ class Options extends base_1.AutocompleteBase {
|
|
|
18
18
|
// Klass: (class) Command class
|
|
19
19
|
// completion: (object) object with data/methods to build/retrive options from cache
|
|
20
20
|
// curPosition*: the current argv position the shell is trying to complete
|
|
21
|
-
// options: (string) white-space
|
|
21
|
+
// options: (string) white-space separated list of values for the shell to use for completion
|
|
22
22
|
async run() {
|
|
23
23
|
this.errorIfWindows();
|
|
24
24
|
// ex: heroku autocomplete:options 'heroku addons:destroy -a myapp myaddon'
|
|
@@ -164,7 +164,7 @@ class Options extends base_1.AutocompleteBase {
|
|
|
164
164
|
return false;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
// --app=my-app is
|
|
167
|
+
// --app=my-app is considered a flag & not a flag value
|
|
168
168
|
// the shell's autocomplete handles partial value matching
|
|
169
169
|
// add parsedFlag
|
|
170
170
|
if (wildSplit.length === 2 && name)
|
|
@@ -32,7 +32,7 @@ class Connect extends command_1.Command {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.default = Connect;
|
|
35
|
-
Connect.description = 'connect a
|
|
35
|
+
Connect.description = 'connect a GitHub repo to an existing pipeline';
|
|
36
36
|
Connect.examples = [
|
|
37
37
|
'$ heroku pipelines:connect my-pipeline -r githuborg/reponame',
|
|
38
38
|
];
|
|
@@ -20,7 +20,7 @@ async function diff(targetApp, downstreamApp, githubToken, herokuUserAgent) {
|
|
|
20
20
|
if (downstreamApp.hash === targetApp.hash) {
|
|
21
21
|
return core_1.ux.log(`\n${color_1.default.app(targetApp.name)} is up to date with ${color_1.default.app(downstreamApp.name)}`);
|
|
22
22
|
}
|
|
23
|
-
// Do the actual
|
|
23
|
+
// Do the actual GitHub diff
|
|
24
24
|
try {
|
|
25
25
|
const path = `${targetApp.repo}/compare/${downstreamApp.hash}...${targetApp.hash}`;
|
|
26
26
|
const headers = { authorization: 'token ' + githubToken };
|
|
@@ -186,7 +186,7 @@ export interface HerokuPlatformApiOrganization {
|
|
|
186
186
|
[k: string]: any;
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
|
-
* Pipeline repositories link a pipeline to a
|
|
189
|
+
* Pipeline repositories link a pipeline to a GitHub repository.
|
|
190
190
|
*/
|
|
191
191
|
export interface KolkrabbiApiPipelineRepositories {
|
|
192
192
|
/**
|
package/lib/lib/config/quote.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.parse = exports.quote = void 0;
|
|
4
4
|
const shell = require('shell-quote');
|
|
5
|
-
// slightly
|
|
5
|
+
// slightly modified form of shell-quote to default to using single-quotes over backslashes
|
|
6
6
|
function quote(s) {
|
|
7
7
|
// eslint-disable-next-line no-useless-escape
|
|
8
8
|
if (/["\s#!$&'()*,:;<=>?@\[\\\]^`{|}]/.test(s)) {
|
package/lib/lib/run/dyno.js
CHANGED
|
@@ -238,7 +238,7 @@ class Dyno extends stream_1.Duplex {
|
|
|
238
238
|
// @ts-ignore
|
|
239
239
|
sshProc.stderr.on('data', data => {
|
|
240
240
|
lastErr = data;
|
|
241
|
-
//
|
|
241
|
+
// suppress host key and permission denied messages
|
|
242
242
|
if (this._isDebug() || (data.includes("Warning: Permanently added '[127.0.0.1]") && data.includes('Permission denied (publickey).'))) {
|
|
243
243
|
process.stderr.write(data);
|
|
244
244
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "8.
|
|
2
|
+
"version": "8.11.0-beta.0",
|
|
3
3
|
"commands": {
|
|
4
4
|
"console": {
|
|
5
5
|
"id": "console",
|
|
@@ -1985,7 +1985,7 @@
|
|
|
1985
1985
|
},
|
|
1986
1986
|
"pipelines:connect": {
|
|
1987
1987
|
"id": "pipelines:connect",
|
|
1988
|
-
"description": "connect a
|
|
1988
|
+
"description": "connect a GitHub repo to an existing pipeline",
|
|
1989
1989
|
"strict": true,
|
|
1990
1990
|
"pluginName": "heroku",
|
|
1991
1991
|
"pluginAlias": "heroku",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.11.0-beta.0",
|
|
5
5
|
"author": "Jeff Dickey @jdxcode",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"@heroku-cli/command": "^10.0.0",
|
|
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": "^8.
|
|
14
|
-
"@heroku-cli/plugin-apps-v5": "^8.
|
|
15
|
-
"@heroku-cli/plugin-certs-v5": "^8.
|
|
16
|
-
"@heroku-cli/plugin-ci-v5": "^8.
|
|
17
|
-
"@heroku-cli/plugin-container-registry-v5": "^8.
|
|
18
|
-
"@heroku-cli/plugin-orgs-v5": "^8.
|
|
19
|
-
"@heroku-cli/plugin-pg-v5": "^8.
|
|
13
|
+
"@heroku-cli/plugin-addons-v5": "^8.11.0-beta.0",
|
|
14
|
+
"@heroku-cli/plugin-apps-v5": "^8.11.0-beta.0",
|
|
15
|
+
"@heroku-cli/plugin-certs-v5": "^8.11.0-beta.0",
|
|
16
|
+
"@heroku-cli/plugin-ci-v5": "^8.11.0-beta.0",
|
|
17
|
+
"@heroku-cli/plugin-container-registry-v5": "^8.11.0-beta.0",
|
|
18
|
+
"@heroku-cli/plugin-orgs-v5": "^8.11.0-beta.0",
|
|
19
|
+
"@heroku-cli/plugin-pg-v5": "^8.11.0-beta.0",
|
|
20
20
|
"@heroku-cli/plugin-ps": "^8.1.7",
|
|
21
21
|
"@heroku-cli/plugin-ps-exec": "^2.4.0",
|
|
22
|
-
"@heroku-cli/plugin-redis-v5": "^8.
|
|
22
|
+
"@heroku-cli/plugin-redis-v5": "^8.11.0-beta.0",
|
|
23
23
|
"@heroku-cli/plugin-run": "8.1.4",
|
|
24
|
-
"@heroku-cli/plugin-spaces": "^8.
|
|
24
|
+
"@heroku-cli/plugin-spaces": "^8.11.0-beta.0",
|
|
25
25
|
"@heroku-cli/schema": "^1.0.25",
|
|
26
26
|
"@heroku/buildpack-registry": "^1.0.1",
|
|
27
27
|
"@heroku/eventsource": "^1.0.7",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"chalk": "^2.4.2",
|
|
49
49
|
"commander": "^2.15.1",
|
|
50
50
|
"date-fns": "^2.30.0",
|
|
51
|
-
"debug": "4.
|
|
51
|
+
"debug": "4.3.4",
|
|
52
52
|
"edit-string": "^1.1.6",
|
|
53
53
|
"execa": "5.1.1",
|
|
54
54
|
"foreman": "^3.0.1",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@oclif/test": "^2.3.25",
|
|
81
81
|
"@types/ansi-styles": "^3.2.1",
|
|
82
82
|
"@types/chai": "^4.1.7",
|
|
83
|
-
"@types/debug": "^4.1.
|
|
83
|
+
"@types/debug": "^4.1.12",
|
|
84
84
|
"@types/fs-extra": "^5.0.5",
|
|
85
85
|
"@types/glob": "^7.1.1",
|
|
86
86
|
"@types/got": "^9.6.7",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"chai": "^4.2.0",
|
|
105
105
|
"globby": "^10.0.2",
|
|
106
106
|
"lodash": "^4.17.11",
|
|
107
|
-
"mocha": "^
|
|
107
|
+
"mocha": "^8.0.0",
|
|
108
108
|
"nock": "^10.0.6",
|
|
109
109
|
"nyc": "^15.1.0",
|
|
110
110
|
"oclif": "3.11.3",
|
|
@@ -134,6 +134,17 @@
|
|
|
134
134
|
],
|
|
135
135
|
"license": "ISC",
|
|
136
136
|
"main": "lib/index.js",
|
|
137
|
+
"mocha": {
|
|
138
|
+
"require": [
|
|
139
|
+
"test/helpers/init.js",
|
|
140
|
+
"ts-node/register",
|
|
141
|
+
"source-map-support/register"
|
|
142
|
+
],
|
|
143
|
+
"watch-extensions": "ts",
|
|
144
|
+
"recursive": true,
|
|
145
|
+
"reporter": "spec",
|
|
146
|
+
"timeout": 180000
|
|
147
|
+
},
|
|
137
148
|
"oclif": {
|
|
138
149
|
"additionalHelpFlags": [
|
|
139
150
|
"-h"
|
|
@@ -345,5 +356,5 @@
|
|
|
345
356
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
346
357
|
},
|
|
347
358
|
"types": "lib/index.d.ts",
|
|
348
|
-
"gitHead": "
|
|
359
|
+
"gitHead": "3de2c9f2d52632c65c63a706d7c70391980876f7"
|
|
349
360
|
}
|