@geonosis/doctor 2.11.0 → 2.11.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @geonosis/doctor
2
2
 
3
+ ## 2.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 08611c4: Every child whose output a tool captures is read whole, where Node's default silently cut it at 1 MiB and killed the child.
8
+
9
+ - **Real bug:** a gate step printing more than 1 MiB read as failed to `geonosis-verify`.
10
+ - **At risk:** the smoke's `pnpm pack --json`, `discover`'s oxlint run, and the git, squawk and oxfmt reads could hit the same cap.
11
+
12
+ `--require-work` also counts a file that a test runs through a helper naming its bin, not only through the test itself.
13
+ - @geonosis/lint-parity@2.11.1
14
+
3
15
  ## 2.11.0
4
16
 
5
17
  ### Minor Changes
@@ -190,7 +190,7 @@ var readRatchet = (root) => {
190
190
  import { spawnSync } from "child_process";
191
191
  var DEFAULT_REF = "origin/main";
192
192
  var git = (root, args) => {
193
- const run = spawnSync("git", args, { cwd: root, encoding: "utf8" });
193
+ const run = spawnSync("git", args, { maxBuffer: Infinity, cwd: root, encoding: "utf8" });
194
194
  return { code: run.status ?? -1, stdout: run.stdout ?? "" };
195
195
  };
196
196
  var defaultRef = (root) => git(root, ["rev-parse", "--verify", "--quiet", DEFAULT_REF]).code === 0 ? DEFAULT_REF : void 0;
@@ -3070,7 +3070,11 @@ var checkFormatter = ({ root }) => {
3070
3070
  return [finding11(KIT_RULES, "SKIP", "this repo has no oxfmt, the formatter the kit speaks for")];
3071
3071
  }
3072
3072
  const files = readdirSync6(join17(root, KIT_RULES)).filter((name) => name.endsWith(".md")).map((name) => join17(KIT_RULES, name));
3073
- const run = spawnSync3(oxfmt, ["--list-different", ...files], { cwd: root, encoding: "utf8" });
3073
+ const run = spawnSync3(oxfmt, ["--list-different", ...files], {
3074
+ maxBuffer: Infinity,
3075
+ cwd: root,
3076
+ encoding: "utf8"
3077
+ });
3074
3078
  const named2 = run.stdout.split("\n").filter((line) => files.includes(line.trim()));
3075
3079
  if (run.status === ALL_PATHS_IGNORED && run.stderr.includes("excluded by ignore rules")) {
3076
3080
  return [finding11(KIT_RULES, "OK", "oxfmt leaves the kit\u2019s rule files alone")];
@@ -4,7 +4,7 @@ import {
4
4
  formatDoctor,
5
5
  formatJson,
6
6
  runDoctor
7
- } from "./chunk-2VHAFVWH.js";
7
+ } from "./chunk-VWMNCBDP.js";
8
8
 
9
9
  // src/doctor-cli.ts
10
10
  import { fstatSync, statSync } from "fs";
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ import {
55
55
  resolveFrom,
56
56
  runDoctor,
57
57
  satisfies
58
- } from "./chunk-2VHAFVWH.js";
58
+ } from "./chunk-VWMNCBDP.js";
59
59
  export {
60
60
  APPARATUS_KEY,
61
61
  CHECKS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geonosis/doctor",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "types": "./dist/index.d.ts",
5
5
  "description": "The adoption doctor — declared ≠ loaded, enabled ≠ exercised, a baseline that grew, a runner whose exit code is the only verdict.",
6
6
  "keywords": [
@@ -36,10 +36,10 @@
36
36
  "dist"
37
37
  ],
38
38
  "dependencies": {
39
- "@geonosis/lint-parity": "2.11.0"
39
+ "@geonosis/lint-parity": "2.11.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@geonosis/ratchet": "2.11.0"
42
+ "@geonosis/ratchet": "2.11.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "oxlint": ">=1.77"