|
33 | 33 | "isGlobal": false,
|
34 | 34 | "isRootManifest": false
|
35 | 35 | },
|
| 36 | + { |
| 37 | + "manifestPath": "package.json", |
| 38 | + "projectName": "kitten-scientists", |
| 39 | + "scriptName": "build", |
| 40 | + "scriptCode": "yarn run build:all", |
| 41 | + "isGlobal": false, |
| 42 | + "isRootManifest": true |
| 43 | + }, |
36 | 44 | {
|
37 | 45 | "manifestPath": "package.json",
|
38 | 46 | "projectName": "kitten-scientists",
|
39 | 47 | "scriptName": "build:all",
|
40 | 48 | "scriptCode": "tsc --build",
|
41 | 49 | "isGlobal": true,
|
42 |
| - "isRootManifest": true |
| 50 | + "isRootManifest": true, |
| 51 | + "description": "Builds all TypeScript workspaces." |
43 | 52 | },
|
44 | 53 | {
|
45 | 54 | "manifestPath": "packages/action-automatic-releases/package.json",
|
|
73 | 82 | "isGlobal": false,
|
74 | 83 | "isRootManifest": false
|
75 | 84 | },
|
| 85 | + { |
| 86 | + "manifestPath": "package.json", |
| 87 | + "projectName": "kitten-scientists", |
| 88 | + "scriptName": "clean", |
| 89 | + "scriptCode": "yarn run clean:all", |
| 90 | + "isGlobal": false, |
| 91 | + "isRootManifest": true |
| 92 | + }, |
76 | 93 | {
|
77 | 94 | "manifestPath": "package.json",
|
78 | 95 | "projectName": "kitten-scientists",
|
79 | 96 | "scriptName": "clean:all",
|
80 | 97 | "scriptCode": "rm -rf packages/*/build packages/*/tsconfig.tsbuildinfo",
|
81 | 98 | "isGlobal": true,
|
82 |
| - "isRootManifest": true |
| 99 | + "isRootManifest": true, |
| 100 | + "description": "Cleans all TypeScript build output from all workspaces." |
83 | 101 | },
|
84 | 102 | {
|
85 | 103 | "manifestPath": "packages/kittensgame/package.json",
|
|
88 | 106 | "scriptCode": "bash ./scripts/build-development-container.sh",
|
89 | 107 | "isGlobal": true,
|
90 | 108 | "isRootManifest": false,
|
91 |
| - "description": "Builds the Development Container." |
| 109 | + "description": "Builds the [Development Container](../../development.md#development-with-kittens-game-container)." |
92 | 110 | },
|
93 | 111 | {
|
94 | 112 | "manifestPath": "packages/kittensgame/package.json",
|
|
97 | 115 | "scriptCode": "bash ./scripts/rebuild-development-container.sh",
|
98 | 116 | "isGlobal": true,
|
99 | 117 | "isRootManifest": false,
|
100 |
| - "description": "Rebuilds the development container.\n\nYou're going to want to rebuild your development container every once in a while to ensure you're using the latest version of Kittens Game in your container." |
| 118 | + "description": "Rebuilds the [Development Container](../../development.md#development-with-kittens-game-container).\n\nYou're going to want to rebuild your development container every once in a while to ensure you're using the latest version of Kittens Game in your container." |
101 | 119 | },
|
102 | 120 | {
|
103 | 121 | "manifestPath": "packages/kittensgame/package.json",
|
|
106 | 124 | "scriptCode": "bash ./scripts/run-development-container.sh",
|
107 | 125 | "isGlobal": true,
|
108 | 126 | "isRootManifest": false,
|
109 |
| - "description": "Builds the development container and starts it." |
| 127 | + "description": "Builds the [Development Container](../../development.md#development-with-kittens-game-container) and starts it." |
110 | 128 | },
|
111 | 129 | {
|
112 | 130 | "manifestPath": "packages/documentation/package.json",
|
|
124 | 142 | "scriptCode": "nsd --cwd=$INIT_CWD --docs-location=\"packages/documentation/docs/reference/Repository Scripts/\"",
|
125 | 143 | "isGlobal": true,
|
126 | 144 | "isRootManifest": false,
|
127 |
| - "description": "Update the scripts documentation that you are looking at right now." |
| 145 | + "description": "Update the scripts reference that you are looking at right now." |
128 | 146 | },
|
129 | 147 | {
|
130 | 148 | "manifestPath": "packages/documentation/package.json",
|
|
180 | 198 | "isRootManifest": false,
|
181 | 199 | "description": "Builds the Kitten Scientists userscript and watches all files for changes. If changes are detected, the script is rebuilt.\n\n!!! warning\n\n This watcher has caused problems in the past, generating broken output. Use at your own risk."
|
182 | 200 | },
|
| 201 | + { |
| 202 | + "manifestPath": "package.json", |
| 203 | + "projectName": "kitten-scientists", |
| 204 | + "scriptName": "lint", |
| 205 | + "scriptCode": "yarn run lint:all", |
| 206 | + "isGlobal": false, |
| 207 | + "isRootManifest": true |
| 208 | + }, |
183 | 209 | {
|
184 | 210 | "manifestPath": "package.json",
|
185 | 211 | "projectName": "kitten-scientists",
|
|
221 | 247 | "isGlobal": false,
|
222 | 248 | "isRootManifest": false
|
223 | 249 | },
|
| 250 | + { |
| 251 | + "manifestPath": "package.json", |
| 252 | + "projectName": "kitten-scientists", |
| 253 | + "scriptName": "test", |
| 254 | + "scriptCode": "yarn run test:all", |
| 255 | + "isGlobal": false, |
| 256 | + "isRootManifest": true |
| 257 | + }, |
224 | 258 | {
|
225 | 259 | "manifestPath": "package.json",
|
226 | 260 | "projectName": "kitten-scientists",
|
227 | 261 | "scriptName": "test:all",
|
228 |
| - "scriptCode": "yarn workspaces foreach --all --parallel --verbose run test", |
| 262 | + "scriptCode": "yarn workspaces foreach --all --exclude kitten-scientists --parallel --verbose run test", |
229 | 263 | "isGlobal": true,
|
230 |
| - "isRootManifest": true |
| 264 | + "isRootManifest": true, |
| 265 | + "description": "Runs unit tests in all workspaces." |
231 | 266 | },
|
232 | 267 | {
|
233 | 268 | "manifestPath": "packages/action-automatic-releases/package.json",
|
234 | 269 | "projectName": "@kitten-science/action-automatic-releases",
|
235 | 270 | "scriptName": "test:coverage",
|
236 | 271 | "scriptCode": "c8 --reporter html-spa --reporter text node --enable-source-maps $(yarn bin mocha) ./build/*.test.js",
|
237 | 272 | "isGlobal": true,
|
238 |
| - "isRootManifest": false |
| 273 | + "isRootManifest": false, |
| 274 | + "description": "Runs unit tests in all workspaces and collects code coverage information." |
239 | 275 | },
|
240 | 276 | {
|
241 | 277 | "manifestPath": "packages/action-commit-validator/package.json",
|
242 | 278 | "projectName": "@kitten-science/action-commit-validator",
|
243 | 279 | "scriptName": "test:coverage",
|
244 | 280 | "scriptCode": "c8 --reporter html-spa --reporter text node --enable-source-maps $(yarn bin mocha) ./build/*.test.js",
|
245 | 281 | "isGlobal": true,
|
246 |
| - "isRootManifest": false |
| 282 | + "isRootManifest": false, |
| 283 | + "description": "Runs unit tests in all workspaces and collects code coverage information." |
247 | 284 | },
|
248 | 285 | {
|
249 | 286 | "manifestPath": "packages/action-label-manager/package.json",
|
250 | 287 | "projectName": "@kitten-science/action-label-manager",
|
251 | 288 | "scriptName": "test:coverage",
|
252 | 289 | "scriptCode": "c8 --reporter html-spa --reporter text node --enable-source-maps $(yarn bin mocha) ./build/*.test.js",
|
253 | 290 | "isGlobal": true,
|
254 |
| - "isRootManifest": false |
| 291 | + "isRootManifest": false, |
| 292 | + "description": "Runs unit tests in all workspaces and collects code coverage information." |
255 | 293 | },
|
256 | 294 | {
|
257 | 295 | "manifestPath": "packages/action-release-info/package.json",
|
258 | 296 | "projectName": "@kitten-science/action-release-info",
|
259 | 297 | "scriptName": "test:coverage",
|
260 | 298 | "scriptCode": "c8 --reporter html-spa --reporter text node --enable-source-maps $(yarn bin mocha) ./build/*.test.js",
|
261 | 299 | "isGlobal": true,
|
262 |
| - "isRootManifest": false |
| 300 | + "isRootManifest": false, |
| 301 | + "description": "Runs unit tests in all workspaces and collects code coverage information." |
263 | 302 | },
|
264 | 303 | {
|
265 | 304 | "manifestPath": "package.json",
|
266 | 305 | "projectName": "kitten-scientists",
|
267 | 306 | "scriptName": "test:coverage:all",
|
268 |
| - "scriptCode": "yarn workspaces foreach --all --parallel --verbose run test:coverage", |
| 307 | + "scriptCode": "yarn workspaces foreach --all --exclude kitten-scientists --parallel --verbose run test:coverage", |
269 | 308 | "isGlobal": true,
|
270 |
| - "isRootManifest": true |
| 309 | + "isRootManifest": true, |
| 310 | + "description": "Runs the `test:coverage` script in all workspaces." |
271 | 311 | },
|
272 | 312 | {
|
273 | 313 | "manifestPath": "packages/action-automatic-releases/package.json",
|
274 | 314 | "projectName": "@kitten-science/action-automatic-releases",
|
275 | 315 | "scriptName": "test:inspect",
|
276 | 316 | "scriptCode": "node $(yarn bin mocha) --inspect ./build/*.test.js",
|
277 | 317 | "isGlobal": true,
|
278 |
| - "isRootManifest": false |
| 318 | + "isRootManifest": false, |
| 319 | + "description": "Runs unit tests and lets you attach a debugger." |
279 | 320 | },
|
280 | 321 | {
|
281 | 322 | "manifestPath": "packages/action-commit-validator/package.json",
|
282 | 323 | "projectName": "@kitten-science/action-commit-validator",
|
283 | 324 | "scriptName": "test:inspect",
|
284 | 325 | "scriptCode": "node $(yarn bin mocha) --inspect ./build/*.test.js",
|
285 | 326 | "isGlobal": true,
|
286 |
| - "isRootManifest": false |
| 327 | + "isRootManifest": false, |
| 328 | + "description": "Runs unit tests and lets you attach a debugger." |
287 | 329 | },
|
288 | 330 | {
|
289 | 331 | "manifestPath": "packages/action-label-manager/package.json",
|
290 | 332 | "projectName": "@kitten-science/action-label-manager",
|
291 | 333 | "scriptName": "test:inspect",
|
292 | 334 | "scriptCode": "node $(yarn bin mocha) --inspect ./build/*.test.js",
|
293 | 335 | "isGlobal": true,
|
294 |
| - "isRootManifest": false |
| 336 | + "isRootManifest": false, |
| 337 | + "description": "Runs unit tests and lets you attach a debugger." |
295 | 338 | },
|
296 | 339 | {
|
297 | 340 | "manifestPath": "packages/action-release-info/package.json",
|
298 | 341 | "projectName": "@kitten-science/action-release-info",
|
299 | 342 | "scriptName": "test:inspect",
|
300 | 343 | "scriptCode": "node $(yarn bin mocha) --inspect ./build/*.test.js",
|
301 | 344 | "isGlobal": true,
|
302 |
| - "isRootManifest": false |
| 345 | + "isRootManifest": false, |
| 346 | + "description": "Runs unit tests and lets you attach a debugger." |
303 | 347 | },
|
304 | 348 | {
|
305 | 349 | "manifestPath": "package.json",
|
|
0 commit comments