@heroku-cli/plugin-data-privatelink 1.3.2 → 1.3.3

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.
@@ -1,314 +1,397 @@
1
1
  {
2
- "version": "1.3.2",
3
2
  "commands": {
4
3
  "data:privatelink:create": {
5
- "id": "data:privatelink:create",
6
- "description": "create a new privatelink endpoint for your database",
7
- "strict": true,
8
- "pluginName": "@heroku-cli/plugin-data-privatelink",
9
- "pluginAlias": "@heroku-cli/plugin-data-privatelink",
10
- "pluginType": "core",
11
4
  "aliases": [],
12
- "hiddenAliases": [
13
- "pg:privatelink:create",
14
- "kafka:privatelink:create",
15
- "redis:privatelink:create"
16
- ],
5
+ "args": {
6
+ "database": {
7
+ "name": "database",
8
+ "required": true
9
+ }
10
+ },
11
+ "description": "create a new privatelink endpoint for your database",
17
12
  "examples": [
18
13
  "$ heroku data:privatelink:create postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --app my-app",
19
14
  "$ heroku data:privatelink:create postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --account-id 123456789012:user/xyz --app my-app"
20
15
  ],
21
16
  "flags": {
22
17
  "aws-account-id": {
23
- "name": "aws-account-id",
24
- "type": "option",
25
18
  "char": "i",
26
19
  "description": "AWS account id to use",
20
+ "name": "aws-account-id",
27
21
  "required": true,
28
- "multiple": true
22
+ "hasDynamicHelp": false,
23
+ "multiple": true,
24
+ "type": "option"
29
25
  },
30
26
  "app": {
31
- "name": "app",
32
- "type": "option",
33
27
  "char": "a",
34
28
  "description": "app to run command against",
29
+ "name": "app",
35
30
  "required": true,
36
- "multiple": false
31
+ "hasDynamicHelp": false,
32
+ "multiple": false,
33
+ "type": "option"
37
34
  },
38
35
  "remote": {
39
- "name": "remote",
40
- "type": "option",
41
36
  "char": "r",
42
37
  "description": "git remote of app to use",
43
- "multiple": false
38
+ "name": "remote",
39
+ "hasDynamicHelp": false,
40
+ "multiple": false,
41
+ "type": "option"
44
42
  }
45
43
  },
44
+ "hasDynamicHelp": false,
45
+ "hiddenAliases": [
46
+ "pg:privatelink:create",
47
+ "kafka:privatelink:create",
48
+ "redis:privatelink:create"
49
+ ],
50
+ "id": "data:privatelink:create",
51
+ "pluginAlias": "@heroku-cli/plugin-data-privatelink",
52
+ "pluginName": "@heroku-cli/plugin-data-privatelink",
53
+ "pluginType": "core",
54
+ "strict": true,
55
+ "isESM": false,
56
+ "relativePath": [
57
+ "lib",
58
+ "commands",
59
+ "data",
60
+ "privatelink",
61
+ "create.js"
62
+ ]
63
+ },
64
+ "data:privatelink:destroy": {
65
+ "aliases": [],
46
66
  "args": {
47
67
  "database": {
48
68
  "name": "database",
49
69
  "required": true
50
70
  }
51
- }
52
- },
53
- "data:privatelink:destroy": {
54
- "id": "data:privatelink:destroy",
71
+ },
55
72
  "description": "destroy a privatelink endpoint for your database",
56
- "strict": true,
57
- "pluginName": "@heroku-cli/plugin-data-privatelink",
58
- "pluginAlias": "@heroku-cli/plugin-data-privatelink",
59
- "pluginType": "core",
60
- "aliases": [],
61
- "hiddenAliases": [
62
- "pg:privatelink:destroy",
63
- "kafka:privatelink:destroy",
64
- "redis:privatelink:destroy"
65
- ],
66
73
  "examples": [
67
74
  "$ heroku data:privatelink:destroy postgresql-sushi-12345 --app my-app"
68
75
  ],
69
76
  "flags": {
70
77
  "app": {
71
- "name": "app",
72
- "type": "option",
73
78
  "char": "a",
74
79
  "description": "app to run command against",
80
+ "name": "app",
75
81
  "required": true,
76
- "multiple": false
82
+ "hasDynamicHelp": false,
83
+ "multiple": false,
84
+ "type": "option"
77
85
  },
78
86
  "remote": {
79
- "name": "remote",
80
- "type": "option",
81
87
  "char": "r",
82
88
  "description": "git remote of app to use",
83
- "multiple": false
89
+ "name": "remote",
90
+ "hasDynamicHelp": false,
91
+ "multiple": false,
92
+ "type": "option"
84
93
  }
85
94
  },
95
+ "hasDynamicHelp": false,
96
+ "hiddenAliases": [
97
+ "pg:privatelink:destroy",
98
+ "kafka:privatelink:destroy",
99
+ "redis:privatelink:destroy"
100
+ ],
101
+ "id": "data:privatelink:destroy",
102
+ "pluginAlias": "@heroku-cli/plugin-data-privatelink",
103
+ "pluginName": "@heroku-cli/plugin-data-privatelink",
104
+ "pluginType": "core",
105
+ "strict": true,
106
+ "isESM": false,
107
+ "relativePath": [
108
+ "lib",
109
+ "commands",
110
+ "data",
111
+ "privatelink",
112
+ "destroy.js"
113
+ ]
114
+ },
115
+ "data:privatelink": {
116
+ "aliases": [],
86
117
  "args": {
87
118
  "database": {
88
119
  "name": "database",
89
120
  "required": true
90
121
  }
91
- }
92
- },
93
- "data:privatelink": {
94
- "id": "data:privatelink",
122
+ },
95
123
  "description": "list all your privatelink endpoints",
96
- "strict": true,
97
- "pluginName": "@heroku-cli/plugin-data-privatelink",
98
- "pluginAlias": "@heroku-cli/plugin-data-privatelink",
99
- "pluginType": "core",
100
- "aliases": [],
101
- "hiddenAliases": [
102
- "pg:privatelink",
103
- "kafka:privatelink",
104
- "redis:privatelink"
105
- ],
106
124
  "examples": [
107
125
  "$ heroku data:privatelink postgresql-sushi-12345 --app my-app"
108
126
  ],
109
127
  "flags": {
110
128
  "app": {
111
- "name": "app",
112
- "type": "option",
113
129
  "char": "a",
114
130
  "description": "app to run command against",
131
+ "name": "app",
115
132
  "required": true,
116
- "multiple": false
133
+ "hasDynamicHelp": false,
134
+ "multiple": false,
135
+ "type": "option"
117
136
  },
118
137
  "remote": {
119
- "name": "remote",
120
- "type": "option",
121
138
  "char": "r",
122
139
  "description": "git remote of app to use",
123
- "multiple": false
140
+ "name": "remote",
141
+ "hasDynamicHelp": false,
142
+ "multiple": false,
143
+ "type": "option"
124
144
  }
125
145
  },
146
+ "hasDynamicHelp": false,
147
+ "hiddenAliases": [
148
+ "pg:privatelink",
149
+ "kafka:privatelink",
150
+ "redis:privatelink"
151
+ ],
152
+ "id": "data:privatelink",
153
+ "pluginAlias": "@heroku-cli/plugin-data-privatelink",
154
+ "pluginName": "@heroku-cli/plugin-data-privatelink",
155
+ "pluginType": "core",
156
+ "strict": true,
157
+ "topic": "data:privatelink",
158
+ "isESM": false,
159
+ "relativePath": [
160
+ "lib",
161
+ "commands",
162
+ "data",
163
+ "privatelink",
164
+ "index.js"
165
+ ]
166
+ },
167
+ "data:privatelink:wait": {
168
+ "aliases": [],
126
169
  "args": {
127
170
  "database": {
128
171
  "name": "database",
129
172
  "required": true
130
173
  }
131
174
  },
132
- "topic": "data:privatelink"
133
- },
134
- "data:privatelink:wait": {
135
- "id": "data:privatelink:wait",
136
175
  "description": "wait for your privatelink endpoint to be provisioned",
137
- "strict": true,
138
- "pluginName": "@heroku-cli/plugin-data-privatelink",
139
- "pluginAlias": "@heroku-cli/plugin-data-privatelink",
140
- "pluginType": "core",
141
- "aliases": [],
142
- "hiddenAliases": [
143
- "pg:privatelink:wait",
144
- "kafka:privatelink:wait",
145
- "redis:privatelink:wait"
146
- ],
147
176
  "examples": [
148
177
  "$ heroku data:privatelink:wait postgresql-sushi-12345 postgresql-sushi-12345 --app my-app"
149
178
  ],
150
179
  "flags": {
151
180
  "app": {
152
- "name": "app",
153
- "type": "option",
154
181
  "char": "a",
155
182
  "description": "app to run command against",
183
+ "name": "app",
156
184
  "required": true,
157
- "multiple": false
185
+ "hasDynamicHelp": false,
186
+ "multiple": false,
187
+ "type": "option"
158
188
  },
159
189
  "remote": {
160
- "name": "remote",
161
- "type": "option",
162
190
  "char": "r",
163
191
  "description": "git remote of app to use",
164
- "multiple": false
192
+ "name": "remote",
193
+ "hasDynamicHelp": false,
194
+ "multiple": false,
195
+ "type": "option"
165
196
  }
166
197
  },
198
+ "hasDynamicHelp": false,
199
+ "hiddenAliases": [
200
+ "pg:privatelink:wait",
201
+ "kafka:privatelink:wait",
202
+ "redis:privatelink:wait"
203
+ ],
204
+ "id": "data:privatelink:wait",
205
+ "pluginAlias": "@heroku-cli/plugin-data-privatelink",
206
+ "pluginName": "@heroku-cli/plugin-data-privatelink",
207
+ "pluginType": "core",
208
+ "strict": true,
209
+ "isESM": false,
210
+ "relativePath": [
211
+ "lib",
212
+ "commands",
213
+ "data",
214
+ "privatelink",
215
+ "wait.js"
216
+ ]
217
+ },
218
+ "data:privatelink:access:add": {
219
+ "aliases": [],
167
220
  "args": {
168
221
  "database": {
169
222
  "name": "database",
170
223
  "required": true
171
224
  }
172
- }
173
- },
174
- "data:privatelink:access:add": {
175
- "id": "data:privatelink:access:add",
225
+ },
176
226
  "description": "add one or more allowed AWS accounts to your privatelink endpoint",
177
- "strict": true,
178
- "pluginName": "@heroku-cli/plugin-data-privatelink",
179
- "pluginAlias": "@heroku-cli/plugin-data-privatelink",
180
- "pluginType": "core",
181
- "aliases": [],
182
- "hiddenAliases": [
183
- "pg:privatelink:access:add",
184
- "kafka:privatelink:access:add",
185
- "redis:privatelink:access:add"
186
- ],
187
227
  "examples": [
188
228
  "$ heroku data:privatelink:access:add postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --app my-app",
189
229
  "$ heroku data:privatelink:access:add postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --aws-account-id 123456789012:user/xyz --app my-app"
190
230
  ],
191
231
  "flags": {
192
232
  "aws-account-id": {
193
- "name": "aws-account-id",
194
- "type": "option",
195
233
  "char": "i",
196
234
  "description": "AWS account id to use",
235
+ "name": "aws-account-id",
197
236
  "required": true,
198
- "multiple": true
237
+ "hasDynamicHelp": false,
238
+ "multiple": true,
239
+ "type": "option"
199
240
  },
200
241
  "app": {
201
- "name": "app",
202
- "type": "option",
203
242
  "char": "a",
204
243
  "description": "app to run command against",
244
+ "name": "app",
205
245
  "required": true,
206
- "multiple": false
246
+ "hasDynamicHelp": false,
247
+ "multiple": false,
248
+ "type": "option"
207
249
  },
208
250
  "remote": {
209
- "name": "remote",
210
- "type": "option",
211
251
  "char": "r",
212
252
  "description": "git remote of app to use",
213
- "multiple": false
253
+ "name": "remote",
254
+ "hasDynamicHelp": false,
255
+ "multiple": false,
256
+ "type": "option"
214
257
  }
215
258
  },
259
+ "hasDynamicHelp": false,
260
+ "hiddenAliases": [
261
+ "pg:privatelink:access:add",
262
+ "kafka:privatelink:access:add",
263
+ "redis:privatelink:access:add"
264
+ ],
265
+ "id": "data:privatelink:access:add",
266
+ "pluginAlias": "@heroku-cli/plugin-data-privatelink",
267
+ "pluginName": "@heroku-cli/plugin-data-privatelink",
268
+ "pluginType": "core",
269
+ "strict": true,
270
+ "isESM": false,
271
+ "relativePath": [
272
+ "lib",
273
+ "commands",
274
+ "data",
275
+ "privatelink",
276
+ "access",
277
+ "add.js"
278
+ ]
279
+ },
280
+ "data:privatelink:access": {
281
+ "aliases": [],
216
282
  "args": {
217
283
  "database": {
218
284
  "name": "database",
219
285
  "required": true
220
286
  }
221
- }
222
- },
223
- "data:privatelink:access": {
224
- "id": "data:privatelink:access",
287
+ },
225
288
  "description": "list all allowed accounts for your privatelink endpoint",
226
- "strict": true,
227
- "pluginName": "@heroku-cli/plugin-data-privatelink",
228
- "pluginAlias": "@heroku-cli/plugin-data-privatelink",
229
- "pluginType": "core",
230
- "aliases": [],
231
- "hiddenAliases": [
232
- "pg:privatelink:access",
233
- "kafka:privatelink:access",
234
- "redis:privatelink:access"
235
- ],
236
289
  "examples": [
237
290
  "$ heroku data:privatelink:access postgresql-sushi-12345 --app my-app"
238
291
  ],
239
292
  "flags": {
240
293
  "app": {
241
- "name": "app",
242
- "type": "option",
243
294
  "char": "a",
244
295
  "description": "app to run command against",
296
+ "name": "app",
245
297
  "required": true,
246
- "multiple": false
298
+ "hasDynamicHelp": false,
299
+ "multiple": false,
300
+ "type": "option"
247
301
  },
248
302
  "remote": {
249
- "name": "remote",
250
- "type": "option",
251
303
  "char": "r",
252
304
  "description": "git remote of app to use",
253
- "multiple": false
305
+ "name": "remote",
306
+ "hasDynamicHelp": false,
307
+ "multiple": false,
308
+ "type": "option"
254
309
  }
255
310
  },
311
+ "hasDynamicHelp": false,
312
+ "hiddenAliases": [
313
+ "pg:privatelink:access",
314
+ "kafka:privatelink:access",
315
+ "redis:privatelink:access"
316
+ ],
317
+ "id": "data:privatelink:access",
318
+ "pluginAlias": "@heroku-cli/plugin-data-privatelink",
319
+ "pluginName": "@heroku-cli/plugin-data-privatelink",
320
+ "pluginType": "core",
321
+ "strict": true,
322
+ "topic": "data:privatelink:access",
323
+ "isESM": false,
324
+ "relativePath": [
325
+ "lib",
326
+ "commands",
327
+ "data",
328
+ "privatelink",
329
+ "access",
330
+ "index.js"
331
+ ]
332
+ },
333
+ "data:privatelink:access:remove": {
334
+ "aliases": [],
256
335
  "args": {
257
336
  "database": {
258
337
  "name": "database",
259
338
  "required": true
260
339
  }
261
340
  },
262
- "topic": "data:privatelink:access"
263
- },
264
- "data:privatelink:access:remove": {
265
- "id": "data:privatelink:access:remove",
266
341
  "description": "remove an allowed account from your privatelink endpoint",
267
- "strict": true,
268
- "pluginName": "@heroku-cli/plugin-data-privatelink",
269
- "pluginAlias": "@heroku-cli/plugin-data-privatelink",
270
- "pluginType": "core",
271
- "aliases": [],
272
- "hiddenAliases": [
273
- "pg:privatelink:access:remove",
274
- "kafka:privatelink:access:remove",
275
- "redis:privatelink:access:remove"
276
- ],
277
342
  "examples": [
278
343
  "$ heroku data:privatelink:access:remove postgresql-sushi-12345 --aws-account-id 123456789012:user/xyz --app my-app",
279
344
  "$ heroku data:privatelink:access:remove postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --aws-account-id 123456789012:user/xyz --app my-app"
280
345
  ],
281
346
  "flags": {
282
347
  "aws-account-id": {
283
- "name": "aws-account-id",
284
- "type": "option",
285
348
  "char": "i",
286
349
  "description": "AWS account id to use",
350
+ "name": "aws-account-id",
287
351
  "required": true,
288
- "multiple": true
352
+ "hasDynamicHelp": false,
353
+ "multiple": true,
354
+ "type": "option"
289
355
  },
290
356
  "app": {
291
- "name": "app",
292
- "type": "option",
293
357
  "char": "a",
294
358
  "description": "app to run command against",
359
+ "name": "app",
295
360
  "required": true,
296
- "multiple": false
361
+ "hasDynamicHelp": false,
362
+ "multiple": false,
363
+ "type": "option"
297
364
  },
298
365
  "remote": {
299
- "name": "remote",
300
- "type": "option",
301
366
  "char": "r",
302
367
  "description": "git remote of app to use",
303
- "multiple": false
368
+ "name": "remote",
369
+ "hasDynamicHelp": false,
370
+ "multiple": false,
371
+ "type": "option"
304
372
  }
305
373
  },
306
- "args": {
307
- "database": {
308
- "name": "database",
309
- "required": true
310
- }
311
- }
374
+ "hasDynamicHelp": false,
375
+ "hiddenAliases": [
376
+ "pg:privatelink:access:remove",
377
+ "kafka:privatelink:access:remove",
378
+ "redis:privatelink:access:remove"
379
+ ],
380
+ "id": "data:privatelink:access:remove",
381
+ "pluginAlias": "@heroku-cli/plugin-data-privatelink",
382
+ "pluginName": "@heroku-cli/plugin-data-privatelink",
383
+ "pluginType": "core",
384
+ "strict": true,
385
+ "isESM": false,
386
+ "relativePath": [
387
+ "lib",
388
+ "commands",
389
+ "data",
390
+ "privatelink",
391
+ "access",
392
+ "remove.js"
393
+ ]
312
394
  }
313
- }
395
+ },
396
+ "version": "1.3.3"
314
397
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@heroku-cli/plugin-data-privatelink",
3
3
  "description": "Heroku Data via PrivateLink CLI",
4
- "version": "1.3.2",
4
+ "version": "1.3.3",
5
5
  "author": "Heroku",
6
6
  "bugs": "https://github.com/heroku/heroku-data-privatelink-cli/issues",
7
7
  "dependencies": {
8
8
  "@heroku-cli/color": "^2.0.1",
9
- "@heroku-cli/command": "^11.1.2",
9
+ "@heroku-cli/command": "^11.5.0",
10
10
  "@heroku-cli/schema": "^1.0.25",
11
11
  "@oclif/core": "^2.16.0",
12
12
  "@oclif/plugin-help": "^5",
@@ -18,27 +18,28 @@
18
18
  "@types/chai": "^4.3.14",
19
19
  "@types/chai-as-promised": "^7.1.8",
20
20
  "@types/mocha": "^10.0.6",
21
- "@types/node": "^16.11.7",
21
+ "@types/node": "^20.14.8",
22
22
  "@types/supports-color": "^8.1.3",
23
- "@typescript-eslint/eslint-plugin": "6.21.0",
24
- "@typescript-eslint/parser": "6.21.0",
23
+ "@typescript-eslint/eslint-plugin": "7.18.0",
24
+ "@typescript-eslint/parser": "7.18.0",
25
25
  "chai": "^4.4.1",
26
26
  "chai-as-promised": "^7.1.1",
27
- "eslint": "^7.32.0",
27
+ "eslint": "^8.57.1",
28
28
  "eslint-config-oclif": "^4.0.0",
29
29
  "eslint-config-oclif-typescript": "^1.0.2",
30
30
  "eslint-import-resolver-typescript": "^3.5.5",
31
31
  "eslint-plugin-import": "^2.27.5",
32
32
  "eslint-plugin-mocha": "^10.4.3",
33
+ "eslint-plugin-unicorn": "^56.0",
33
34
  "globby": "^10.0.2",
34
35
  "lolex": "^3.1.0",
35
- "mocha": "^9.2.2",
36
+ "mocha": "^10",
36
37
  "nock": "^13.5.1",
37
- "nyc": "^15.1.0",
38
- "oclif": "3.17.2",
38
+ "nyc": "^17.1.0",
39
+ "oclif": "^4.14.36",
39
40
  "ts-node": "^10.9.2",
40
41
  "tsheredoc": "^1.0.1",
41
- "typescript": "4.8.4"
42
+ "typescript": "5.9.3"
42
43
  },
43
44
  "engines": {
44
45
  "node": ">=16.0.0"
@@ -74,17 +75,12 @@
74
75
  ]
75
76
  },
76
77
  "repository": "heroku/heroku-data-privatelink-cli",
77
- "resolutions": {
78
- "isbinaryfile": "4.0.10"
79
- },
80
78
  "scripts": {
81
79
  "build": "rm -rf lib && tsc -b",
82
80
  "lint": "eslint . --ext .ts --config .eslintrc",
83
- "postpack": "rm -f oclif.manifest.json",
84
81
  "posttest": "yarn lint",
85
- "prepack": "rm -rf lib && tsc -b && oclif manifest",
86
82
  "pretest": "tsc -p test --noEmit && yarn build",
87
83
  "test": "nyc mocha --forbid-only \"test/**/*.unit.test.ts\"",
88
84
  "version": "oclif readme && git add README.md"
89
85
  }
90
- }
86
+ }