@casomoltd/tooling 0.20.4 → 0.21.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.
- package/README.md +21 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,16 +29,22 @@ Shared linting, formatting, commit config, and CLI tools for Casomo Ltd's repos.
|
|
|
29
29
|
|
|
30
30
|
## Install
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
Published to the public npm registry. Add it to a consumer's
|
|
33
|
+
`devDependencies`:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
npm i -D @casomoltd/tooling
|
|
37
|
+
```
|
|
34
38
|
|
|
35
39
|
```json
|
|
36
|
-
"@casomoltd/tooling": "
|
|
40
|
+
"@casomoltd/tooling": "^0.20.0"
|
|
37
41
|
```
|
|
38
42
|
|
|
39
|
-
The
|
|
40
|
-
plus the `verify-pack` leak-gate keep the
|
|
41
|
-
configs/CLI only.
|
|
43
|
+
The package is public, so installs need no token or `.npmrc`. The `files`
|
|
44
|
+
allowlist plus the `verify-pack` leak-gate keep the published surface to
|
|
45
|
+
configs/CLI only. `puppeteer` (used by the `screenshot` bin) is an
|
|
46
|
+
**optional peer dependency** — add it yourself (`npm i -D puppeteer`) in
|
|
47
|
+
repos that run `screenshot`.
|
|
42
48
|
|
|
43
49
|
## Husky hooks
|
|
44
50
|
|
|
@@ -201,6 +207,7 @@ decision table) that keeps these units composing without overlap.
|
|
|
201
207
|
| `/casomoltd:screenshot` | Capture and analyse a dev server page |
|
|
202
208
|
| `/casomoltd:design-pass` | Map → review → refactor a package (drives `design-xray` + `code-review`) |
|
|
203
209
|
| `/casomoltd:draft-design-spec` | Author a browser-reviewable HTML design spec from a brief and iterate on it before writing code (drives `design-xray`) |
|
|
210
|
+
| `/casomoltd:page-design` | Structure a content/explainer page for trust — above-the-fold answer, disclosure, palette-only colour (rubric a page-design reviewer preloads) |
|
|
204
211
|
|
|
205
212
|
Enable the plugin by adding this repo as a marketplace and installing it:
|
|
206
213
|
|
|
@@ -275,7 +282,11 @@ only and on explicit request; the agents never do it.
|
|
|
275
282
|
|
|
276
283
|
## Package distribution
|
|
277
284
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
285
|
+
`@casomoltd/tooling`, alongside the product libraries
|
|
286
|
+
(`@casomoltd/paye-calc`, `@casomoltd/nhs-pay`), publishes to the public
|
|
287
|
+
npm registry via OIDC trusted publishing — install with no auth or
|
|
288
|
+
`.npmrc`. A version-tag push (`npm version patch` → `git push
|
|
289
|
+
--follow-tags`) triggers `publish.yml`. That workflow currently pins
|
|
290
|
+
`npm@11.9.0`: npm 12.0.0 shipped regressions (disabled git-protocol deps,
|
|
291
|
+
a broken provenance/sigstore path, and a stricter `npm ci`) — revert to
|
|
292
|
+
`npm@latest` once a 12.x fixes them.
|
package/package.json
CHANGED