@williamthorsen/nmr-core 0.9.0 → 0.9.1
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
|
@@ -5,15 +5,13 @@ Shared utilities for node-monorepo-tools packages.
|
|
|
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
7
|
<!-- section:release-notes -->
|
|
8
|
-
## Release notes — v0.9.
|
|
8
|
+
## Release notes — v0.9.1 (2026-08-04)
|
|
9
9
|
|
|
10
|
-
###
|
|
10
|
+
### 🐛 Bug fixes
|
|
11
11
|
|
|
12
|
-
-
|
|
12
|
+
- Remove the 1 MiB ceiling on captured git output (#596)
|
|
13
13
|
|
|
14
|
-
|
|
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.
|
|
14
|
+
Fixes an issue where `release-kit prepare` began aborting once a repository's release history grew long enough, leaving that repository unable to cut another release. The fix covers, in addition to `prepare`, every other release-kit command that reads from git.
|
|
17
15
|
<!-- /section:release-notes -->
|
|
18
16
|
|
|
19
17
|
## Installation
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GIT_OUTPUT_LIMIT: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const GIT_OUTPUT_LIMIT = 64 * 1024 * 1024;
|
|
@@ -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,
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -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";
|