paperlint 20.9.0 → 20.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paperlint",
3
- "version": "20.9.0",
3
+ "version": "20.9.1",
4
4
  "description": "Skills and hooks for writing a research paper with paperlint",
5
5
  "skills": "./skills/",
6
6
  "hooks": "./plugin/hooks/hooks.json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paperlint",
3
- "version": "20.9.0",
3
+ "version": "20.9.1",
4
4
  "description": "A linter for scientific papers written in LaTeX: catches mistakes before you submit to a conference or journal.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -171,6 +171,7 @@ test("--changed: vitest runs only the unit tests the branch affects, on the SOUR
171
171
  "--coverage.provider=v8",
172
172
  "--coverage.reporter=text",
173
173
  "--coverage.skipFull",
174
+ "--coverage.reportOnFailure",
174
175
  ],
175
176
  nodeOptions: "--conditions=paperlint-source",
176
177
  },
package/scripts/test.ts CHANGED
@@ -84,6 +84,9 @@ function shardOf(arg: string): Shard | null {
84
84
  * a threshold would turn a sound branch red. The gate stays CI's `coverage` job. It costs ~30 s
85
85
  * (166 s against 135 s on 207 test files, measured 2026-11-09), and it shows a missed branch before
86
86
  * CI does: twice on 2026-11-08 a full run failed on a branch this report names in seconds.
87
+ * `reportOnFailure`: vitest prints no coverage at all when any test fails, so one test that fails
88
+ * for the container alone (2026-11-25: `crop_quote` without PyMuPDF) hid the whole report, and the
89
+ * gaps it would have named reached CI (#690).
87
90
  */
88
91
  const CHANGED = "--changed";
89
92
  const CHANGED_VITEST = [
@@ -93,6 +96,7 @@ const CHANGED_VITEST = [
93
96
  "--coverage.provider=v8",
94
97
  "--coverage.reporter=text",
95
98
  "--coverage.skipFull",
99
+ "--coverage.reportOnFailure",
96
100
  ] as const;
97
101
 
98
102
  /** What the arguments say: the shard, `--changed` and the harness runner's own, or the argument that is no shard. */