@williamthorsen/nmr 0.56.0 โ†’ 1.0.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,21 @@
1
1
  [
2
+ {
3
+ "version": "1.0.0",
4
+ "date": "2026-11-08",
5
+ "sections": [
6
+ {
7
+ "title": "๐Ÿงช Tests",
8
+ "audience": "dev",
9
+ "items": [
10
+ {
11
+ "description": "Replaces the hand-written deadline loops in nmr's polling test helpers with `vi.waitFor` at the same interval and timeout, and keeps the one 50 ms real-time wait in `machine-lock.unit.test.ts` under a line-level disable of `sky-pilot/no-real-time-sleep`, because only elapsed time shows that further polls print nothing. (#1220)",
12
+ "hash": "3ece5a56e6c2f3f04b5838e1709a1ddd80675df6",
13
+ "entry": 1
14
+ }
15
+ ]
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  "version": "0.56.0",
4
21
  "date": "2026-11-08",
@@ -9611,7 +9611,7 @@ function hasSupportedStrictLintVersion() {
9611
9611
  });
9612
9612
  }
9613
9613
  function getMinVersion() {
9614
- const pickedFields = { "version": "0.56.0" };
9614
+ const pickedFields = { "version": "1.0.0" };
9615
9615
  if (typeof pickedFields["version"] !== "string") {
9616
9616
  throw new TypeError("nmr/package.json: 'version' must be a string");
9617
9617
  }
@@ -5,11 +5,11 @@
5
5
  "bundledDependencies": {
6
6
  "@williamthorsen/toolbelt.arrays": "6.4.1",
7
7
  "@williamthorsen/toolbelt.cli": "0.8.0",
8
- "@williamthorsen/toolbelt.datetime": "4.1.0",
8
+ "@williamthorsen/toolbelt.datetime": "4.1.1",
9
9
  "@williamthorsen/toolbelt.errors": "0.9.0",
10
10
  "@williamthorsen/toolbelt.filesystem": "0.10.0",
11
11
  "@williamthorsen/toolbelt.guards": "4.2.0",
12
- "@williamthorsen/toolbelt.numbers": "7.3.0, 7.3.1",
12
+ "@williamthorsen/toolbelt.numbers": "7.3.1",
13
13
  "@williamthorsen/toolbelt.objects": "4.4.0",
14
14
  "@williamthorsen/toolbelt.packaging": "0.7.0",
15
15
  "@williamthorsen/toolbelt.sets": "3.1.0",
@@ -32,7 +32,7 @@
32
32
  "checklist": "nmr",
33
33
  "checks": [
34
34
  "@williamthorsen/nmr in devDependencies",
35
- "@williamthorsen/nmr >= 0.56.0",
35
+ "@williamthorsen/nmr >= 1.0.0",
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": "4a3da7d3",
239
+ "hash": "2afa0f3c",
240
240
  "kind": "inline",
241
241
  "path": "../package.json",
242
242
  "paths": [
@@ -364,7 +364,7 @@
364
364
  "readyupVersion": "0.45.0",
365
365
  "source": "kits/default.ts",
366
366
  "sourceHash": "9fd61bf4",
367
- "targetHash": "10c013df"
367
+ "targetHash": "5818d99b"
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
+ ## 1.0.0 โ€” 2026-11-08
6
+
7
+ ### ๐Ÿงช Tests
8
+
9
+ - Replaces the hand-written deadline loops in nmr's polling test helpers with `vi.waitFor` at the same interval and timeout, and keeps the one 50 ms real-time wait in `machine-lock.unit.test.ts` under a line-level disable of `sky-pilot/no-real-time-sleep`, because only elapsed time shows that further polls print nothing. (#1220)
10
+
5
11
  ## 0.56.0 โ€” 2026-11-08
6
12
 
7
13
  ### ๐ŸŽ‰ Features
package/README.md CHANGED
@@ -4,34 +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 โ€” v0.56.0 (2026-11-08)
9
-
10
- ### ๐ŸŽ‰ Features
11
-
12
- - ๐Ÿšจ **Breaking:** Route release-kit commands through toolbelt.cli (#1186)
13
-
14
- Routes `release-kit`'s commands through the shared `toolbelt.cli` command parser, which renders each command's help from its option definitions and reports a usage error with a `Try '... --help'` line and exit code 2 instead of exit code 1. Also makes a bare `release-kit`, `release-kit overrides`, or `release-kit sync-labels` report "A command is required." and exit 2 instead of printing help and exiting 0.
15
-
16
- - Changes the exit code of a usage error in `nmr`, `nmr-fmt`, and `ensure-prepublish-hooks` from 1 to 2, which covers an unknown flag in each, and in `nmr` an invalid `--output-style`, `NMR_COMMAND_VERBOSITY`, `NMR_REPORT_FORMAT`, or `NMR_OUTPUT_STYLE` value and `nmr --log` given without a command. (#1187)
17
- - Adds a `Did you mean` line to the `Unknown command` error of `nmr` when a defined command is close to the name typed, followed by `Try 'nmr --help'.` (#1187)
18
- - Generates `nmr --help` from nmr's flag definitions, listing the commands of the current scope under `Commands:` and those of the other scope after the environment variables and files, and adds `-h` as a short help flag. (#1187)
19
- - Adds `--help` to `nmr-fmt` and `ensure-prepublish-hooks`, each generated from the command's flag definitions. (#1187)
20
- - Prefixes each handled error line written by `nmr` and its other bins, `release-kit`, and `v11y-check` with the name of the program that wrote it, as `<bin>: <message>` in place of `Error: <message>`, for usage errors such as an unknown command or option as well, and names `v11y` for both of the bins in `v11y-check`. (#1190)
21
- - Adds the warn-level check `every publishable package declares prepublishOnly` to nmr's ReadyUp kit, which lists each non-private workspace package that does not declare a `prepublishOnly` script, since a package without one publishes without its build output. (#1192)
22
- - Adds the `shouldIsolateTempDir` option to `defineVitestConfig` and `defineRootVitestConfig`, on by default, which loads a global setup that points `TMPDIR` at a directory of the run's own, removes it when the run ends, and first removes any such directory left by a run that a signal stopped. (#1208)
23
- - Makes `nmr-actionlint` and `nmr-shellcheck` cache the pinned actionlint and shellcheck once per machine under `$XDG_CACHE_HOME/nmr/tools/` (default `~/.cache/nmr/tools/`), so that `lint:workflows` and `lint:shell` in a new worktree reuse the copy that another worktree downloaded and fall back to the monorepo-root `node_modules/.cache/nmr-tools/` when the machine cache cannot be written. (#1210)
24
-
25
- ### ๐Ÿชฆ Removed
26
-
27
- - Removes `-?` as a help flag of `nmr`, which now rejects it as an unknown flag. (#1187)
28
-
29
- ### ๐Ÿ› Bug fixes
30
-
31
- - Fixes the issue that nmr read the value of a value-taking flag in an `nmr` step of a script, such as `--output-style plain` or `--delegate-to box`, as the step's command. (#1187)
32
- - Fixes the issue that `nmr fmt`, `nmr lint:shell`, and a delegated run failed with `ENOBUFS` once git's file listing exceeded Node's 1 MiB default output buffer, and that nmr's Vitest config and test-tier check then dropped the list of git-ignored paths without reporting an error. (#1188)
33
- - Fixes the issue that `ensure-prepublish-hooks --fix` wrote `npm run build` as the default `prepublishOnly` hook, which fails at publish time in an nmr repo because its packages do not declare a `build` script, and makes `nmr build` the default. (#1192)
34
- <!-- /section:release-notes -->
7
+ <!-- section:release-notes --><!-- /section:release-notes -->
35
8
 
36
9
  ## Installation
37
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/nmr",
3
- "version": "0.56.0",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "description": "Context-aware script runner for pnpm monorepos",
6
6
  "keywords": [
@@ -83,7 +83,7 @@
83
83
  "@williamthorsen/nmr-core": "0.16.0",
84
84
  "@williamthorsen/toolbelt.errors": "0.9.0",
85
85
  "@williamthorsen/toolbelt.filesystem": "0.10.0",
86
- "glob": "14.0.3",
86
+ "glob": "14.0.4",
87
87
  "prettier": "3.9.10",
88
88
  "prettier-plugin-sh": "0.20.2",
89
89
  "taze": "21.3.0",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "devDependencies": {
93
93
  "@williamthorsen/toolbelt.testing": "0.8.0",
94
- "@williamthorsen/toolbelt.vitest": "0.13.1",
94
+ "@williamthorsen/toolbelt.vitest": "0.13.2",
95
95
  "esbuild": "0.28.2",
96
96
  "readyup": "0.45.0",
97
97
  "tinyglobby": "0.2.17",