@williamthorsen/nmr-core 0.9.0 → 0.9.2

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 CHANGED
@@ -4,17 +4,7 @@ Shared utilities for node-monorepo-tools packages.
4
4
 
5
5
  This package serves as the shared library foundation for the monorepo. For the nmr CLI tool, see [`@williamthorsen/nmr`](../nmr).
6
6
 
7
- <!-- section:release-notes -->
8
- ## Release notes — v0.9.0 (2026-08-03)
9
-
10
- ### 🎉 Features
11
-
12
- - Publish nmr's readyup kit with a test-tier conformance check (#580)
13
-
14
- `@williamthorsen/nmr` is now bundled with ReadyUp kits that check a repo's alignment with `nmr` requirements and recommendations.
15
-
16
- `rdy run --from npm:@williamthorsen/nmr` checks the repo against the kits without prior configuration. Once the package is added to the ReadyUp config, `rdy run --packages` will run the `nmr` kits along with those of any other registered package. Requires `readyup` v0.23 or greater.
17
- <!-- /section:release-notes -->
7
+ <!-- section:release-notes --><!-- /section:release-notes -->
18
8
 
19
9
  ## Installation
20
10
 
@@ -0,0 +1 @@
1
+ export declare const GIT_OUTPUT_LIMIT: number;
@@ -0,0 +1 @@
1
+ export const GIT_OUTPUT_LIMIT = 64 * 1_024 * 1_024;
@@ -2,8 +2,8 @@ import { spawnSync } from 'node:child_process';
2
2
  import { createHash } from 'node:crypto';
3
3
  import { existsSync, lstatSync, readFileSync, readlinkSync } from 'node:fs';
4
4
  import path from 'node:path';
5
+ import { GIT_OUTPUT_LIMIT } from "./gitOutputLimit.js";
5
6
  const HASH_FORMAT = 'nmr-working-tree-v1';
6
- const GIT_OUTPUT_LIMIT = 64 * 1024 * 1024;
7
7
  const PRECEDING_FIELD_COUNTS = {
8
8
  1: 8,
9
9
  2: 9,
@@ -2,6 +2,7 @@ export declare const PACKAGE_NAME = "@williamthorsen/nmr-core";
2
2
  export type { CacheDirRef, CacheEntryRef } from './cache-store.js';
3
3
  export { readCacheEntry, readJsonCacheEntry, removeCacheDir, resolveCacheDir, resolveCacheEntryPath, writeCacheEntry, } from './cache-store.js';
4
4
  export { findPackageRoot } from './findPackageRoot.js';
5
+ export { GIT_OUTPUT_LIMIT } from './gitOutputLimit.js';
5
6
  export type { WorkingTreeHashResult } from './hashWorkingTree.js';
6
7
  export { hashWorkingTree, readHeadSha } from './hashWorkingTree.js';
7
8
  export type { FlagDefinition, FlagSchema, ParseArgsOptions, ParsedArgs, ParsedFlags, ParseErrorKind, } from './parseArgs.js';
package/dist/esm/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export const PACKAGE_NAME = '@williamthorsen/nmr-core';
2
2
  export { readCacheEntry, readJsonCacheEntry, removeCacheDir, resolveCacheDir, resolveCacheEntryPath, writeCacheEntry, } from "./cache-store.js";
3
3
  export { findPackageRoot } from "./findPackageRoot.js";
4
+ export { GIT_OUTPUT_LIMIT } from "./gitOutputLimit.js";
4
5
  export { hashWorkingTree, readHeadSha } from "./hashWorkingTree.js";
5
6
  export { parseArgs, parseArgsOrExit, ParseError } from "./parseArgs.js";
6
7
  export { readPackageVersion } from "./readPackageVersion.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/nmr-core",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "private": false,
5
5
  "description": "Shared utilities for node-monorepo-tools packages",
6
6
  "keywords": [