@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.
Files changed (2) hide show
  1. package/README.md +20 -10
  2. 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
- Consumed as a **git dependency** — it's shared config + CLI scripts,
33
- not a registry package. Add it to a consumer's `devDependencies`:
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": "github:casomoltd/tooling#semver:^0.10.0"
40
+ "@casomoltd/tooling": "^0.20.0"
37
41
  ```
38
42
 
39
- The repo is public, so installs need no token. The `files` allowlist
40
- plus the `verify-pack` leak-gate keep the installed surface to
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
- The product libraries (`@casomoltd/paye-calc`, `@casomoltd/nhs-pay`)
279
- publish to the public npm registry via OIDC trusted publishing — install
280
- with no auth or `.npmrc`. `@casomoltd/tooling` is **not** published; it's
281
- consumed as a git dependency from this (public) repo.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@casomoltd/tooling",
3
- "version": "0.20.4",
3
+ "version": "0.20.5",
4
4
  "description": "Casomo's shared dev config: ESLint, Prettier, commitlint, knip & jscpd presets and dev CLIs (git hooks, readability, screenshots)",
5
5
  "license": "MIT",
6
6
  "repository": {