@heroku-cli/plugin-data 1.2.1 → 1.3.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 +17 -17
- package/lib/commands/data/connectors/create.js +2 -2
- package/lib/commands/data/connectors/destroy.js +1 -1
- package/lib/commands/data/connectors/index.js +1 -1
- package/lib/commands/data/enhanced-certificates/disable.js +1 -1
- package/lib/commands/data/enhanced-certificates/enable.js +1 -1
- package/lib/commands/data/enhanced-certificates/status.js +1 -1
- package/lib/commands/data/labs/disable.js +1 -1
- package/lib/commands/data/labs/enable.js +1 -1
- package/lib/commands/data/labs/list.js +1 -1
- package/lib/fetcher.js +1 -0
- package/lib/lib/base.js +2 -1
- package/npm-shrinkwrap.json +9695 -0
- package/oclif.manifest.json +1 -1
- package/package.json +6 -7
- package/yarn.lock +3072 -2700
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.
|
|
1
|
+
{"version":"1.3.0","commands":{"data:connectors:create":{"id":"data:connectors:create","description":"create a new Data Connector\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:connectors:create --store kafka-lovely-12345 --source postgresql-neato-98765 --table public.posts --table public.comments","$ heroku data:connectors:create --store kafka-lovely-12345 --source postgresql-neato-98765 --table public.users --exclude-column public.users.password"],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"},"source":{"name":"source","type":"option","description":"The name of the database add-on whose change data you want to store","required":true},"store":{"name":"store","type":"option","description":"The name of the database add-on that will store the change data","required":true},"name":{"name":"name","type":"option","description":"Name of the connector","required":false},"table":{"name":"table","type":"option","char":"t","description":"Tables to include","required":true},"exclude-column":{"name":"exclude-column","type":"option","description":"Columns to exclude"},"platform-version":{"name":"platform-version","type":"option","char":"p","hidden":true,"required":false}},"args":[]},"data:connectors:destroy":{"id":"data:connectors:destroy","description":"Destroy a Data Connector\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:connectors:destroy gentle-connector-1234","$ heroku data:connectors:destroy gentle-connector-1234 --confirm gentle-connector-1234"],"flags":{"confirm":{"name":"confirm","type":"option","description":"confirms destroying the connector if passed in","required":false}},"args":[{"name":"connector"}]},"data:connectors":{"id":"data:connectors","description":"List all Data Connectors for a particular app or addon\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":["data:connectors:list"],"examples":["heroku data:connectors -a your-app","heroku data:connectors --app=your-app --json","heroku data:connectors --addon=your-postgres-addon --table"],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"},"remote":{"name":"remote","type":"option","char":"r","description":"git remote of app to use"},"addon":{"name":"addon","type":"option","description":"The ID or name for the addon your connector is attached to"},"table":{"name":"table","type":"boolean","description":"Return the results as a table","allowNo":false},"json":{"name":"json","type":"boolean","description":"Return the results as JSON","allowNo":false}},"args":[]},"data:connectors:info":{"id":"data:connectors:info","description":"Get information about a Data Connector\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:connectors:info gentle-connector-1234","$ heroku data:connectors:info gentle-connector-1234 --json"],"flags":{"json":{"name":"json","type":"boolean","description":"Return the results as JSON","allowNo":false}},"args":[{"name":"connector"}]},"data:connectors:pause":{"id":"data:connectors:pause","description":"Pause change event creation on a Data Connector\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:connectors:pause gentle-connector-1234"],"flags":{},"args":[{"name":"connector"}]},"data:connectors:resume":{"id":"data:connectors:resume","description":"Resume change event creation on a Data Connector\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:connectors:resume gentle-connector-1234"],"flags":{},"args":[{"name":"connector"}]},"data:connectors:update":{"id":"data:connectors:update","description":"Update the settings, tables, and columns to exclude for a Data Connector\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors#update-configuration","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:connectors:update gentle-connector-1234 --setting key=value --setting otherKey=otherValue --add-table public.posts --add-table public.people --remove-table public.messages --exclude-column public.posts.key --remove-excluded-column public.parcels.key"],"flags":{"setting":{"name":"setting","type":"option","required":false},"add-table":{"name":"add-table","type":"option","description":"Tables to add","required":false},"remove-table":{"name":"remove-table","type":"option","description":"Tables to remove","required":false},"exclude-column":{"name":"exclude-column","type":"option","description":"Columns to exclude","required":false},"remove-excluded-column":{"name":"remove-excluded-column","type":"option","description":"Columns to no longer exclude","required":false}},"args":[{"name":"connector"}]},"data:connectors:wait":{"id":"data:connectors:wait","description":"Wait for your Data Connector to be provisioned\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:connectors:wait gentle-connector-1234"],"flags":{},"args":[{"name":"connector"}]},"data:enhanced-certificates:disable":{"id":"data:enhanced-certificates:disable","description":"Disable enhanced certificates on an Addon\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"}},"args":[{"name":"addon"}]},"data:enhanced-certificates:enable":{"id":"data:enhanced-certificates:enable","description":"Enable enhanced certificates on an Addon\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:enhanced-certificates:enable happy-postgres-1234 -a example-app"],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"}},"args":[{"name":"addon"}]},"data:enhanced-certificates:status":{"id":"data:enhanced-certificates:status","description":"Get the status of Enhanced Certificates\nRead more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"},"json":{"name":"json","type":"boolean","description":"Return the results as JSON","allowNo":false}},"args":[{"name":"addon"}]},"data:labs:disable":{"id":"data:labs:disable","description":"Disable experimental features on an addon","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:labs:disable wal-compression --addon=happy-postgres-1234 -a example-app"],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"},"addon":{"name":"addon","type":"option","description":"The addon you want to disable features on","required":true}},"args":[{"name":"feature"}]},"data:labs:enable":{"id":"data:labs:enable","description":"Enable experimental features on an addon","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:labs:enable wal-compression --addon=happy-postgres-1234 -a example-app"],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"},"addon":{"name":"addon","type":"option","description":"The addon you want to enable features on","required":true}},"args":[{"name":"feature"}]},"data:labs:list":{"id":"data:labs:list","description":"List available experimental features on an addon and their statuses","pluginName":"@heroku-cli/plugin-data","pluginType":"core","aliases":[],"examples":["$ heroku data:labs:list happy-postgres-1234"],"flags":{"app":{"name":"app","type":"option","char":"a","description":"app to run command against"}},"args":[{"name":"addon"}]}}}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heroku-cli/plugin-data",
|
|
3
3
|
"description": "A Heroku CLI Plugin for managing Heroku Data",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"author": "
|
|
4
|
+
"version": "1.3.0",
|
|
5
|
+
"author": "Heroku",
|
|
6
6
|
"bugs": "https://github.com/heroku/heroku-cli-plugin-data/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@heroku-cli/color": "^1.1.14",
|
|
@@ -22,16 +22,15 @@
|
|
|
22
22
|
"@types/node": "^10",
|
|
23
23
|
"@types/supports-color": "^5.3.0",
|
|
24
24
|
"chai": "^4",
|
|
25
|
-
"debug": "^4.1.1",
|
|
26
25
|
"eslint": "^5.13",
|
|
27
26
|
"eslint-config-oclif": "^3.1",
|
|
28
27
|
"eslint-config-oclif-typescript": "^0.1",
|
|
29
28
|
"globby": "^10",
|
|
30
|
-
"mocha": "
|
|
29
|
+
"mocha": "10.2.0",
|
|
31
30
|
"nock": "^12.0.3",
|
|
32
31
|
"nyc": "^14",
|
|
33
|
-
"ts-node": "^
|
|
34
|
-
"typescript": "
|
|
32
|
+
"ts-node": "^10.9.2",
|
|
33
|
+
"typescript": "4.x"
|
|
35
34
|
},
|
|
36
35
|
"engines": {
|
|
37
36
|
"node": ">=8.0.0"
|
|
@@ -62,7 +61,7 @@
|
|
|
62
61
|
"postpack": "rm -f oclif.manifest.json",
|
|
63
62
|
"posttest": "eslint . --ext .ts --config .eslintrc",
|
|
64
63
|
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
|
|
65
|
-
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
64
|
+
"test": "nyc --extension .ts mocha --config test/mocharc.json --forbid-only \"test/**/*.test.ts\"",
|
|
66
65
|
"version": "oclif-dev readme && git add README.md"
|
|
67
66
|
}
|
|
68
67
|
}
|