@heroku-cli/plugin-devcenter 2.0.0 → 2.0.1

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
@@ -17,7 +17,7 @@ $ npm install -g @heroku-cli/plugin-devcenter
17
17
  $ heroku COMMAND
18
18
  running command...
19
19
  $ heroku (--version)
20
- @heroku-cli/plugin-devcenter/2.0.0 darwin-arm64 node-v24.14.0
20
+ @heroku-cli/plugin-devcenter/2.0.1 linux-x64 node-v20.20.2
21
21
  $ heroku --help [COMMAND]
22
22
  USAGE
23
23
  $ heroku COMMAND
@@ -51,7 +51,7 @@ DESCRIPTION
51
51
  open a Dev Center article in the browser (uses Heroku credentials for private or draft content when available)
52
52
  ```
53
53
 
54
- _See code: [src/commands/devcenter/open.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.0/src/commands/devcenter/open.ts)_
54
+ _See code: [src/commands/devcenter/open.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.1/src/commands/devcenter/open.ts)_
55
55
 
56
56
  ## `heroku devcenter:preview SLUG`
57
57
 
@@ -75,7 +75,7 @@ DESCRIPTION
75
75
  preview a local Dev Center article in the browser with live reload
76
76
  ```
77
77
 
78
- _See code: [src/commands/devcenter/preview.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.0/src/commands/devcenter/preview.ts)_
78
+ _See code: [src/commands/devcenter/preview.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.1/src/commands/devcenter/preview.ts)_
79
79
 
80
80
  ## `heroku devcenter:pull SLUGORURL`
81
81
 
@@ -98,7 +98,7 @@ DESCRIPTION
98
98
  save a local copy of a Dev Center article
99
99
  ```
100
100
 
101
- _See code: [src/commands/devcenter/pull.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.0/src/commands/devcenter/pull.ts)_
101
+ _See code: [src/commands/devcenter/pull.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.1/src/commands/devcenter/pull.ts)_
102
102
 
103
103
  ## `heroku devcenter:push SLUG`
104
104
 
@@ -118,7 +118,7 @@ DESCRIPTION
118
118
  update a Dev Center article from a local markdown file
119
119
  ```
120
120
 
121
- _See code: [src/commands/devcenter/push.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.0/src/commands/devcenter/push.ts)_
121
+ _See code: [src/commands/devcenter/push.ts](https://github.com/heroku/devcenter-cli/blob/v2.0.1/src/commands/devcenter/push.ts)_
122
122
  <!-- commandsstop -->
123
123
 
124
124
  ## Development
@@ -168,5 +168,5 @@
168
168
  ]
169
169
  }
170
170
  },
171
- "version": "2.0.0"
171
+ "version": "2.0.1"
172
172
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heroku-cli/plugin-devcenter",
3
3
  "description": "Heroku CLI plugin to interact with Heroku Dev Center",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "author": "Heroku",
6
6
  "type": "module",
7
7
  "license": "ISC",
@@ -40,7 +40,7 @@
40
40
  }
41
41
  },
42
42
  "engines": {
43
- "node": ">=22"
43
+ "node": ">=20"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "npm run clean && tsc && oclif manifest && oclif readme",
@@ -51,14 +51,13 @@
51
51
  "posttest": "npm run lint",
52
52
  "pretest": "npm run build",
53
53
  "readme": "oclif readme",
54
- "test": "c8 --all --check-coverage --reporter=lcov --reporter=text-summary mocha --forbid-only \"test/**/*.test.ts\"",
54
+ "test": "vitest run --coverage",
55
55
  "version": "oclif readme && git add README.md"
56
56
  },
57
57
  "dependencies": {
58
- "@heroku-cli/command": "^13.0.0-beta.1",
58
+ "@heroku-cli/command": "^12.4.1",
59
59
  "@heroku/heroku-cli-util": "^10.8.0",
60
- "@oclif/core": "^4.3.0",
61
- "@oclif/plugin-help": "^6.2.36",
60
+ "@oclif/core": "^4.0.0",
62
61
  "cheerio": "^1.2.0",
63
62
  "chokidar": "^5.0.0",
64
63
  "debug": "^4.4.3",
@@ -68,32 +67,25 @@
68
67
  "open": "^11.0.0",
69
68
  "yaml": "^2.8.3"
70
69
  },
71
- "overrides": {
72
- "mocha": {
73
- "serialize-javascript": "^7.0.5"
74
- }
75
- },
76
70
  "devDependencies": {
77
- "@heroku-cli/test-utils": "^0.2.0",
78
- "@types/chai": "^5.2.3",
71
+ "@heroku-cli/test-utils": "^0.3.0",
72
+ "@oclif/plugin-help": "^6.2.36",
79
73
  "@types/debug": "^4.1.12",
80
74
  "@types/express": "^5.0.6",
81
75
  "@types/markdown-it": "^14.1.2",
82
- "@types/mocha": "^10.0.10",
83
76
  "@types/node": "^22.15.3",
84
77
  "@types/supertest": "^7.2.0",
78
+ "@vitest/coverage-v8": "^4.1.8",
85
79
  "ansis": "^3.17.0",
86
- "c8": "^11.0.0",
87
- "chai": "^6.2.2",
88
80
  "eslint": "^9.39.4",
89
81
  "eslint-config-oclif": "^6.0.156",
90
- "eslint-plugin-mocha": "^11.2.0",
91
- "mocha": "^11.7.5",
82
+ "eslint-plugin-vitest": "^0.5.4",
92
83
  "nock": "^14.0.12",
93
- "oclif": "^4.22.81",
84
+ "oclif": "^4.23.14",
94
85
  "sinon": "^21.0.3",
95
86
  "supertest": "^7.2.2",
96
87
  "tsx": "^4.21.0",
97
- "typescript": "^5.4.0"
88
+ "typescript": "^5.4.0",
89
+ "vitest": "^4.1.8"
98
90
  }
99
91
  }