@heroku-cli/plugin-data 1.3.2 → 2.0.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.
Files changed (37) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +197 -107
  3. package/lib/commands/data/connectors/create.d.ts +8 -9
  4. package/lib/commands/data/connectors/create.js +52 -49
  5. package/lib/commands/data/connectors/destroy.d.ts +5 -6
  6. package/lib/commands/data/connectors/destroy.js +22 -24
  7. package/lib/commands/data/connectors/index.d.ts +6 -7
  8. package/lib/commands/data/connectors/index.js +38 -38
  9. package/lib/commands/data/connectors/info.d.ts +4 -4
  10. package/lib/commands/data/connectors/info.js +31 -32
  11. package/lib/commands/data/connectors/pause.d.ts +3 -3
  12. package/lib/commands/data/connectors/pause.js +16 -15
  13. package/lib/commands/data/connectors/resume.d.ts +3 -3
  14. package/lib/commands/data/connectors/resume.js +16 -15
  15. package/lib/commands/data/connectors/update.d.ts +9 -9
  16. package/lib/commands/data/connectors/update.js +60 -57
  17. package/lib/commands/data/connectors/wait.d.ts +3 -3
  18. package/lib/commands/data/connectors/wait.js +13 -13
  19. package/lib/commands/data/enhanced-certificates/disable.d.ts +4 -5
  20. package/lib/commands/data/enhanced-certificates/disable.js +16 -11
  21. package/lib/commands/data/enhanced-certificates/enable.d.ts +4 -5
  22. package/lib/commands/data/enhanced-certificates/enable.js +19 -14
  23. package/lib/commands/data/enhanced-certificates/status.d.ts +5 -6
  24. package/lib/commands/data/enhanced-certificates/status.js +14 -12
  25. package/lib/commands/data/labs/disable.d.ts +5 -6
  26. package/lib/commands/data/labs/disable.js +28 -20
  27. package/lib/commands/data/labs/enable.d.ts +5 -6
  28. package/lib/commands/data/labs/enable.js +28 -20
  29. package/lib/commands/data/labs/list.d.ts +14 -6
  30. package/lib/commands/data/labs/list.js +18 -16
  31. package/lib/fetcher.d.ts +1 -1
  32. package/lib/fetcher.js +5 -10
  33. package/lib/lib/base.d.ts +5 -5
  34. package/lib/lib/base.js +10 -7
  35. package/lib/tsconfig.tsbuildinfo +1 -0
  36. package/oclif.manifest.json +646 -1
  37. package/package.json +28 -30
package/package.json CHANGED
@@ -1,45 +1,41 @@
1
1
  {
2
2
  "name": "@heroku-cli/plugin-data",
3
3
  "description": "A Heroku CLI Plugin for managing Heroku Data",
4
- "version": "1.3.2",
4
+ "version": "2.0.0-beta.0",
5
5
  "author": "Heroku",
6
6
  "bugs": "https://github.com/heroku/heroku-cli-plugin-data/issues",
7
7
  "dependencies": {
8
- "@heroku-cli/color": "^1.1.14",
9
- "@heroku-cli/command": "^8.5.0",
10
- "@heroku-cli/schema": "^1.0.25",
11
- "@oclif/command": "^1",
12
- "@oclif/config": "^1",
13
- "cli-ux": "^5.4.5",
14
- "tslib": "^1"
8
+ "@heroku-cli/color": "^2.0.1",
9
+ "@heroku-cli/command": "^11.5.0",
10
+ "@oclif/core": "^2.16.0",
11
+ "tslib": "^1.14.1"
15
12
  },
16
13
  "devDependencies": {
17
- "@oclif/dev-cli": "^1",
18
- "@oclif/plugin-help": "^2",
19
- "@oclif/test": "^1",
14
+ "@heroku-cli/schema": "^2.0.0",
15
+ "@oclif/plugin-help": "^5",
16
+ "@oclif/test": "^2",
20
17
  "@types/chai": "^4",
21
- "@types/mocha": "^5",
22
- "@types/node": "^10",
23
- "@types/supports-color": "^5.3.0",
18
+ "@types/mocha": "^10.0.10",
19
+ "@types/node": "20.14.8",
20
+ "@types/supports-color": "^8.1.3",
24
21
  "chai": "^4",
25
- "eslint": "^5.13",
26
- "eslint-config-oclif": "^3.1",
27
- "eslint-config-oclif-typescript": "^0.1",
28
- "globby": "^10",
29
- "mocha": "10.2.0",
30
- "nock": "^12.0.3",
31
- "nyc": "^14",
22
+ "eslint": "^8.57.0",
23
+ "eslint-config-oclif": "^5.2.2",
24
+ "eslint-config-oclif-typescript": "^3.1.14",
25
+ "eslint-plugin-mocha": "^10.5.0",
26
+ "globby": "^14",
27
+ "mocha": "^11.1.0",
28
+ "nock": "^13.5.6",
29
+ "nyc": "^17.1.0",
32
30
  "ts-node": "^10.9.2",
33
- "typescript": "4.x"
31
+ "typescript": "^5.8.2"
34
32
  },
35
33
  "engines": {
36
- "node": ">=8.0.0"
34
+ "node": ">=20.0.0"
37
35
  },
38
36
  "files": [
39
37
  "/lib",
40
- "/npm-shrinkwrap.json",
41
- "/oclif.manifest.json",
42
- "/yarn.lock"
38
+ "/oclif.manifest.json"
43
39
  ],
44
40
  "homepage": "https://github.com/heroku/heroku-cli-plugin-data",
45
41
  "keywords": [
@@ -58,10 +54,12 @@
58
54
  "access": "public"
59
55
  },
60
56
  "scripts": {
57
+ "build": "rm -rf lib && tsc -b",
58
+ "lint": "eslint . --ext .ts --config test/.eslintrc",
61
59
  "postpack": "rm -f oclif.manifest.json",
62
- "posttest": "eslint . --ext .ts --config .eslintrc",
63
- "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
64
- "test": "nyc --extension .ts mocha --config test/mocharc.json --forbid-only \"test/**/*.test.ts\"",
65
- "version": "oclif-dev readme && git add README.md"
60
+ "posttest": "yarn lint",
61
+ "prepack": "yarn build && oclif manifest && oclif readme",
62
+ "test": "nyc --extension .ts mocha --forbid-only --config test/mocharc.json \"test/**/*.test.ts\"",
63
+ "version": "oclif readme && git add README.md"
66
64
  }
67
65
  }