@heroku-cli/plugin-buildpack-registry 1.0.1 → 1.0.2

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
@@ -5,7 +5,7 @@ Create and publish buildpacks.
5
5
  ## Install
6
6
 
7
7
  ```
8
- $ heroku plugins:install buildpack-registry
8
+ $ heroku plugins:install @heroku-cli/plugin-buildpack-registry
9
9
  ```
10
10
 
11
11
  ## Local dev
@@ -13,7 +13,7 @@ $ heroku plugins:install buildpack-registry
13
13
  First uninstall existing plugin:
14
14
 
15
15
  ```term
16
- $ heroku plugins:uninstall buildpack-registry
16
+ $ heroku plugins:uninstall @heroku-cli/plugin-buildpack-registry
17
17
  ```
18
18
 
19
19
  Then link the local directory:
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const command_1 = require("@heroku-cli/command");
4
+ const buildpack_registry_1 = require("buildpack-registry");
4
5
  const cli_ux_1 = require("cli-ux");
5
6
  const true_myth_1 = require("true-myth");
6
- const buildpack_registry_1 = require("buildpack-registry");
7
7
  class Archive extends command_1.Command {
8
8
  async run() {
9
9
  let { args } = this.parse(Archive);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const command_1 = require("@heroku-cli/command");
4
+ const buildpack_registry_1 = require("buildpack-registry");
4
5
  const cli_ux_1 = require("cli-ux");
5
6
  const true_myth_1 = require("true-myth");
6
- const buildpack_registry_1 = require("buildpack-registry");
7
7
  class Publish extends command_1.Command {
8
8
  async run() {
9
9
  let { args } = this.parse(Publish);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const command_1 = require("@heroku-cli/command");
4
- const cli = require('heroku-cli-util');
4
+ const cli = require('@heroku/heroku-cli-util');
5
5
  const PARTNER_PORTAL = 'https://addons-next.heroku.com/buildpacks/new';
6
6
  class Register extends command_1.Command {
7
7
  async run() {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const command_1 = require("@heroku-cli/command");
4
+ const buildpack_registry_1 = require("buildpack-registry");
4
5
  const cli_ux_1 = require("cli-ux");
5
6
  const true_myth_1 = require("true-myth");
6
- const buildpack_registry_1 = require("buildpack-registry");
7
7
  class Rollback extends command_1.Command {
8
8
  async run() {
9
9
  let { args } = this.parse(Rollback);
@@ -1 +1,134 @@
1
- {"version":"1.0.1","commands":{"buildpacks:archive":{"id":"buildpacks:archive","description":"archive a buildpack","pluginName":"@heroku-cli/plugin-buildpack-registry","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"buildpack","description":"namespace/name of the buildpack","required":true}]},"buildpacks:init":{"id":"buildpacks:init","description":"bootstrap a new buildpack","pluginName":"@heroku-cli/plugin-buildpack-registry","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"name","description":"name of the buildpack","required":true}]},"buildpacks:publish":{"id":"buildpacks:publish","description":"publish new revision of buildpack","pluginName":"@heroku-cli/plugin-buildpack-registry","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"buildpack","description":"namespace/name of the buildpack","required":true},{"name":"tag_or_branch","description":"a tag or branch for publishing","required":true}]},"buildpacks:register":{"id":"buildpacks:register","description":"create a buildpack","pluginName":"@heroku-cli/plugin-buildpack-registry","pluginType":"core","aliases":[],"flags":{},"args":[]},"buildpacks:rollback":{"id":"buildpacks:rollback","description":"rollback to a previous revision of the buildpack","pluginName":"@heroku-cli/plugin-buildpack-registry","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"buildpack","description":"namespace/name of the buildpack","required":true}]}}}
1
+ {
2
+ "commands": {
3
+ "buildpacks:archive": {
4
+ "aliases": [],
5
+ "args": {
6
+ "buildpack": {
7
+ "description": "namespace/name of the buildpack",
8
+ "name": "buildpack",
9
+ "required": true
10
+ }
11
+ },
12
+ "description": "archive a buildpack",
13
+ "flags": {},
14
+ "hasDynamicHelp": false,
15
+ "hiddenAliases": [],
16
+ "id": "buildpacks:archive",
17
+ "pluginAlias": "@heroku-cli/plugin-buildpack-registry",
18
+ "pluginName": "@heroku-cli/plugin-buildpack-registry",
19
+ "pluginType": "core",
20
+ "strict": true,
21
+ "isESM": false,
22
+ "relativePath": [
23
+ "lib",
24
+ "commands",
25
+ "buildpacks",
26
+ "archive.js"
27
+ ]
28
+ },
29
+ "buildpacks:init": {
30
+ "aliases": [],
31
+ "args": {
32
+ "name": {
33
+ "description": "name of the buildpack",
34
+ "name": "name",
35
+ "required": true
36
+ }
37
+ },
38
+ "description": "bootstrap a new buildpack",
39
+ "flags": {},
40
+ "hasDynamicHelp": false,
41
+ "hiddenAliases": [],
42
+ "id": "buildpacks:init",
43
+ "pluginAlias": "@heroku-cli/plugin-buildpack-registry",
44
+ "pluginName": "@heroku-cli/plugin-buildpack-registry",
45
+ "pluginType": "core",
46
+ "strict": true,
47
+ "isESM": false,
48
+ "relativePath": [
49
+ "lib",
50
+ "commands",
51
+ "buildpacks",
52
+ "init.js"
53
+ ]
54
+ },
55
+ "buildpacks:publish": {
56
+ "aliases": [],
57
+ "args": {
58
+ "buildpack": {
59
+ "description": "namespace/name of the buildpack",
60
+ "name": "buildpack",
61
+ "required": true
62
+ },
63
+ "tag_or_branch": {
64
+ "description": "a tag or branch for publishing",
65
+ "name": "tag_or_branch",
66
+ "required": true
67
+ }
68
+ },
69
+ "description": "publish new revision of buildpack",
70
+ "flags": {},
71
+ "hasDynamicHelp": false,
72
+ "hiddenAliases": [],
73
+ "id": "buildpacks:publish",
74
+ "pluginAlias": "@heroku-cli/plugin-buildpack-registry",
75
+ "pluginName": "@heroku-cli/plugin-buildpack-registry",
76
+ "pluginType": "core",
77
+ "strict": true,
78
+ "isESM": false,
79
+ "relativePath": [
80
+ "lib",
81
+ "commands",
82
+ "buildpacks",
83
+ "publish.js"
84
+ ]
85
+ },
86
+ "buildpacks:register": {
87
+ "aliases": [],
88
+ "args": {},
89
+ "description": "create a buildpack",
90
+ "flags": {},
91
+ "hasDynamicHelp": false,
92
+ "hiddenAliases": [],
93
+ "id": "buildpacks:register",
94
+ "pluginAlias": "@heroku-cli/plugin-buildpack-registry",
95
+ "pluginName": "@heroku-cli/plugin-buildpack-registry",
96
+ "pluginType": "core",
97
+ "strict": true,
98
+ "isESM": false,
99
+ "relativePath": [
100
+ "lib",
101
+ "commands",
102
+ "buildpacks",
103
+ "register.js"
104
+ ]
105
+ },
106
+ "buildpacks:rollback": {
107
+ "aliases": [],
108
+ "args": {
109
+ "buildpack": {
110
+ "description": "namespace/name of the buildpack",
111
+ "name": "buildpack",
112
+ "required": true
113
+ }
114
+ },
115
+ "description": "rollback to a previous revision of the buildpack",
116
+ "flags": {},
117
+ "hasDynamicHelp": false,
118
+ "hiddenAliases": [],
119
+ "id": "buildpacks:rollback",
120
+ "pluginAlias": "@heroku-cli/plugin-buildpack-registry",
121
+ "pluginName": "@heroku-cli/plugin-buildpack-registry",
122
+ "pluginType": "core",
123
+ "strict": true,
124
+ "isESM": false,
125
+ "relativePath": [
126
+ "lib",
127
+ "commands",
128
+ "buildpacks",
129
+ "rollback.js"
130
+ ]
131
+ }
132
+ },
133
+ "version": "1.0.2"
134
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heroku-cli/plugin-buildpack-registry",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "repository": {
@@ -18,13 +18,14 @@
18
18
  "scripts": {
19
19
  "postpack": "rm -f oclif.manifest.json",
20
20
  "posttest": "tsc -p test --noEmit && tslint -p test -t stylish",
21
- "prepack": "rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme",
21
+ "prepack": "rm -rf lib && tsc && oclif manifest && oclif readme",
22
22
  "test": "nyc mocha --forbid-only \"test/**/*.test.ts\"",
23
23
  "version": "oclif-dev readme && git add README.md"
24
24
  },
25
25
  "dependencies": {
26
26
  "@heroku-cli/color": "^1.1.5",
27
27
  "@heroku-cli/command": "^8.1.15",
28
+ "@heroku/heroku-cli-util": "^8.0.14",
28
29
  "@oclif/config": "^1.6.17",
29
30
  "@oclif/plugin-legacy": "^1.0.15",
30
31
  "@types/ansi-styles": "^3.2.0",
@@ -32,7 +33,6 @@
32
33
  "@types/supports-color": "^5.3.0",
33
34
  "buildpack-registry": "^1.0.1",
34
35
  "cli-ux": "^4.2.1",
35
- "heroku-cli-util": "^8.0.0",
36
36
  "lodash": "^4.14.0",
37
37
  "lodash.findindex": "^4.6.0",
38
38
  "true-myth": "^2.0.0",
@@ -40,32 +40,41 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@fancy-test/nock": "^0.1.1",
43
- "@oclif/dev-cli": "^1",
44
- "@oclif/plugin-help": "^1",
45
- "@oclif/test": "^1.1.0",
43
+ "@oclif/plugin-help": "5.2.20",
44
+ "@oclif/test": "^1.2.4",
46
45
  "@oclif/tslint": "^1",
47
46
  "@types/chai": "^4",
48
- "@types/mocha": "^5",
49
- "@types/nock": "^9.1.3",
50
- "@types/node": "^10.0.8",
47
+ "@types/mocha": "^10.0.6",
48
+ "@types/node": "16.11.7",
51
49
  "chai": "^4",
52
- "globby": "^8",
53
- "mocha": "^5",
54
- "nock": "^9.2.6",
55
- "nyc": "^11",
50
+ "globby": "^13.2.2",
51
+ "mocha": "^10.4.0",
52
+ "nock": "^13.5.1",
53
+ "nyc": "^15.1.0",
54
+ "oclif": "^4.14.29",
56
55
  "tmp": "^0.0.33",
57
56
  "ts-node": "^6",
58
57
  "tslib": "^1",
59
58
  "tslint": "^5",
60
- "typescript": "^2.8"
59
+ "typescript": "^5.5.4"
61
60
  },
62
61
  "engines": {
63
- "node": ">=8.0.0"
62
+ "node": ">=16.0.0"
64
63
  },
65
64
  "files": [
66
65
  "/lib",
67
66
  "/oclif.manifest.json"
68
67
  ],
68
+ "mocha": {
69
+ "require": [
70
+ "ts-node/register",
71
+ "source-map-support/register"
72
+ ],
73
+ "watch-extensions": "ts",
74
+ "recursive": true,
75
+ "reporter": "spec",
76
+ "timeout": 360000
77
+ },
69
78
  "oclif": {
70
79
  "commands": "./lib/commands",
71
80
  "bin": "heroku",