@vernikr/size-report 2.8.4 → 2.8.5
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 +24 -1164
- package/package.json +2 -2
- package/src/refusal.js +3 -3
- package/templates/README.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vernikr/size-report",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.5",
|
|
4
4
|
"author": "vernikr",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"report"
|
|
66
66
|
],
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@vernikr/size-report": "2.8.
|
|
68
|
+
"@vernikr/size-report": "2.8.4",
|
|
69
69
|
"c8": "10",
|
|
70
70
|
"dependency-cruiser": "17",
|
|
71
71
|
"eslint": "^9.18.0",
|
package/src/refusal.js
CHANGED
|
@@ -28,8 +28,8 @@ export function refuse(code, message) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/* The causes of a code-2 refusal in one list, and this is the only place where they are
|
|
31
|
-
* spelled out: the help prints them from it, the code table in `
|
|
32
|
-
* against it (`test/docs-commands.test.js`), and `refuseCause` lets no refusal through
|
|
31
|
+
* spelled out: the help prints them from it, the code table in `docs/archive/README_old.md` is
|
|
32
|
+
* checked against it (`test/docs-commands.test.js`), and `refuseCause` lets no refusal through
|
|
33
33
|
* without a named cause. So "the documentation says less than happens" cannot pass here
|
|
34
34
|
* silently. The groups say where a cause comes from: the command line, settings and the
|
|
35
35
|
* project, history, the hook, measurement. */
|
|
@@ -133,5 +133,5 @@ export const USAGE = [
|
|
|
133
133
|
'internal error. doctor has an order of its own: 2, 3, 1, 4 — by the weight of a finding',
|
|
134
134
|
'rather than by what came first.',
|
|
135
135
|
'',
|
|
136
|
-
'Causes of a code-2 refusal
|
|
136
|
+
'Causes of a code-2 refusal:'
|
|
137
137
|
].concat(CAUSE_LINES, ['']).join('\n');
|
package/templates/README.md
CHANGED
|
@@ -83,5 +83,5 @@ well. About a single commit `pnpm exec size explain <sha>` answers.
|
|
|
83
83
|
|
|
84
84
|
A block for the project's own agent files (`AGENTS.md` and the like) is deliberately absent here: the
|
|
85
85
|
requirements do not ask for such a file, and inventing the format of someone else's repository is not
|
|
86
|
-
something the tool should do. What an agent needs to know it will take from `size --help` and
|
|
87
|
-
the commands and the data are described
|
|
86
|
+
something the tool should do. What an agent needs to know it will take from `size --help` and
|
|
87
|
+
`size --data` — the commands and the data are described there rather than in a file of the tool's own.
|