heroku 8.2.0-beta.0 → 8.2.0-beta.10

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 CHANGED
@@ -48,7 +48,7 @@ For other issues, [submit a support ticket](https://help.heroku.com/).
48
48
  * [`heroku domains`](docs/domains.md) - custom domains for apps
49
49
  * [`heroku drains`](docs/drains.md) - forward logs to syslog or HTTPS
50
50
  * [`heroku features`](docs/features.md) - add/remove app features
51
- * [`heroku git`](docs/git.md) - manage local git repository for app
51
+ * [`heroku git`](docs/git.md) - set git remote and clone Heroku repository
52
52
  * [`heroku help`](docs/help.md) - Display help for heroku.
53
53
  * [`heroku keys`](docs/keys.md) - add/remove account ssh keys
54
54
  * [`heroku labs`](docs/labs.md) - add/remove experimental features
@@ -56,14 +56,17 @@ 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
59
60
  * [`heroku orgs`](docs/orgs.md) - manage organizations
60
61
  * [`heroku pg`](docs/pg.md) - manage postgresql databases
61
- * [`heroku pipelines`](docs/pipelines.md) - manage pipelines
62
+ * [`heroku pipelines`](docs/pipelines.md) - list pipelines you have access to
62
63
  * [`heroku plugins`](docs/plugins.md) - List installed plugins.
63
64
  * [`heroku ps`](docs/ps.md) - Client tools for Heroku Exec
65
+ * [`heroku psql`](docs/psql.md) - open a psql shell to the database
64
66
  * [`heroku redis`](docs/redis.md) - manage heroku redis instances
65
67
  * [`heroku regions`](docs/regions.md) - list available regions for deployment
66
- * [`heroku reviewapps`](docs/reviewapps.md) - manage reviewapps in pipelines
68
+ * [`heroku releases`](docs/releases.md) - display the releases for an app
69
+ * [`heroku reviewapps`](docs/reviewapps.md) - disable review apps and/or settings on an existing pipeline
67
70
  * [`heroku run`](docs/run.md) - run a one-off process inside a Heroku dyno
68
71
  * [`heroku sessions`](docs/sessions.md) - OAuth sessions
69
72
  * [`heroku spaces`](docs/spaces.md) - manage heroku private spaces
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const color_1 = require("@heroku-cli/color");
4
4
  const core_1 = require("@oclif/core");
5
- const distanceInWordsToNow = require("date-fns/distance_in_words_to_now");
5
+ const date_fns_1 = require("date-fns");
6
6
  const http_call_1 = require("http-call");
7
7
  const util_1 = require("../lib/status/util");
8
8
  const capitalize = (str) => str.slice(0, 1).toUpperCase() + str.slice(1);
@@ -33,7 +33,7 @@ class Status extends core_1.Command {
33
33
  core_1.ux.styledHeader(`${incident.title} ${color_1.default.yellow(incident.created_at)} ${color_1.default.cyan(incident.full_url)}`);
34
34
  const padding = (0, util_1.maxBy)(incident.updates, (i) => i.update_type.length).update_type.length + 0;
35
35
  for (const u of incident.updates) {
36
- core_1.ux.log(`${color_1.default.yellow(u.update_type.padEnd(padding))} ${new Date(u.updated_at).toISOString()} (${distanceInWordsToNow(new Date(u.updated_at))} ago)`);
36
+ core_1.ux.log(`${color_1.default.yellow(u.update_type.padEnd(padding))} ${new Date(u.updated_at).toISOString()} (${(0, date_fns_1.formatDistanceToNow)(new Date(u.updated_at))} ago)`);
37
37
  core_1.ux.log(`${u.contents}\n`);
38
38
  }
39
39
  }
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.display = void 0;
4
4
  const core_1 = require("@oclif/core");
5
- const addSeconds = require("date-fns/add_seconds");
6
- const distanceInWordsToNow = require("date-fns/distance_in_words_to_now");
5
+ const date_fns_1 = require("date-fns");
7
6
  function display(auth) {
8
7
  const obj = {
9
8
  ID: auth.id,
@@ -18,11 +17,11 @@ function display(auth) {
18
17
  if (auth.access_token) {
19
18
  obj.Token = auth.access_token.token;
20
19
  if (auth.updated_at) {
21
- obj['Updated at'] = `${addSeconds(auth.updated_at, 0)} (${distanceInWordsToNow(auth.updated_at)} ago)`;
20
+ obj['Updated at'] = `${(0, date_fns_1.addSeconds)(new Date(auth.updated_at), 0)} (${(0, date_fns_1.formatDistanceToNow)(new Date(auth.updated_at))} ago)`;
22
21
  }
23
22
  if (auth.access_token.expires_in) {
24
- const date = addSeconds(new Date(), auth.access_token.expires_in);
25
- obj['Expires at'] = `${date} (in ${distanceInWordsToNow(date)})`;
23
+ const date = (0, date_fns_1.addSeconds)(new Date(), auth.access_token.expires_in);
24
+ obj['Expires at'] = `${date} (in ${(0, date_fns_1.formatDistanceToNow)(date)})`;
26
25
  }
27
26
  }
28
27
  core_1.ux.styledObject(obj, [
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.2.0-beta.0",
2
+ "version": "8.2.0-beta.10",
3
3
  "commands": {
4
4
  "console": {
5
5
  "id": "console",
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.2.0-beta.0",
4
+ "version": "8.2.0-beta.10",
5
5
  "author": "Jeff Dickey @jdxcode",
6
6
  "bin": "./bin/run",
7
7
  "bugs": "https://github.com/heroku/cli/issues",
@@ -9,17 +9,17 @@
9
9
  "@heroku-cli/color": "1.1.14",
10
10
  "@heroku-cli/command": "^10.0.0",
11
11
  "@heroku-cli/notifications": "^1.2.2",
12
- "@heroku-cli/plugin-addons-v5": "^8.1.7",
13
- "@heroku-cli/plugin-apps-v5": "^8.1.8",
14
- "@heroku-cli/plugin-certs-v5": "^8.1.7",
15
- "@heroku-cli/plugin-ci-v5": "^8.1.8",
16
- "@heroku-cli/plugin-container-registry-v5": "^8.1.7",
17
- "@heroku-cli/plugin-orgs-v5": "^8.1.4",
18
- "@heroku-cli/plugin-pg-v5": "^8.2.0-beta.0",
12
+ "@heroku-cli/plugin-addons-v5": "^8.2.0-beta.3",
13
+ "@heroku-cli/plugin-apps-v5": "^8.2.0-beta.3",
14
+ "@heroku-cli/plugin-certs-v5": "^8.2.0-beta.3",
15
+ "@heroku-cli/plugin-ci-v5": "^8.2.0-beta.3",
16
+ "@heroku-cli/plugin-container-registry-v5": "^8.2.0-beta.3",
17
+ "@heroku-cli/plugin-orgs-v5": "^8.2.0-beta.3",
18
+ "@heroku-cli/plugin-pg-v5": "^8.2.0-beta.3",
19
19
  "@heroku-cli/plugin-ps": "^8.1.7",
20
20
  "@heroku-cli/plugin-ps-exec": "^2.4.0",
21
- "@heroku-cli/plugin-redis-v5": "^8.1.7",
22
- "@heroku-cli/plugin-spaces": "^8.1.7",
21
+ "@heroku-cli/plugin-redis-v5": "^8.2.0-beta.3",
22
+ "@heroku-cli/plugin-spaces": "^8.2.0-beta.3",
23
23
  "@heroku-cli/schema": "^1.0.25",
24
24
  "@heroku/buildpack-registry": "^1.0.1",
25
25
  "@heroku/eventsource": "^1.0.7",
@@ -58,6 +58,7 @@
58
58
  "shell-quote": "^1.6.1",
59
59
  "tmp": "^0.0.33",
60
60
  "true-myth": "2.2.3",
61
+ "tslib": "1.14.1",
61
62
  "urijs": "^1.19.11",
62
63
  "uuid": "3.3.2",
63
64
  "valid-url": "^1.0.9",
@@ -95,14 +96,13 @@
95
96
  "mocha": "^5.2.0",
96
97
  "nock": "^10.0.6",
97
98
  "nyc": "^15.1.0",
98
- "oclif": "3.8.1",
99
+ "oclif": "3.11.3",
99
100
  "open": "^8.4.2",
100
101
  "proxyquire": "^2.1.0",
101
102
  "qqjs": "0.3.11",
102
103
  "read-pkg": "^4.0.1",
103
104
  "sinon": "^7.2.4",
104
105
  "ts-node": "^10.9.1",
105
- "tslib": "1.14.1",
106
106
  "typescript": "4.8.4"
107
107
  },
108
108
  "engines": {
@@ -267,7 +267,7 @@
267
267
  ],
268
268
  "update": [
269
269
  "./lib/hooks/update/plugin-migrate",
270
- "./lib/hooks/update/b",
270
+ "./lib/hooks/update/brew",
271
271
  "./lib/hooks/update/completions",
272
272
  "./lib/hooks/update/tidy",
273
273
  "./lib/hooks/recache"
@@ -315,8 +315,8 @@
315
315
  "build": "rm -rf lib && tsc",
316
316
  "postpublish": "rm -f oclif.manifest.json",
317
317
  "prepack": "yarn run build && oclif manifest",
318
- "pretest": "lerna run prepack --concurrency 4 && tsc -p test --noEmit",
319
- "test": "nyc mocha --forbid-only \"test/**/*.unit.test.ts\"",
318
+ "pretest": "tsc -p test --noEmit && cd ../.. && yarn build",
319
+ "test": "yarn pretest && nyc mocha --forbid-only \"test/**/*.unit.test.ts\"",
320
320
  "test:acceptance": "mocha --forbid-only \"test/**/*.acceptance.test.ts\" && node ./bin/bats-test-runner",
321
321
  "test:integration": "mocha --forbid-only \"test/**/*.integration.test.ts\"",
322
322
  "test:smoke": "mocha --forbid-only \"test/**/smoke.acceptance.test.ts\"",
@@ -324,5 +324,5 @@
324
324
  "version": "oclif readme --multi && git add README.md ../../docs"
325
325
  },
326
326
  "types": "lib/index.d.ts",
327
- "gitHead": "638b83d9c152bc261c730559c47b232d52b44493"
327
+ "gitHead": "87066e6c20842c4c9f60b86020190f451ad5a54a"
328
328
  }