@williamthorsen/nmr 2.0.2 → 2.0.3

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,21 @@
1
1
  [
2
+ {
3
+ "version": "2.0.3",
4
+ "date": "2026-11-12",
5
+ "sections": [
6
+ {
7
+ "title": "⚙️ Tooling",
8
+ "audience": "dev",
9
+ "items": [
10
+ {
11
+ "description": "Drops `--conditions nmr-source` from the `prepare` scripts of `build-info`, `build-info-react`, and `change-grammar`, which pnpm now runs after nmr-core is built because each package depends on nmr-core through nmr. (#1302)",
12
+ "hash": "9316254f051da705a8d588fad273e3a837501594",
13
+ "entry": 2
14
+ }
15
+ ]
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  "version": "2.0.2",
4
21
  "date": "2026-11-12",
@@ -9631,7 +9631,7 @@ function hasSupportedStrictLintVersion() {
9631
9631
  });
9632
9632
  }
9633
9633
  function getMinVersion() {
9634
- const pickedFields = { "version": "2.0.2" };
9634
+ const pickedFields = { "version": "2.0.3" };
9635
9635
  if (typeof pickedFields["version"] !== "string") {
9636
9636
  throw new TypeError("nmr/package.json: 'version' must be a string");
9637
9637
  }
@@ -32,7 +32,7 @@
32
32
  "checklist": "nmr",
33
33
  "checks": [
34
34
  "@williamthorsen/nmr in devDependencies",
35
- "@williamthorsen/nmr >= 2.0.2",
35
+ "@williamthorsen/nmr >= 2.0.3",
36
36
  "pnpm-workspace.yaml exists",
37
37
  "catalogued dependencies use catalog:",
38
38
  "package.json has packageManager field",
@@ -236,7 +236,7 @@
236
236
  "path": "lib/workspace-build.ts"
237
237
  },
238
238
  {
239
- "hash": "cf90a835",
239
+ "hash": "79865804",
240
240
  "kind": "inline",
241
241
  "path": "../package.json",
242
242
  "paths": [
@@ -364,7 +364,7 @@
364
364
  "readyupVersion": "0.45.1",
365
365
  "source": "kits/default.ts",
366
366
  "sourceHash": "9fd61bf4",
367
- "targetHash": "9895b0df"
367
+ "targetHash": "51e36551"
368
368
  }
369
369
  ]
370
370
  }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 2.0.3 — 2026-11-12
6
+
7
+ ### ⚙️ Tooling
8
+
9
+ - Drops `--conditions nmr-source` from the `prepare` scripts of `build-info`, `build-info-react`, and `change-grammar`, which pnpm now runs after nmr-core is built because each package depends on nmr-core through nmr. (#1302)
10
+
5
11
  ## 2.0.2 — 2026-11-12
6
12
 
7
13
  ### 🐛 Bug fixes
package/README.md CHANGED
@@ -4,19 +4,7 @@
4
4
 
5
5
  Context-aware script runner for pnpm monorepos. Includes an `nmr` (node-monorepo run) binary that provides centralized, consistent script execution across workspace packages and the monorepo root.
6
6
 
7
- <!-- section:release-notes -->
8
- ## Release notes — v2.0.2 (2026-11-12)
9
-
10
- ### 🐛 Bug fixes
11
-
12
- - Fixes the issue that `nmr-fmt` and `nmr-taze` exited with 1 when a signal ended Prettier or taze, and makes each exit with 128 plus the signal number, as the other commands that nmr runs already did. (#1281)
13
- - Fixes the issue that `nmr-fmt` formatted with nmr's own copy of Prettier when the repository's copy had a malformed or unreadable manifest, and makes `nmr-fmt` fail with an error that names that manifest instead. (#1282)
14
- - Fixes the issue that `nmr-vitest` reported a Vitest whose manifest is malformed or unreadable as not installed, and makes `nmr-vitest` name that manifest and the repair instead. (#1282)
15
- - Fixes the issue that `nmr-fmt` and `nmr-vitest` crashed on a Prettier or Vitest manifest that starts with a byte-order mark, which Node accepts. (#1282)
16
- - Fixes the issue that a `.config/nmr.config.ts` or `~/.config/nmr/config.ts` that failed to parse or threw while loading crashed `nmr` with an internal error that did not name the file, and makes `nmr` report an error that names the config and, for a syntax error, the file and line that Node reports, including those of a module that the config imports. (#1296)
17
- - Fixes the issue that `nmr` read any value of `NMR_DEBUG`, `NMR_NO_CACHE`, `NMR_NO_LOCK`, or `NMR_RUN_IF_PRESENT` other than `1`, such as `true`, as off without reporting it, by making `nmr` and `nmr-fmt` exit 2 with a message that names the variable and the values that it accepts. (#1297)
18
- - Fixes the issue that `nmr upgrade --write` rewrote the `nodejs` pin in `.tool-versions` to a release that asdf could not install yet, by limiting the check to releases that node-build defines and reporting a newer release without a definition as held back. (#1300)
19
- <!-- /section:release-notes -->
7
+ <!-- section:release-notes --><!-- /section:release-notes -->
20
8
 
21
9
  ## Installation
22
10
 
@@ -63,7 +63,8 @@ export declare function resolveEntryPoints(packageDir: string, options?: BuildOp
63
63
  * rebuild on every invocation and change the fingerprint that every other package reads.
64
64
  *
65
65
  * Because the fingerprint names the nmr that produced the output, not the sources in `src`, a package compiled by
66
- * the pre-rebuild binary keeps the old fingerprint and rebuilds on the next run.
66
+ * the pre-rebuild binary keeps the old fingerprint and rebuilds on the next run; a workspace that orders nmr's
67
+ * build ahead of the packages that it compiles avoids that rebuild.
67
68
  */
68
69
  export declare function resolveToolchainFingerprint(packageDir: string, selfDir?: string): Promise<string>;
69
70
  /** Records how long the emit took for the build whose digest is `digest`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/nmr",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "private": false,
5
5
  "description": "Context-aware script runner for pnpm monorepos",
6
6
  "keywords": [
@@ -80,7 +80,7 @@
80
80
  "!docs/*.v*.md"
81
81
  ],
82
82
  "dependencies": {
83
- "@williamthorsen/nmr-core": "0.16.1",
83
+ "@williamthorsen/nmr-core": "0.16.2",
84
84
  "@williamthorsen/toolbelt.errors": "0.9.1",
85
85
  "@williamthorsen/toolbelt.filesystem": "0.10.1",
86
86
  "glob": "14.0.4",