@geonosis/doctor 2.11.0 → 2.12.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.
- package/CHANGELOG.md +18 -0
- package/dist/{chunk-2VHAFVWH.js → chunk-VWMNCBDP.js} +6 -2
- package/dist/doctor-cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @geonosis/doctor
|
|
2
2
|
|
|
3
|
+
## 2.12.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @geonosis/lint-parity@2.12.0
|
|
8
|
+
|
|
9
|
+
## 2.11.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 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.
|
|
14
|
+
|
|
15
|
+
- **Real bug:** a gate step printing more than 1 MiB read as failed to `geonosis-verify`.
|
|
16
|
+
- **At risk:** the smoke's `pnpm pack --json`, `discover`'s oxlint run, and the git, squawk and oxfmt reads could hit the same cap.
|
|
17
|
+
|
|
18
|
+
`--require-work` also counts a file that a test runs through a helper naming its bin, not only through the test itself.
|
|
19
|
+
- @geonosis/lint-parity@2.11.1
|
|
20
|
+
|
|
3
21
|
## 2.11.0
|
|
4
22
|
|
|
5
23
|
### 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], {
|
|
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")];
|
package/dist/doctor-cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geonosis/doctor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
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.
|
|
39
|
+
"@geonosis/lint-parity": "2.12.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@geonosis/ratchet": "2.
|
|
42
|
+
"@geonosis/ratchet": "2.12.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"oxlint": ">=1.77"
|