|
5 | 5 | "author": "Salesforce", |
6 | 6 | "bugs": "https://github.com/forcedotcom/cli/issues", |
7 | 7 | "dependencies": { |
8 | | - "@oclif/core": "^3.12.0", |
9 | | - "@salesforce/apex-node": "^2.1.2", |
10 | | - "@salesforce/core": "^5.3.20", |
11 | | - "@salesforce/sf-plugins-core": "^4.1.2", |
| 8 | + "@oclif/core": "^3.14.1", |
| 9 | + "@salesforce/apex-node": "^3.0.1", |
| 10 | + "@salesforce/core": "^6.4.1", |
| 11 | + "@salesforce/sf-plugins-core": "^5.0.8", |
12 | 12 | "chalk": "^5.3.0", |
13 | 13 | "color-convert": "^2.0.1", |
14 | 14 | "color-name": "^2.0.0" |
15 | 15 | }, |
16 | 16 | "devDependencies": { |
17 | | - "@oclif/plugin-command-snapshot": "^5.0.3", |
18 | | - "@salesforce/cli-plugins-testkit": "^5.0.6", |
19 | | - "@salesforce/dev-scripts": "^6.0.3", |
| 17 | + "@oclif/plugin-command-snapshot": "^5.0.4", |
| 18 | + "@salesforce/cli-plugins-testkit": "^5.1.1", |
| 19 | + "@salesforce/dev-scripts": "^8.1.1", |
20 | 20 | "@salesforce/plugin-command-reference": "^3.0.49", |
21 | 21 | "@types/color-convert": "^2.0.3", |
22 | 22 | "eslint-plugin-sf-plugin": "^1.16.15", |
23 | 23 | "oclif": "^4.0.4", |
24 | 24 | "shx": "^0.3.4", |
25 | | - "ts-node": "^10.9.1", |
| 25 | + "ts-node": "^10.9.2", |
26 | 26 | "typescript": "^5.2.2" |
27 | 27 | }, |
28 | 28 | "engines": { |
|
90 | 90 | "compile": "wireit", |
91 | 91 | "docs": "sf-docs", |
92 | 92 | "format": "wireit", |
| 93 | + "link-check": "wireit", |
93 | 94 | "lint": "wireit", |
94 | 95 | "postpack": "shx rm -f oclif.manifest.json oclif.lock", |
95 | 96 | "prepack": "sf-prepack", |
|
161 | 162 | "test:command-reference", |
162 | 163 | "test:deprecation-policy", |
163 | 164 | "lint", |
164 | | - "test:json-schema" |
| 165 | + "test:json-schema", |
| 166 | + "link-check" |
165 | 167 | ] |
166 | 168 | }, |
167 | 169 | "test:only": { |
|
180 | 182 | "output": [] |
181 | 183 | }, |
182 | 184 | "test:command-reference": { |
183 | | - "command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings", |
| 185 | + "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings", |
184 | 186 | "files": [ |
185 | 187 | "src/**/*.ts", |
186 | 188 | "messages/**", |
|
191 | 193 | ] |
192 | 194 | }, |
193 | 195 | "test:deprecation-policy": { |
194 | | - "command": "ts-node \"./bin/dev.js\" snapshot:compare", |
| 196 | + "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare", |
195 | 197 | "files": [ |
196 | 198 | "src/**/*.ts" |
197 | 199 | ], |
|
201 | 203 | ] |
202 | 204 | }, |
203 | 205 | "test:json-schema": { |
204 | | - "command": "ts-node \"./bin/dev.js\" schema:compare", |
| 206 | + "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare", |
205 | 207 | "files": [ |
206 | 208 | "src/**/*.ts", |
207 | 209 | "schemas" |
208 | 210 | ], |
209 | 211 | "output": [] |
| 212 | + }, |
| 213 | + "link-check": { |
| 214 | + "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error", |
| 215 | + "files": [ |
| 216 | + "./*.md", |
| 217 | + "./!(CHANGELOG).md", |
| 218 | + "messages/**/*.md" |
| 219 | + ], |
| 220 | + "output": [] |
210 | 221 | } |
211 | 222 | }, |
212 | 223 | "exports": "./lib/index.js", |
|
0 commit comments