@williamthorsen/nmr 0.41.0 → 0.42.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.
@@ -1,4 +1,94 @@
1
1
  [
2
+ {
3
+ "version": "0.42.0",
4
+ "date": "2026-10-08",
5
+ "sections": [
6
+ {
7
+ "title": "🎉 Features",
8
+ "audience": "all",
9
+ "items": [
10
+ {
11
+ "description": "Adds the kit check `catalogued dependencies use catalog:`, which warns about every manifest, the root's included, that declares a literal version or range for a package listed by the default `catalog` or a named `catalogs` entry in `pnpm-workspace.yaml`, and exempts `peerDependencies` and specifiers that name a protocol, such as `workspace:` or `npm:`. (#958)",
12
+ "hash": "5507c695cb64826ec212f76a93a81d3f51fc3c1d",
13
+ "entry": 1
14
+ },
15
+ {
16
+ "description": "Adds the kit check `no package.json declares a workspaces field`, which warns about every `package.json` in the tree that declares `workspaces`, a field that pnpm ignores because it reads workspace globs only from `pnpm-workspace.yaml`. (#958)",
17
+ "hash": "5507c695cb64826ec212f76a93a81d3f51fc3c1d",
18
+ "entry": 2
19
+ },
20
+ {
21
+ "description": "Adds a `Package scripts:` section to the `nmr` listing, which shows each script declared by the current scope's `package.json` under a name that the active registry does not contain, hooks such as `build:pre` included and npm and pnpm lifecycle scripts excluded. (#960)",
22
+ "hash": "2f1b140cfa05117788eb4c64342d271f41400ef3",
23
+ "entry": 1
24
+ },
25
+ {
26
+ "description": "Makes Prettier a dependency of `@williamthorsen/nmr`, so that `pnpm dlx --package @williamthorsen/nmr nmr-fmt --check` (or `--write`) formats a git repository that has nothing installed, while a repository that installs its own Prettier keeps formatting with that copy. (#961)",
27
+ "hash": "b0e90b1dcb09adc2bc7036ea8d7e5958d9ef7de7",
28
+ "entry": 1
29
+ },
30
+ {
31
+ "description": "Makes `nmr-fmt` apply the house config from `@williamthorsen/nmr/prettier`, shell plugin included, when Prettier does not find a config searching from the working directory, which also gives the house config to a repository whose only Prettier configs are in subdirectories below that directory. (#961)",
32
+ "hash": "b0e90b1dcb09adc2bc7036ea8d7e5958d9ef7de7",
33
+ "entry": 2
34
+ },
35
+ {
36
+ "description": "Makes `typescript` an optional peer of `@williamthorsen/nmr`, so that installing nmr no longer requires it, and makes `nmr-compile` report a missing `typescript` together with the version range that it supports. (#961)",
37
+ "hash": "b0e90b1dcb09adc2bc7036ea8d7e5958d9ef7de7",
38
+ "entry": 3
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "title": "🐛 Bug fixes",
44
+ "audience": "all",
45
+ "items": [
46
+ {
47
+ "description": "Fixes the issue that `nmr fmt` and `nmr fmt:check` aborted with a load failure when a file listed by git could not be stat'ed because of `EACCES` or `EPERM`, such as a tracked `.envrc` under a sandbox that denies reads of `.env*` files; `nmr-fmt` now skips each such file and names it on stderr. (#959)",
48
+ "hash": "02166feab5af53a6609423404a66e1954f8002df",
49
+ "entry": 1
50
+ },
51
+ {
52
+ "description": "Fixes the issue that `nmr-fmt` reported any other stat failure on a listed file, such as `ELOOP` from a symlink loop, as a load failure; the run now fails with an error that names the path. (#959)",
53
+ "hash": "02166feab5af53a6609423404a66e1954f8002df",
54
+ "entry": 2
55
+ },
56
+ {
57
+ "description": "Fixes the issue that `nmr-compile` failed with a `TypeError` under TypeScript 7, which it now rejects with an error naming the supported range, `>=5.7 <7`. (#961)",
58
+ "hash": "b0e90b1dcb09adc2bc7036ea8d7e5958d9ef7de7",
59
+ "entry": 4
60
+ },
61
+ {
62
+ "description": "Fixes the issue that `nmr fmt` and `nmr fmt:check` failed in a repository that commits a symlink, because `nmr-fmt` passed the symlink to Prettier, which rejects an explicitly named symlink even when `.prettierignore` lists it. (#968)",
63
+ "hash": "dae55a617e8e9fbaa911d6df979ed06ac950fdcf",
64
+ "entry": 1
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "title": "♻️ Refactoring",
70
+ "audience": "dev",
71
+ "items": [
72
+ {
73
+ "description": "Replaces the hand-written atomic cache write and directory walks in `nmr-core` and `nmr` with `writeAtomic` and `findDirectoryChainMatch` from `@williamthorsen/toolbelt.filesystem`, which both packages now declare in `dependencies`. (#966)",
74
+ "hash": "0177be3ace33150a7ac67725dd539fb0ee63b833",
75
+ "entry": 1
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "title": "📚 Documentation",
81
+ "audience": "dev",
82
+ "items": [
83
+ {
84
+ "description": "Updates the readyup examples in the `nmr`, `release-kit`, and `v11y-check` READMEs and the `nmr` rulebook to use the `sources` key and `rdy run --sources`, and states that `--sources` needs readyup 0.40 or later. (#977)",
85
+ "hash": "41177f8f562d59a4cf0aff9d24199dbd370bb1a1",
86
+ "entry": 4
87
+ }
88
+ ]
89
+ }
90
+ ]
91
+ },
2
92
  {
3
93
  "version": "0.41.0",
4
94
  "date": "2026-10-02",