@casomoltd/tooling 0.20.4 → 0.20.5
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 +20 -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
|
|
|
@@ -275,7 +281,11 @@ only and on explicit request; the agents never do it.
|
|
|
275
281
|
|
|
276
282
|
## Package distribution
|
|
277
283
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
284
|
+
`@casomoltd/tooling`, alongside the product libraries
|
|
285
|
+
(`@casomoltd/paye-calc`, `@casomoltd/nhs-pay`), publishes to the public
|
|
286
|
+
npm registry via OIDC trusted publishing — install with no auth or
|
|
287
|
+
`.npmrc`. A version-tag push (`npm version patch` → `git push
|
|
288
|
+
--follow-tags`) triggers `publish.yml`. That workflow currently pins
|
|
289
|
+
`npm@11.9.0`: npm 12.0.0 shipped regressions (disabled git-protocol deps,
|
|
290
|
+
a broken provenance/sigstore path, and a stricter `npm ci`) — revert to
|
|
291
|
+
`npm@latest` once a 12.x fixes them.
|
package/package.json
CHANGED