|
34 | 34 | "scriptName": "docs:build",
|
35 | 35 | "scriptCode": ".scripts/build.sh",
|
36 | 36 | "isGlobal": true,
|
37 |
| - "isRootManifest": false |
| 37 | + "isRootManifest": false, |
| 38 | + "description": "Build the documentation." |
38 | 39 | },
|
39 | 40 | {
|
40 | 41 | "manifestPath": "packages/documentation/package.json",
|
41 | 42 | "projectName": "@kitten-science/documentation",
|
42 | 43 | "scriptName": "docs:nsd",
|
43 | 44 | "scriptCode": "nsd --cwd=$INIT_CWD --docs-location=\"packages/documentation/docs/reference/Repository Scripts/\"",
|
44 | 45 | "isGlobal": true,
|
45 |
| - "isRootManifest": false |
| 46 | + "isRootManifest": false, |
| 47 | + "description": "Update the scripts documentation that you are looking at right now." |
46 | 48 | },
|
47 | 49 | {
|
48 | 50 | "manifestPath": "packages/documentation/package.json",
|
49 | 51 | "projectName": "@kitten-science/documentation",
|
50 | 52 | "scriptName": "docs:serve",
|
51 | 53 | "scriptCode": ".scripts/serve.sh",
|
52 | 54 | "isGlobal": true,
|
53 |
| - "isRootManifest": false |
| 55 | + "isRootManifest": false, |
| 56 | + "description": "Start the [mkdocs-material](https://squidfunk.github.io/mkdocs-material/) development server to work on the documentation." |
54 | 57 | },
|
55 | 58 | {
|
56 | 59 | "manifestPath": "package.json",
|
57 | 60 | "projectName": "kitten-scientists",
|
58 | 61 | "scriptName": "lint:all",
|
59 | 62 | "scriptCode": "eslint . --ext .ts",
|
60 | 63 | "isGlobal": true,
|
61 |
| - "isRootManifest": true |
| 64 | + "isRootManifest": true, |
| 65 | + "description": "Check source code for style issues." |
62 | 66 | },
|
63 | 67 | {
|
64 | 68 | "manifestPath": "packages/tests/package.json",
|
65 | 69 | "projectName": "@kitten-science/tests",
|
66 | 70 | "scriptName": "tests:build",
|
67 | 71 | "scriptCode": "tsc --build",
|
68 | 72 | "isGlobal": true,
|
69 |
| - "isRootManifest": false |
| 73 | + "isRootManifest": false, |
| 74 | + "description": "Build tests." |
70 | 75 | },
|
71 | 76 | {
|
72 | 77 | "manifestPath": "packages/tests/package.json",
|
73 | 78 | "projectName": "@kitten-science/tests",
|
74 | 79 | "scriptName": "tests:run",
|
75 | 80 | "scriptCode": "mocha output/tests/*.spec.js",
|
76 | 81 | "isGlobal": true,
|
77 |
| - "isRootManifest": false |
| 82 | + "isRootManifest": false, |
| 83 | + "description": "Execute tests." |
78 | 84 | },
|
79 | 85 | {
|
80 | 86 | "manifestPath": "package.json",
|
81 | 87 | "projectName": "kitten-scientists",
|
82 | 88 | "scriptName": "typecheck:all",
|
83 | 89 | "scriptCode": "tsc --noEmit --incremental false",
|
84 | 90 | "isGlobal": true,
|
85 |
| - "isRootManifest": true |
| 91 | + "isRootManifest": true, |
| 92 | + "description": "Run the TypeScript compiler to find problems with the code." |
86 | 93 | },
|
87 | 94 | {
|
88 | 95 | "manifestPath": "packages/userscript/package.json",
|
89 | 96 | "projectName": "@kitten-science/userscript",
|
90 | 97 | "scriptName": "userscript:build",
|
91 | 98 | "scriptCode": "vite --config vite.config.inject.js build",
|
92 | 99 | "isGlobal": true,
|
93 |
| - "isRootManifest": false |
| 100 | + "isRootManifest": false, |
| 101 | + "description": "Build the userscript.\n\nThis builds the version of the script that is also used in the development container." |
94 | 102 | },
|
95 | 103 | {
|
96 | 104 | "manifestPath": "packages/userscript/package.json",
|
97 | 105 | "projectName": "@kitten-science/userscript",
|
98 | 106 | "scriptName": "userscript:preview",
|
99 | 107 | "scriptCode": "DEV_BUILD=true vite --config vite.config.userscript.js build",
|
100 | 108 | "isGlobal": true,
|
101 |
| - "isRootManifest": false |
| 109 | + "isRootManifest": false, |
| 110 | + "description": "Build a development release version of the userscript." |
102 | 111 | },
|
103 | 112 | {
|
104 | 113 | "manifestPath": "packages/userscript/package.json",
|
105 | 114 | "projectName": "@kitten-science/userscript",
|
106 | 115 | "scriptName": "userscript:release",
|
107 | 116 | "scriptCode": "MINIFY=true vite --config vite.config.userscript.js build; vite --config vite.config.userscript.js build",
|
108 | 117 | "isGlobal": true,
|
109 |
| - "isRootManifest": false |
| 118 | + "isRootManifest": false, |
| 119 | + "description": "Build a release version of the userscript.\n\nThis is usually only used from CI to build both the regular version of the script, as well as a minified build. When you use this locally, it still builds both files, but clears the output directory between builds. So you end up with only the regular version." |
110 | 120 | },
|
111 | 121 | {
|
112 | 122 | "manifestPath": "packages/userscript/package.json",
|
113 | 123 | "projectName": "@kitten-science/userscript",
|
114 | 124 | "scriptName": "userscript:version",
|
115 | 125 | "scriptCode": "node version.cjs",
|
116 | 126 | "isGlobal": true,
|
117 |
| - "isRootManifest": false |
| 127 | + "isRootManifest": false, |
| 128 | + "description": "Returns the version for the userscript." |
118 | 129 | },
|
119 | 130 | {
|
120 | 131 | "manifestPath": "packages/userscript/package.json",
|
121 | 132 | "projectName": "@kitten-science/userscript",
|
122 | 133 | "scriptName": "userscript:watch",
|
123 | 134 | "scriptCode": "vite --config vite.config.inject.js build --watch",
|
124 | 135 | "isGlobal": true,
|
125 |
| - "isRootManifest": false |
| 136 | + "isRootManifest": false, |
| 137 | + "description": "Builds the 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." |
126 | 138 | },
|
127 | 139 | {
|
128 | 140 | "manifestPath": "packages/userscript/package.json",
|
|
0 commit comments