@bymaksym/loadline 0.1.0 → 1.1.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/README.md +272 -45
- package/dist/cli/cli/args.js +97 -116
- package/dist/cli/cli/gates.js +80 -14
- package/dist/cli/cli/main.js +275 -31
- package/dist/cli/cli/memory.js +114 -0
- package/dist/cli/cli/read/declared.js +52 -0
- package/dist/cli/cli/read/locate.js +214 -0
- package/dist/cli/cli/{read-build.js → read/read-build.js} +156 -87
- package/dist/cli/cli/read/read-config.js +120 -0
- package/dist/cli/cli/render/html-report.js +111 -0
- package/dist/cli/cli/render/render-agent.js +114 -0
- package/dist/cli/cli/render/render-asked.js +104 -0
- package/dist/cli/cli/render/render-badge.js +140 -0
- package/dist/cli/cli/{render-json.js → render/render-json.js} +26 -10
- package/dist/cli/cli/{render-markdown.js → render/render-markdown.js} +6 -6
- package/dist/cli/cli/{render-pr.js → render/render-pr.js} +37 -15
- package/dist/cli/cli/{render-sarif.js → render/render-sarif.js} +11 -6
- package/dist/cli/cli/{render-text.js → render/render-text.js} +169 -127
- package/dist/cli/cli/render/terminal.js +55 -0
- package/dist/cli/cli/report.js +76 -29
- package/dist/cli/cli/self-check.js +19 -23
- package/dist/cli/cli/since-last.js +45 -0
- package/dist/cli/cli/text/text-errors.js +124 -0
- package/dist/cli/cli/text/text.js +343 -0
- package/dist/cli/cli/text/usage.js +240 -0
- package/dist/cli/src/app/core/analysis/analysis.js +68 -24
- package/dist/cli/src/app/core/analysis/{barrels.js → graph/barrels.js} +10 -3
- package/dist/cli/src/app/core/analysis/{blast.js → graph/blast.js} +56 -17
- package/dist/cli/src/app/core/analysis/{cycles.js → graph/cycles.js} +1 -1
- package/dist/cli/src/app/core/analysis/{importers.js → graph/importers.js} +1 -1
- package/dist/cli/src/app/core/analysis/{insights.js → graph/insights.js} +10 -4
- package/dist/cli/src/app/core/analysis/invariant.js +1 -1
- package/dist/cli/src/app/core/analysis/metafile.types.js +21 -7
- package/dist/cli/src/app/core/analysis/{delivery.js → screens/delivery.js} +1 -1
- package/dist/cli/src/app/core/analysis/{entries.js → screens/entries.js} +87 -11
- package/dist/cli/src/app/core/analysis/screens/marks.js +32 -0
- package/dist/cli/src/app/core/analysis/screens/route-files.js +116 -0
- package/dist/cli/src/app/core/analysis/{sourcemap.js → sourcemap/sourcemap.js} +106 -7
- package/dist/cli/src/app/core/analysis/{split-drift.js → sourcemap/split-drift.js} +13 -7
- package/dist/cli/src/app/core/analysis/tool.js +83 -0
- package/dist/cli/src/app/core/assets/assets.js +137 -16
- package/dist/cli/src/app/core/baseline/baseline.js +0 -0
- package/dist/cli/src/app/core/{intake → build-text}/index-html.js +234 -29
- package/dist/cli/src/app/core/build-text/route-table.js +178 -0
- package/dist/cli/src/app/core/build-text/tool-marks.js +54 -0
- package/dist/cli/src/app/core/caching/caching.js +123 -45
- package/dist/cli/src/app/core/caching/from-analysis.js +20 -4
- package/dist/cli/src/app/core/config/config-text.js +90 -0
- package/dist/cli/src/app/core/config/config-values.js +358 -0
- package/dist/cli/src/app/core/config/loadline-config.js +81 -16
- package/dist/cli/src/app/core/config/merge-config.js +98 -0
- package/dist/cli/src/app/core/deps/deps.js +141 -23
- package/dist/cli/src/app/core/deps/pins.js +63 -0
- package/dist/cli/src/app/core/export/summary.js +54 -12
- package/dist/cli/src/app/core/findings/actions.js +65 -6
- package/dist/cli/src/app/core/findings/bundle/boot-single.js +76 -0
- package/dist/cli/src/app/core/findings/bundle/dupes.js +68 -0
- package/dist/cli/src/app/core/findings/{graph.js → bundle/graph.js} +32 -20
- package/dist/cli/src/app/core/findings/{own-in-boot.js → bundle/own-in-boot.js} +9 -5
- package/dist/cli/src/app/core/findings/{requests.js → bundle/requests.js} +3 -3
- package/dist/cli/src/app/core/findings/{shipped.js → bundle/shipped.js} +30 -18
- package/dist/cli/src/app/core/findings/compose.js +6 -1
- package/dist/cli/src/app/core/findings/effort.js +4 -0
- package/dist/cli/src/app/core/findings/finding.types.js +2 -0
- package/dist/cli/src/app/core/findings/findings.js +68 -55
- package/dist/cli/src/app/core/findings/{assets.js → folder/assets.js} +65 -16
- package/dist/cli/src/app/core/findings/{caching.js → folder/caching.js} +17 -10
- package/dist/cli/src/app/core/findings/{page.js → folder/page.js} +6 -2
- package/dist/cli/src/app/core/findings/{scan.js → folder/scan.js} +37 -13
- package/dist/cli/src/app/core/findings/kind-names.js +163 -0
- package/dist/cli/src/app/core/findings/{deps.js → supplied/deps.js} +13 -8
- package/dist/cli/src/app/core/findings/supplied/forbidden.js +71 -0
- package/dist/cli/src/app/core/findings/{situation.js → supplied/situation.js} +2 -2
- package/dist/cli/src/app/core/findings/text/causes.js +39 -0
- package/dist/cli/src/app/core/findings/text/finding-html.js +33 -0
- package/dist/cli/src/app/core/findings/{finding-text.js → text/finding-text.js} +307 -103
- package/dist/cli/src/app/core/findings/text/tool-advice.js +97 -0
- package/dist/cli/src/app/core/format/format.utils.js +172 -18
- package/dist/cli/src/app/core/format/ownership.js +93 -0
- package/dist/cli/src/app/core/i18n/en.js +180 -61
- package/dist/cli/src/app/core/i18n/es.js +192 -68
- package/dist/cli/src/app/core/intake/bundle-graph.js +285 -46
- package/dist/cli/src/app/core/intake/dist-files.js +87 -16
- package/dist/cli/src/app/core/intake/embedded.js +56 -0
- package/dist/cli/src/app/core/intake/unreached.js +139 -0
- package/dist/cli/src/app/core/intake/webpack-modules.js +185 -0
- package/dist/cli/src/app/core/intake/webpack-stats.js +298 -0
- package/dist/cli/src/app/core/project/budget-advice.js +14 -10
- package/dist/cli/src/app/core/project/project-context.js +89 -19
- package/dist/cli/src/app/core/project/project-name.js +36 -0
- package/dist/cli/src/app/core/scan/scan.js +116 -39
- package/dist/cli/src/app/core/scan/secrets.js +0 -0
- package/dist/cli/src/app/core/situation/situation-text.js +23 -0
- package/dist/cli/src/app/core/situation/situation.js +9 -8
- package/dist/cli/src/app/core/timing/timing.js +5 -2
- package/dist/cli/src/app/core/whatif/defer.js +29 -4
- package/dist/cli/src/app/core/whatif/source-importers.js +58 -0
- package/dist/cli/src/app/core/whatif/why.js +102 -0
- package/dist/cli/src/app/state/report-messages.utils.js +1 -4
- package/docs/CONFIG-REFERENCE.md +230 -0
- package/docs/CONFIG.md +511 -0
- package/docs/HOW-IT-WORKS.md +286 -25
- package/loadline.html +26 -24
- package/loadline.schema.json +1209 -0
- package/package.json +71 -35
- package/dist/cli/cli/text.js +0 -180
- package/dist/cli/src/app/core/findings/finding-html.js +0 -13
- /package/dist/cli/cli/{read-build.types.js → read/read-build.types.js} +0 -0
- /package/dist/cli/cli/{render-json.types.js → render/render-json.types.js} +0 -0
- /package/dist/cli/cli/{text.types.js → text/text.types.js} +0 -0
- /package/dist/cli/src/app/core/analysis/{exclusive.js → graph/exclusive.js} +0 -0
- /package/dist/cli/src/app/core/analysis/{insights.types.js → graph/insights.types.js} +0 -0
- /package/dist/cli/src/app/core/analysis/{module-graph.js → graph/module-graph.js} +0 -0
- /package/dist/cli/src/app/core/analysis/{sourcemap.types.js → sourcemap/sourcemap.types.js} +0 -0
- /package/dist/cli/src/app/core/findings/{finding-plain.js → text/finding-plain.js} +0 -0
|
@@ -0,0 +1,1209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://unpkg.com/@bymaksym/loadline/loadline.schema.json",
|
|
4
|
+
"title": "loadline.json",
|
|
5
|
+
"description": "Loadline configuration: thresholds, gates and accepted signals, committed next to the code so the page and the command judge the build the same way. Read from the working directory, or from --config <file>. Guide: https://github.com/bymaksym/LoadLine/blob/main/docs/CONFIG.md",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"tool",
|
|
9
|
+
"version"
|
|
10
|
+
],
|
|
11
|
+
"additionalProperties": false,
|
|
12
|
+
"properties": {
|
|
13
|
+
"$schema": {
|
|
14
|
+
"description": "Where your editor finds this schema.",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"tool": {
|
|
18
|
+
"description": "Always \"loadline\": it tells this file apart from any other JSON.",
|
|
19
|
+
"const": "loadline"
|
|
20
|
+
},
|
|
21
|
+
"version": {
|
|
22
|
+
"description": "Always 1.",
|
|
23
|
+
"const": 1
|
|
24
|
+
},
|
|
25
|
+
"extends": {
|
|
26
|
+
"description": "Other loadline.json files this one builds on: a path (\"./base.loadline.json\") or a package (\"@acme/loadline-config\", which reads its loadline.json), from the folder of this file. Objects join key by key, lists add up, and this file wins. \"situation\" is not inherited. The command follows it; the page cannot, and says so. `loadline --print-config` shows the result.",
|
|
27
|
+
"anyOf": [
|
|
28
|
+
{
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1
|
|
37
|
+
},
|
|
38
|
+
"minItems": 1
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"examples": [
|
|
42
|
+
"@acme/loadline-config",
|
|
43
|
+
"./base.loadline.json"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"mode": {
|
|
47
|
+
"description": "The unit the sizes in \"criteria\" are written in. A gzip threshold checked against raw bytes is not the same threshold.",
|
|
48
|
+
"enum": [
|
|
49
|
+
"gzip",
|
|
50
|
+
"brotli",
|
|
51
|
+
"raw"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"criteria": {
|
|
55
|
+
"description": "Thresholds that colour the figures and decide when a signal fires. They never fail a build — gates do. Anything left out keeps its recommended value. Every rated figure has two: up to the first (…Ok) it is good, up to the second (…Bad) fair, above that bad.",
|
|
56
|
+
"type": "object",
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"properties": {
|
|
59
|
+
"bootOk": {
|
|
60
|
+
"description": "Bootstrap (declared and effective): good up to this. What downloads before anything is painted. It weighs most on the time until the app responds. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"170kB\" in gzip, \"145kB\" in brotli, \"500kB\" raw.",
|
|
61
|
+
"anyOf": [
|
|
62
|
+
{
|
|
63
|
+
"type": "string",
|
|
64
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "number",
|
|
68
|
+
"minimum": 1000,
|
|
69
|
+
"description": "Bytes."
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"bootBad": {
|
|
74
|
+
"description": "Bootstrap: bad above this. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"350kB\" in gzip, \"300kB\" in brotli, \"1MB\" raw.",
|
|
75
|
+
"anyOf": [
|
|
76
|
+
{
|
|
77
|
+
"type": "string",
|
|
78
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "number",
|
|
82
|
+
"minimum": 1000,
|
|
83
|
+
"description": "Bytes."
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"screenOk": {
|
|
88
|
+
"description": "Total per screen: good up to this. Bootstrap + shared + own: what someone landing directly on a screen downloads. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"300kB\" in gzip, \"255kB\" in brotli, \"1MB\" raw.",
|
|
89
|
+
"anyOf": [
|
|
90
|
+
{
|
|
91
|
+
"type": "string",
|
|
92
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "number",
|
|
96
|
+
"minimum": 1000,
|
|
97
|
+
"description": "Bytes."
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"screenBad": {
|
|
102
|
+
"description": "Total per screen: bad above this. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"600kB\" in gzip, \"510kB\" in brotli, \"2MB\" raw.",
|
|
103
|
+
"anyOf": [
|
|
104
|
+
{
|
|
105
|
+
"type": "string",
|
|
106
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "number",
|
|
110
|
+
"minimum": 1000,
|
|
111
|
+
"description": "Bytes."
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"ownOk": {
|
|
116
|
+
"description": "A screen’s own code: good up to this. Chunks only that screen loads. Above this it is usually a heavy library that deserves a lazy block. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"50kB\" in gzip, \"42kB\" in brotli, \"150kB\" raw.",
|
|
117
|
+
"anyOf": [
|
|
118
|
+
{
|
|
119
|
+
"type": "string",
|
|
120
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "number",
|
|
124
|
+
"minimum": 1000,
|
|
125
|
+
"description": "Bytes."
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"ownBad": {
|
|
130
|
+
"description": "A screen’s own code: bad above this. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"150kB\" in gzip, \"128kB\" in brotli, \"450kB\" raw.",
|
|
131
|
+
"anyOf": [
|
|
132
|
+
{
|
|
133
|
+
"type": "string",
|
|
134
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "number",
|
|
138
|
+
"minimum": 1000,
|
|
139
|
+
"description": "Bytes."
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"sharedRatio": {
|
|
144
|
+
"description": "Coverage to count as effective bootstrap. If at least this share of screens loads a lazy chunk, it downloads on practically every visit and is added to the effective bootstrap. A share: \"25%\", or the fraction 0.25. Recommended: \"60%\".",
|
|
145
|
+
"anyOf": [
|
|
146
|
+
{
|
|
147
|
+
"type": "string",
|
|
148
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"type": "number",
|
|
152
|
+
"minimum": 0,
|
|
153
|
+
"maximum": 1
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"wideRatio": {
|
|
158
|
+
"description": "Coverage for “widely shared”. Below the previous threshold but above this one, the chunk is labelled widely shared. A share: \"25%\", or the fraction 0.25. Recommended: \"30%\".",
|
|
159
|
+
"anyOf": [
|
|
160
|
+
{
|
|
161
|
+
"type": "string",
|
|
162
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "number",
|
|
166
|
+
"minimum": 0,
|
|
167
|
+
"maximum": 1
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"sharedMinBytes": {
|
|
172
|
+
"description": "Minimum size of a near-global chunk to be a signal. A near-global chunk smaller than this raises no signal: the difference would fall within the variation between two builds. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"17kB\" in gzip, \"14kB\" in brotli, \"50kB\" raw.",
|
|
173
|
+
"anyOf": [
|
|
174
|
+
{
|
|
175
|
+
"type": "string",
|
|
176
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"type": "number",
|
|
180
|
+
"minimum": 1000,
|
|
181
|
+
"description": "Bytes."
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"dominantRatio": {
|
|
186
|
+
"description": "Share of a chunk that makes it “that thing, basically”. When one package or folder is at least this much of a shared chunk, the chunk is described as that thing and the advice points at it. A share: \"25%\", or the fraction 0.25. Recommended: \"50%\".",
|
|
187
|
+
"anyOf": [
|
|
188
|
+
{
|
|
189
|
+
"type": "string",
|
|
190
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"type": "number",
|
|
194
|
+
"minimum": 0,
|
|
195
|
+
"maximum": 1
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
"bootPackageMinBytes": {
|
|
200
|
+
"description": "Minimum size of a bootstrap package to be a signal. Bootstrap packages smaller than this are not examined for the “bootstrap for a lazy screen” signal. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"25kB\".",
|
|
201
|
+
"anyOf": [
|
|
202
|
+
{
|
|
203
|
+
"type": "string",
|
|
204
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "number",
|
|
208
|
+
"minimum": 1000,
|
|
209
|
+
"description": "Bytes."
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"bootPackageMaxImporters": {
|
|
214
|
+
"description": "Maximum importing files to count as “single screen”. If more of your files than this import the package, it works as shared groundwork and is not flagged. A number of importing files. Recommended: 4.",
|
|
215
|
+
"type": "number",
|
|
216
|
+
"minimum": 0
|
|
217
|
+
},
|
|
218
|
+
"ownFolderMinBytes": {
|
|
219
|
+
"description": "Minimum weight of your folders held in the bootstrap. Folders of yours held in the bootstrap by a lazy screen, added up. Below this the coupling is real but not worth a line. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"12kB\".",
|
|
220
|
+
"anyOf": [
|
|
221
|
+
{
|
|
222
|
+
"type": "string",
|
|
223
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "number",
|
|
227
|
+
"minimum": 1000,
|
|
228
|
+
"description": "Bytes."
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"bigOwnFileBytes": {
|
|
233
|
+
"description": "From this size, an own file in the bootstrap is named. A file of yours inside the bootstrap above this size is listed one by one. It is usually a table of constants that comes in whole. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"20kB\".",
|
|
234
|
+
"anyOf": [
|
|
235
|
+
{
|
|
236
|
+
"type": "string",
|
|
237
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "number",
|
|
241
|
+
"minimum": 1000,
|
|
242
|
+
"description": "Bytes."
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"heavyScreenFactor": {
|
|
247
|
+
"description": "Expensive screen: times the median own code. A screen is expensive if its own code is this many times the median of all screens… A factor: 3 means three times. Recommended: 6.",
|
|
248
|
+
"type": "number",
|
|
249
|
+
"minimum": 0
|
|
250
|
+
},
|
|
251
|
+
"heavyScreenMinBytes": {
|
|
252
|
+
"description": "Expensive screen: minimum own code. …and also exceeds this size. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"34kB\" in gzip, \"29kB\" in brotli, \"100kB\" raw.",
|
|
253
|
+
"anyOf": [
|
|
254
|
+
{
|
|
255
|
+
"type": "string",
|
|
256
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "number",
|
|
260
|
+
"minimum": 1000,
|
|
261
|
+
"description": "Bytes."
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"heavyScreenMinScreens": {
|
|
266
|
+
"description": "Screens needed before comparing against the median. With fewer screens than this there is no meaningful median own code, so no screen is called expensive. A number of screens. Recommended: 4.",
|
|
267
|
+
"type": "number",
|
|
268
|
+
"minimum": 0
|
|
269
|
+
},
|
|
270
|
+
"screenFilesMax": {
|
|
271
|
+
"description": "Files per screen from which the split is worth a look. How many files a screen needs before the split is worth looking at. It is context rather than a gate: under multiplexing a count cannot separate sixty well-sized files from sixty crumbs, and what does separate them is the granularity threshold below. It costs real seconds under HTTP/1.1, and a pasted measurement is what says whether that is happening. A number of files. Recommended: 30.",
|
|
272
|
+
"type": "number",
|
|
273
|
+
"minimum": 0
|
|
274
|
+
},
|
|
275
|
+
"screenWavesMax": {
|
|
276
|
+
"description": "Round trips a screen takes before it is worth a line. How many sequential round trips a screen takes before it is worth a line. The one threshold here with a first principle behind it: every round trip is at least one latency, no compression touches it, and multiplexing does not either — what limits it is sequential discovery, not transport. So it holds the same under HTTP/1.1, HTTP/2 and HTTP/3, and the figure to read is this number times your latency. A number of round trips. Recommended: 3.",
|
|
277
|
+
"type": "number",
|
|
278
|
+
"minimum": 0
|
|
279
|
+
},
|
|
280
|
+
"tinyChunkBytes": {
|
|
281
|
+
"description": "Under this, a file is mostly the cost of asking for it. Headers, a cache entry and the module wrapper are comparable to the content below this size. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"1kB\" in gzip, \"1kB\" in brotli, \"3kB\" raw.",
|
|
282
|
+
"anyOf": [
|
|
283
|
+
{
|
|
284
|
+
"type": "string",
|
|
285
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "number",
|
|
289
|
+
"minimum": 1000,
|
|
290
|
+
"description": "Bytes."
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
"minTinyChunks": {
|
|
295
|
+
"description": "How many of those have to arrive together. A handful of tiny files arriving together is the shape of a split that went further than it helps. Two or three mean nothing. A number of chunks. Recommended: 5.",
|
|
296
|
+
"type": "number",
|
|
297
|
+
"minimum": 0
|
|
298
|
+
},
|
|
299
|
+
"minLocales": {
|
|
300
|
+
"description": "Languages of a library before it counts as “all of them”. Below this many language files, the library was not shipped whole: it is the one or two somebody registered. A number of languages. Recommended: 3.",
|
|
301
|
+
"type": "number",
|
|
302
|
+
"minimum": 0
|
|
303
|
+
},
|
|
304
|
+
"shippedMinBytes": {
|
|
305
|
+
"description": "Minimum weight for what ships without being screen code. Languages of a library and data embedded as code are only reported from this weight up. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"10kB\".",
|
|
306
|
+
"anyOf": [
|
|
307
|
+
{
|
|
308
|
+
"type": "string",
|
|
309
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "number",
|
|
313
|
+
"minimum": 1000,
|
|
314
|
+
"description": "Bytes."
|
|
315
|
+
}
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
"barrelMinBytes": {
|
|
319
|
+
"description": "Exclusive weight from which a barrel file is a signal. Exclusive, not total: a barrel in front of code that also arrives through five other imports costs nothing, and only what has no other way in is counted here. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"20kB\".",
|
|
320
|
+
"anyOf": [
|
|
321
|
+
{
|
|
322
|
+
"type": "string",
|
|
323
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"type": "number",
|
|
327
|
+
"minimum": 1000,
|
|
328
|
+
"description": "Bytes."
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
"paidTwiceMinBytes": {
|
|
333
|
+
"description": "From this size, a module in two chunks is named. The same module copied into two chunks. One copy was going to be downloaded anyway; this weighs the rest. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"10kB\".",
|
|
334
|
+
"anyOf": [
|
|
335
|
+
{
|
|
336
|
+
"type": "string",
|
|
337
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "number",
|
|
341
|
+
"minimum": 1000,
|
|
342
|
+
"description": "Bytes."
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
"crumbMaxBytes": {
|
|
347
|
+
"description": "Under this a chunk is a crumb. Chunks under this are counted apart in the Tree tab and in each screen’s shape. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"5kB\" in gzip, \"5kB\" in brotli, \"15kB\" raw.",
|
|
348
|
+
"anyOf": [
|
|
349
|
+
{
|
|
350
|
+
"type": "string",
|
|
351
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"type": "number",
|
|
355
|
+
"minimum": 1000,
|
|
356
|
+
"description": "Bytes."
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"manyCrumbs": {
|
|
361
|
+
"description": "Crumbs in a zone before it is a pattern. Fewer crumbs than this in one zone is not a pattern, it is two files. A number of chunks. Recommended: 3.",
|
|
362
|
+
"type": "number",
|
|
363
|
+
"minimum": 0
|
|
364
|
+
},
|
|
365
|
+
"concentratedRatio": {
|
|
366
|
+
"description": "Share of a zone in one chunk that makes the zone that chunk. When the largest chunk of a zone is at least this much of it, the zone is really that chunk and the tab says so. A share: \"25%\", or the fraction 0.25. Recommended: \"60%\".",
|
|
367
|
+
"anyOf": [
|
|
368
|
+
{
|
|
369
|
+
"type": "string",
|
|
370
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"type": "number",
|
|
374
|
+
"minimum": 0,
|
|
375
|
+
"maximum": 1
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
"heavyInZoneRatio": {
|
|
380
|
+
"description": "Share of its zone from which a row is marked. A chunk holding at least this much of its zone is marked as where that weight is. A share: \"25%\", or the fraction 0.25. Recommended: \"25%\".",
|
|
381
|
+
"anyOf": [
|
|
382
|
+
{
|
|
383
|
+
"type": "string",
|
|
384
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"type": "number",
|
|
388
|
+
"minimum": 0,
|
|
389
|
+
"maximum": 1
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"heavyShareRatio": {
|
|
394
|
+
"description": "Share of a download that counts as “most of it”. How much of a download the largest files have to cover before they are described as most of it. A share: \"25%\", or the fraction 0.25. Recommended: \"80%\".",
|
|
395
|
+
"anyOf": [
|
|
396
|
+
{
|
|
397
|
+
"type": "string",
|
|
398
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"type": "number",
|
|
402
|
+
"minimum": 0,
|
|
403
|
+
"maximum": 1
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
|
+
},
|
|
407
|
+
"grouperMaxBytes": {
|
|
408
|
+
"description": "What a file that only groups routes may weigh. A file that only lists routes compiles to paths and arrow functions. Above this it carries something of its own and counts as a screen. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"1kB\".",
|
|
409
|
+
"anyOf": [
|
|
410
|
+
{
|
|
411
|
+
"type": "string",
|
|
412
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"type": "number",
|
|
416
|
+
"minimum": 1000,
|
|
417
|
+
"description": "Bytes."
|
|
418
|
+
}
|
|
419
|
+
]
|
|
420
|
+
},
|
|
421
|
+
"growthRatio": {
|
|
422
|
+
"description": "Growth since the baseline to be a signal. With a baseline loaded, the bootstrap or a screen has grown if it is up by at least this share… A share: \"25%\", or the fraction 0.25. Recommended: \"10%\".",
|
|
423
|
+
"anyOf": [
|
|
424
|
+
{
|
|
425
|
+
"type": "string",
|
|
426
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"type": "number",
|
|
430
|
+
"minimum": 0,
|
|
431
|
+
"maximum": 1
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
"growthMinBytes": {
|
|
436
|
+
"description": "Minimum growth in size to be a signal. …and by at least this size, so a 2 kB screen doubling does not fire. A size: \"170kB\", \"1.5MB\", or bytes. Recommended: \"3kB\" in gzip, \"3kB\" in brotli, \"10kB\" raw.",
|
|
437
|
+
"anyOf": [
|
|
438
|
+
{
|
|
439
|
+
"type": "string",
|
|
440
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"type": "number",
|
|
444
|
+
"minimum": 1000,
|
|
445
|
+
"description": "Bytes."
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
"sharedGrowthTolerance": {
|
|
450
|
+
"description": "How alike two screens grow to blame one shared chunk. Screens growing within this much of each other are read as one shared chunk growing under all of them, instead of as many separate screens. A share: \"25%\", or the fraction 0.25. Recommended: \"15%\".",
|
|
451
|
+
"anyOf": [
|
|
452
|
+
{
|
|
453
|
+
"type": "string",
|
|
454
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"type": "number",
|
|
458
|
+
"minimum": 0,
|
|
459
|
+
"maximum": 1
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
"sharedGrowthMinScreens": {
|
|
464
|
+
"description": "Screens growing alike before it is a shared chunk. Fewer screens than this growing alike is a coincidence, not a shared chunk. A number of screens. Recommended: 3.",
|
|
465
|
+
"type": "number",
|
|
466
|
+
"minimum": 0
|
|
467
|
+
},
|
|
468
|
+
"budgetSlackFactor": {
|
|
469
|
+
"description": "Budget too high: times the current bootstrap. An error budget in angular.json this many times the current (raw) bootstrap is flagged as unreachable. A factor: 3 means three times. Recommended: 2.",
|
|
470
|
+
"type": "number",
|
|
471
|
+
"minimum": 0
|
|
472
|
+
},
|
|
473
|
+
"theirsRatio": {
|
|
474
|
+
"description": "Share of the first load that can be somebody else’s code. Above this share, the report says how much of the first load nobody here wrote. It is never a fault on its own — a framework is somebody else’s code too — so what it raises is context, not a problem. A share: \"25%\", or the fraction 0.25. Recommended: \"70%\".",
|
|
475
|
+
"anyOf": [
|
|
476
|
+
{
|
|
477
|
+
"type": "string",
|
|
478
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"type": "number",
|
|
482
|
+
"minimum": 0,
|
|
483
|
+
"maximum": 1
|
|
484
|
+
}
|
|
485
|
+
]
|
|
486
|
+
},
|
|
487
|
+
"latencyMs": {
|
|
488
|
+
"description": "Round trip on a slow mobile connection, for the time estimate. The three connection profiles scale with it, so moving it moves all of them instead of flattening them into one number. The only editable part of the time estimate. Throughput and parse cost belong to a device; latency belongs to where your users are, and they pay it once per round trip whatever the bytes compress to. Everything derived from it is an estimate and is labelled as one. Milliseconds. Recommended: 150.",
|
|
489
|
+
"type": "number",
|
|
490
|
+
"minimum": 0
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"gates": {
|
|
495
|
+
"description": "What fails the command (exit code 1) and so the pipeline. A flag on the command line wins over the same gate here. Without any gate the command reports and never fails.",
|
|
496
|
+
"type": "object",
|
|
497
|
+
"additionalProperties": false,
|
|
498
|
+
"properties": {
|
|
499
|
+
"maxBoot": {
|
|
500
|
+
"description": "Fail when the bootstrap — what downloads before anything appears — is over this.",
|
|
501
|
+
"anyOf": [
|
|
502
|
+
{
|
|
503
|
+
"type": "string",
|
|
504
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"type": "number",
|
|
508
|
+
"minimum": 1000,
|
|
509
|
+
"description": "Bytes."
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
"maxScreen": {
|
|
514
|
+
"description": "Fail when what a screen downloads in total is over this. \"screens\" overrides it per screen.",
|
|
515
|
+
"anyOf": [
|
|
516
|
+
{
|
|
517
|
+
"type": "string",
|
|
518
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"type": "number",
|
|
522
|
+
"minimum": 1000,
|
|
523
|
+
"description": "Bytes."
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"maxOwn": {
|
|
528
|
+
"description": "Fail when the code only one screen loads is over this.",
|
|
529
|
+
"anyOf": [
|
|
530
|
+
{
|
|
531
|
+
"type": "string",
|
|
532
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"type": "number",
|
|
536
|
+
"minimum": 1000,
|
|
537
|
+
"description": "Bytes."
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
},
|
|
541
|
+
"maxGrowth": {
|
|
542
|
+
"description": "With a baseline: fail when the bootstrap or a screen grows by more than this.",
|
|
543
|
+
"anyOf": [
|
|
544
|
+
{
|
|
545
|
+
"type": "string",
|
|
546
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"type": "number",
|
|
550
|
+
"minimum": 1000,
|
|
551
|
+
"description": "Bytes."
|
|
552
|
+
}
|
|
553
|
+
]
|
|
554
|
+
},
|
|
555
|
+
"maxGrowthPct": {
|
|
556
|
+
"description": "With a baseline: the same as maxGrowth, as a percentage. 10 or \"10%\" mean ten per cent.",
|
|
557
|
+
"anyOf": [
|
|
558
|
+
{
|
|
559
|
+
"type": "number",
|
|
560
|
+
"minimum": 0
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"type": "string",
|
|
564
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*%\\s*$"
|
|
565
|
+
}
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
"failOn": {
|
|
569
|
+
"description": "Fail when a signal of this severity or above is raised.",
|
|
570
|
+
"enum": [
|
|
571
|
+
"high",
|
|
572
|
+
"mid",
|
|
573
|
+
"none"
|
|
574
|
+
]
|
|
575
|
+
},
|
|
576
|
+
"failOnNewPackage": {
|
|
577
|
+
"description": "Fail when a package enters the bootstrap that is not in \"packages\" — or, without that list, that was not in the baseline.",
|
|
578
|
+
"type": "boolean"
|
|
579
|
+
},
|
|
580
|
+
"failOnSignals": {
|
|
581
|
+
"description": "Signals that fail the command whatever their severity, for \"this one, always\": a secret, a forbidden package. Accepted signals do not count.",
|
|
582
|
+
"type": "array",
|
|
583
|
+
"items": {
|
|
584
|
+
"enum": [
|
|
585
|
+
"shared",
|
|
586
|
+
"bootLazy",
|
|
587
|
+
"bootSingle",
|
|
588
|
+
"bigFile",
|
|
589
|
+
"dupes",
|
|
590
|
+
"heavy",
|
|
591
|
+
"clean",
|
|
592
|
+
"commonJs",
|
|
593
|
+
"ownInBoot",
|
|
594
|
+
"locales",
|
|
595
|
+
"dataAsCode",
|
|
596
|
+
"sourceMaps",
|
|
597
|
+
"noSourceMaps",
|
|
598
|
+
"splitDrift",
|
|
599
|
+
"prefetched",
|
|
600
|
+
"unreachable",
|
|
601
|
+
"mixedImport",
|
|
602
|
+
"ownBarrel",
|
|
603
|
+
"packageBarrel",
|
|
604
|
+
"cycles",
|
|
605
|
+
"paidTwice",
|
|
606
|
+
"twinScreens",
|
|
607
|
+
"theirs",
|
|
608
|
+
"fonts",
|
|
609
|
+
"media",
|
|
610
|
+
"duplicateAssets",
|
|
611
|
+
"unreferencedAssets",
|
|
612
|
+
"inlinedData",
|
|
613
|
+
"updateWeight",
|
|
614
|
+
"unstableChunk",
|
|
615
|
+
"unhashable",
|
|
616
|
+
"secrets",
|
|
617
|
+
"devLeftovers",
|
|
618
|
+
"sourceExposed",
|
|
619
|
+
"thirdParty",
|
|
620
|
+
"licences",
|
|
621
|
+
"vulnerable",
|
|
622
|
+
"transitive",
|
|
623
|
+
"forbidden",
|
|
624
|
+
"bootWaves",
|
|
625
|
+
"slowScreens",
|
|
626
|
+
"manyRequests",
|
|
627
|
+
"bootGrew",
|
|
628
|
+
"bootNewPackages",
|
|
629
|
+
"sharedGrew",
|
|
630
|
+
"signalsChanged",
|
|
631
|
+
"screensGrew",
|
|
632
|
+
"budgetNone",
|
|
633
|
+
"budgetNotBuilt",
|
|
634
|
+
"budgetWarnOnly",
|
|
635
|
+
"budgetTooHigh",
|
|
636
|
+
"zoneless",
|
|
637
|
+
"assetOrigin",
|
|
638
|
+
"cascadeShape",
|
|
639
|
+
"servedUncompressed",
|
|
640
|
+
"measuredWaves",
|
|
641
|
+
"poolExhausted",
|
|
642
|
+
"thirdPartyLoad",
|
|
643
|
+
"revalidated",
|
|
644
|
+
"swControlling",
|
|
645
|
+
"measuredOrigin",
|
|
646
|
+
"observedChannel",
|
|
647
|
+
"measuredEager",
|
|
648
|
+
"measuredExtra",
|
|
649
|
+
"measuredShort",
|
|
650
|
+
"measuredMatch",
|
|
651
|
+
"situationAsked",
|
|
652
|
+
"situationPriority",
|
|
653
|
+
"situationMissing"
|
|
654
|
+
],
|
|
655
|
+
"enumDescriptions": [
|
|
656
|
+
"common code marked as lazy",
|
|
657
|
+
"bootstrap for a lazy screen",
|
|
658
|
+
"bootstrap package with a single importer",
|
|
659
|
+
"large source file",
|
|
660
|
+
"duplicate copies of a package",
|
|
661
|
+
"expensive screen",
|
|
662
|
+
"no signals",
|
|
663
|
+
"CommonJS package",
|
|
664
|
+
"your own code in the bootstrap for a lazy screen",
|
|
665
|
+
"every language of a library",
|
|
666
|
+
"data shipped as code",
|
|
667
|
+
"source maps in the folder",
|
|
668
|
+
"folder without source maps",
|
|
669
|
+
"the breakdown does not add up to the file",
|
|
670
|
+
"screens fetched before anybody asks",
|
|
671
|
+
"chunks this report cannot reach",
|
|
672
|
+
"imported both statically and dynamically",
|
|
673
|
+
"barrel file of your own in the bootstrap",
|
|
674
|
+
"package that comes in whole",
|
|
675
|
+
"import cycles",
|
|
676
|
+
"bytes paid for twice",
|
|
677
|
+
"twin screens",
|
|
678
|
+
"whose first load this is",
|
|
679
|
+
"fonts",
|
|
680
|
+
"images and video",
|
|
681
|
+
"the same file under two names",
|
|
682
|
+
"files nothing reaches",
|
|
683
|
+
"files embedded as data URIs",
|
|
684
|
+
"weight of the update",
|
|
685
|
+
"chunk mixing what changes with what does not",
|
|
686
|
+
"names that cannot be cached",
|
|
687
|
+
"secrets or internal addresses in the bundle",
|
|
688
|
+
"development leftovers in production",
|
|
689
|
+
"your source code is published",
|
|
690
|
+
"third-party services",
|
|
691
|
+
"licences with conditions",
|
|
692
|
+
"vulnerabilities that actually ship",
|
|
693
|
+
"packages you did not ask for",
|
|
694
|
+
"forbidden in loadline.json",
|
|
695
|
+
"bootstrap in several round trips",
|
|
696
|
+
"discovery depth",
|
|
697
|
+
"granularity of the split",
|
|
698
|
+
"bootstrap has grown",
|
|
699
|
+
"new package in the bootstrap",
|
|
700
|
+
"shared chunk has grown",
|
|
701
|
+
"signals fixed and new",
|
|
702
|
+
"screen has grown",
|
|
703
|
+
"no size budget",
|
|
704
|
+
"budget the pipeline never applies",
|
|
705
|
+
"budget that only warns",
|
|
706
|
+
"budget too high",
|
|
707
|
+
"no zone.js",
|
|
708
|
+
"assets served from another host",
|
|
709
|
+
"hash cascade",
|
|
710
|
+
"JavaScript served uncompressed",
|
|
711
|
+
"more batches than computed",
|
|
712
|
+
"the connection pool ran out",
|
|
713
|
+
"third-party requests in the same load",
|
|
714
|
+
"hashed files being revalidated",
|
|
715
|
+
"a service worker controls this load",
|
|
716
|
+
"the code came from another host",
|
|
717
|
+
"observed environment",
|
|
718
|
+
"the router loads an area the guard then rejects",
|
|
719
|
+
"measured above computed",
|
|
720
|
+
"measured below computed",
|
|
721
|
+
"computed and measured agree",
|
|
722
|
+
"the situation, answered",
|
|
723
|
+
"which wait the team would rather pay",
|
|
724
|
+
"questions that would change this report"
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
"uniqueItems": true,
|
|
728
|
+
"examples": [
|
|
729
|
+
[
|
|
730
|
+
"forbidden",
|
|
731
|
+
"secrets",
|
|
732
|
+
"vulnerable"
|
|
733
|
+
]
|
|
734
|
+
]
|
|
735
|
+
},
|
|
736
|
+
"screens": {
|
|
737
|
+
"description": "A limit per screen, over maxScreen: the screen as the report names it, or its source file. A name that matches no screen is reported.",
|
|
738
|
+
"type": "object",
|
|
739
|
+
"additionalProperties": {
|
|
740
|
+
"description": "The limit for this screen.",
|
|
741
|
+
"anyOf": [
|
|
742
|
+
{
|
|
743
|
+
"type": "string",
|
|
744
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"type": "number",
|
|
748
|
+
"minimum": 1000,
|
|
749
|
+
"description": "Bytes."
|
|
750
|
+
}
|
|
751
|
+
]
|
|
752
|
+
},
|
|
753
|
+
"examples": [
|
|
754
|
+
{
|
|
755
|
+
"rooms": "400kB",
|
|
756
|
+
"src/app/map/map.page.ts": "900kB"
|
|
757
|
+
}
|
|
758
|
+
]
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"packages": {
|
|
763
|
+
"description": "The packages allowed in the bootstrap, for gates.failOnNewPackage. A list of names, so adding one is a line in a review.",
|
|
764
|
+
"type": "array",
|
|
765
|
+
"items": {
|
|
766
|
+
"type": "string"
|
|
767
|
+
},
|
|
768
|
+
"uniqueItems": true
|
|
769
|
+
},
|
|
770
|
+
"accepted": {
|
|
771
|
+
"description": "Signals the team has decided to live with. Each one names a reason and, ideally, a person and an expiry. It comes back when the date passes or when its figure grows past \"bytes\". Everything accepted is listed under the report: nothing disappears silently.",
|
|
772
|
+
"type": "array",
|
|
773
|
+
"items": {
|
|
774
|
+
"type": "object",
|
|
775
|
+
"required": [
|
|
776
|
+
"kind",
|
|
777
|
+
"why"
|
|
778
|
+
],
|
|
779
|
+
"additionalProperties": false,
|
|
780
|
+
"properties": {
|
|
781
|
+
"kind": {
|
|
782
|
+
"description": "Which signal.",
|
|
783
|
+
"enum": [
|
|
784
|
+
"shared",
|
|
785
|
+
"bootLazy",
|
|
786
|
+
"bootSingle",
|
|
787
|
+
"bigFile",
|
|
788
|
+
"dupes",
|
|
789
|
+
"heavy",
|
|
790
|
+
"clean",
|
|
791
|
+
"commonJs",
|
|
792
|
+
"ownInBoot",
|
|
793
|
+
"locales",
|
|
794
|
+
"dataAsCode",
|
|
795
|
+
"sourceMaps",
|
|
796
|
+
"noSourceMaps",
|
|
797
|
+
"splitDrift",
|
|
798
|
+
"prefetched",
|
|
799
|
+
"unreachable",
|
|
800
|
+
"mixedImport",
|
|
801
|
+
"ownBarrel",
|
|
802
|
+
"packageBarrel",
|
|
803
|
+
"cycles",
|
|
804
|
+
"paidTwice",
|
|
805
|
+
"twinScreens",
|
|
806
|
+
"theirs",
|
|
807
|
+
"fonts",
|
|
808
|
+
"media",
|
|
809
|
+
"duplicateAssets",
|
|
810
|
+
"unreferencedAssets",
|
|
811
|
+
"inlinedData",
|
|
812
|
+
"updateWeight",
|
|
813
|
+
"unstableChunk",
|
|
814
|
+
"unhashable",
|
|
815
|
+
"secrets",
|
|
816
|
+
"devLeftovers",
|
|
817
|
+
"sourceExposed",
|
|
818
|
+
"thirdParty",
|
|
819
|
+
"licences",
|
|
820
|
+
"vulnerable",
|
|
821
|
+
"transitive",
|
|
822
|
+
"forbidden",
|
|
823
|
+
"bootWaves",
|
|
824
|
+
"slowScreens",
|
|
825
|
+
"manyRequests",
|
|
826
|
+
"bootGrew",
|
|
827
|
+
"bootNewPackages",
|
|
828
|
+
"sharedGrew",
|
|
829
|
+
"signalsChanged",
|
|
830
|
+
"screensGrew",
|
|
831
|
+
"budgetNone",
|
|
832
|
+
"budgetNotBuilt",
|
|
833
|
+
"budgetWarnOnly",
|
|
834
|
+
"budgetTooHigh",
|
|
835
|
+
"zoneless",
|
|
836
|
+
"assetOrigin",
|
|
837
|
+
"cascadeShape",
|
|
838
|
+
"servedUncompressed",
|
|
839
|
+
"measuredWaves",
|
|
840
|
+
"poolExhausted",
|
|
841
|
+
"thirdPartyLoad",
|
|
842
|
+
"revalidated",
|
|
843
|
+
"swControlling",
|
|
844
|
+
"measuredOrigin",
|
|
845
|
+
"observedChannel",
|
|
846
|
+
"measuredEager",
|
|
847
|
+
"measuredExtra",
|
|
848
|
+
"measuredShort",
|
|
849
|
+
"measuredMatch",
|
|
850
|
+
"situationAsked",
|
|
851
|
+
"situationPriority",
|
|
852
|
+
"situationMissing"
|
|
853
|
+
],
|
|
854
|
+
"enumDescriptions": [
|
|
855
|
+
"common code marked as lazy",
|
|
856
|
+
"bootstrap for a lazy screen",
|
|
857
|
+
"bootstrap package with a single importer",
|
|
858
|
+
"large source file",
|
|
859
|
+
"duplicate copies of a package",
|
|
860
|
+
"expensive screen",
|
|
861
|
+
"no signals",
|
|
862
|
+
"CommonJS package",
|
|
863
|
+
"your own code in the bootstrap for a lazy screen",
|
|
864
|
+
"every language of a library",
|
|
865
|
+
"data shipped as code",
|
|
866
|
+
"source maps in the folder",
|
|
867
|
+
"folder without source maps",
|
|
868
|
+
"the breakdown does not add up to the file",
|
|
869
|
+
"screens fetched before anybody asks",
|
|
870
|
+
"chunks this report cannot reach",
|
|
871
|
+
"imported both statically and dynamically",
|
|
872
|
+
"barrel file of your own in the bootstrap",
|
|
873
|
+
"package that comes in whole",
|
|
874
|
+
"import cycles",
|
|
875
|
+
"bytes paid for twice",
|
|
876
|
+
"twin screens",
|
|
877
|
+
"whose first load this is",
|
|
878
|
+
"fonts",
|
|
879
|
+
"images and video",
|
|
880
|
+
"the same file under two names",
|
|
881
|
+
"files nothing reaches",
|
|
882
|
+
"files embedded as data URIs",
|
|
883
|
+
"weight of the update",
|
|
884
|
+
"chunk mixing what changes with what does not",
|
|
885
|
+
"names that cannot be cached",
|
|
886
|
+
"secrets or internal addresses in the bundle",
|
|
887
|
+
"development leftovers in production",
|
|
888
|
+
"your source code is published",
|
|
889
|
+
"third-party services",
|
|
890
|
+
"licences with conditions",
|
|
891
|
+
"vulnerabilities that actually ship",
|
|
892
|
+
"packages you did not ask for",
|
|
893
|
+
"forbidden in loadline.json",
|
|
894
|
+
"bootstrap in several round trips",
|
|
895
|
+
"discovery depth",
|
|
896
|
+
"granularity of the split",
|
|
897
|
+
"bootstrap has grown",
|
|
898
|
+
"new package in the bootstrap",
|
|
899
|
+
"shared chunk has grown",
|
|
900
|
+
"signals fixed and new",
|
|
901
|
+
"screen has grown",
|
|
902
|
+
"no size budget",
|
|
903
|
+
"budget the pipeline never applies",
|
|
904
|
+
"budget that only warns",
|
|
905
|
+
"budget too high",
|
|
906
|
+
"no zone.js",
|
|
907
|
+
"assets served from another host",
|
|
908
|
+
"hash cascade",
|
|
909
|
+
"JavaScript served uncompressed",
|
|
910
|
+
"more batches than computed",
|
|
911
|
+
"the connection pool ran out",
|
|
912
|
+
"third-party requests in the same load",
|
|
913
|
+
"hashed files being revalidated",
|
|
914
|
+
"a service worker controls this load",
|
|
915
|
+
"the code came from another host",
|
|
916
|
+
"observed environment",
|
|
917
|
+
"the router loads an area the guard then rejects",
|
|
918
|
+
"measured above computed",
|
|
919
|
+
"measured below computed",
|
|
920
|
+
"computed and measured agree",
|
|
921
|
+
"the situation, answered",
|
|
922
|
+
"which wait the team would rather pay",
|
|
923
|
+
"questions that would change this report"
|
|
924
|
+
]
|
|
925
|
+
},
|
|
926
|
+
"key": {
|
|
927
|
+
"description": "Which instance — the package, chunk or screen source the signal is about. Leave it out to accept every instance of the kind, which is a bigger decision.",
|
|
928
|
+
"type": "string"
|
|
929
|
+
},
|
|
930
|
+
"why": {
|
|
931
|
+
"description": "Why it is being lived with. Required.",
|
|
932
|
+
"type": "string",
|
|
933
|
+
"minLength": 1
|
|
934
|
+
},
|
|
935
|
+
"who": {
|
|
936
|
+
"description": "Who decided: somebody a reader can ask in a year.",
|
|
937
|
+
"type": "string"
|
|
938
|
+
},
|
|
939
|
+
"until": {
|
|
940
|
+
"description": "YYYY-MM-DD. After it the signal is raised again.",
|
|
941
|
+
"type": "string",
|
|
942
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
943
|
+
},
|
|
944
|
+
"bytes": {
|
|
945
|
+
"description": "The figure that was accepted. When the signal grows past it, it comes back.",
|
|
946
|
+
"anyOf": [
|
|
947
|
+
{
|
|
948
|
+
"type": "string",
|
|
949
|
+
"pattern": "^\\s*\\d+(\\.\\d+)?\\s*([bB]|[kK][bB]|[mM][bB]|[gG][bB])\\s*$"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"type": "number",
|
|
953
|
+
"minimum": 1000,
|
|
954
|
+
"description": "Bytes."
|
|
955
|
+
}
|
|
956
|
+
]
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"forbidden": {
|
|
962
|
+
"description": "What must never ship, or never ship in the bootstrap: a package or files of your own. Each rule that matches raises the \"forbidden\" signal, with its \"why\". An exception is an entry in \"accepted\"; failing the build on it is gates.failOn or gates.failOnSignals.",
|
|
963
|
+
"type": "array",
|
|
964
|
+
"items": {
|
|
965
|
+
"type": "object",
|
|
966
|
+
"required": [
|
|
967
|
+
"why"
|
|
968
|
+
],
|
|
969
|
+
"oneOf": [
|
|
970
|
+
{
|
|
971
|
+
"required": [
|
|
972
|
+
"package"
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"required": [
|
|
977
|
+
"path"
|
|
978
|
+
]
|
|
979
|
+
}
|
|
980
|
+
],
|
|
981
|
+
"additionalProperties": false,
|
|
982
|
+
"properties": {
|
|
983
|
+
"package": {
|
|
984
|
+
"description": "A package name, with * for any text: \"moment\", \"@aws-sdk/*\".",
|
|
985
|
+
"type": "string",
|
|
986
|
+
"minLength": 1
|
|
987
|
+
},
|
|
988
|
+
"path": {
|
|
989
|
+
"description": "Files of the project, with * for any text: \"src/app/admin/*\".",
|
|
990
|
+
"type": "string",
|
|
991
|
+
"minLength": 1
|
|
992
|
+
},
|
|
993
|
+
"in": {
|
|
994
|
+
"description": "Where it must not be. \"anywhere\" when left out.",
|
|
995
|
+
"enum": [
|
|
996
|
+
"anywhere",
|
|
997
|
+
"bootstrap"
|
|
998
|
+
],
|
|
999
|
+
"enumDescriptions": [
|
|
1000
|
+
"Not in any file of the build.",
|
|
1001
|
+
"Not in the first load: a lazy screen may still load it."
|
|
1002
|
+
]
|
|
1003
|
+
},
|
|
1004
|
+
"why": {
|
|
1005
|
+
"description": "Why not, and what to use instead. Required: it is shown on the signal.",
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"minLength": 1
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"examples": [
|
|
1012
|
+
[
|
|
1013
|
+
{
|
|
1014
|
+
"package": "moment",
|
|
1015
|
+
"why": "We use date-fns."
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"path": "src/app/admin/*",
|
|
1019
|
+
"in": "bootstrap",
|
|
1020
|
+
"why": "Admin is lazy."
|
|
1021
|
+
}
|
|
1022
|
+
]
|
|
1023
|
+
]
|
|
1024
|
+
},
|
|
1025
|
+
"situation": {
|
|
1026
|
+
"description": "The five questions the build cannot answer. An answer can raise a severity, never lower one. Written by the Situation tab of the page; anything left out reads as unanswered.",
|
|
1027
|
+
"type": "object",
|
|
1028
|
+
"additionalProperties": false,
|
|
1029
|
+
"properties": {
|
|
1030
|
+
"navigation": {
|
|
1031
|
+
"description": "How do people move around the application? Where to look: route-change events per session, in your analytics.",
|
|
1032
|
+
"enum": [
|
|
1033
|
+
"inAndOut",
|
|
1034
|
+
"allDay",
|
|
1035
|
+
"profiles",
|
|
1036
|
+
"unknown"
|
|
1037
|
+
],
|
|
1038
|
+
"enumDescriptions": [
|
|
1039
|
+
"They come in, do one thing and leave",
|
|
1040
|
+
"They spend the day inside, moving between sections",
|
|
1041
|
+
"It depends — there are two or three distinct profiles",
|
|
1042
|
+
"I don’t know"
|
|
1043
|
+
]
|
|
1044
|
+
},
|
|
1045
|
+
"deploys": {
|
|
1046
|
+
"description": "How often does a new version reach production? Where to look: the tags or releases of the last quarter.",
|
|
1047
|
+
"enum": [
|
|
1048
|
+
"daily",
|
|
1049
|
+
"weekly",
|
|
1050
|
+
"monthly",
|
|
1051
|
+
"unknown"
|
|
1052
|
+
],
|
|
1053
|
+
"enumDescriptions": [
|
|
1054
|
+
"Several times a day",
|
|
1055
|
+
"Weekly, more or less",
|
|
1056
|
+
"Every few weeks",
|
|
1057
|
+
"I don’t know"
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
1060
|
+
"returning": {
|
|
1061
|
+
"description": "Of the people who open it on a given day, how many had already opened it this week? Where to look: the returning-visitor share in your analytics.",
|
|
1062
|
+
"enum": [
|
|
1063
|
+
"most",
|
|
1064
|
+
"half",
|
|
1065
|
+
"few",
|
|
1066
|
+
"unknown"
|
|
1067
|
+
],
|
|
1068
|
+
"enumDescriptions": [
|
|
1069
|
+
"Nearly all of them — it is a work tool",
|
|
1070
|
+
"About half and half",
|
|
1071
|
+
"Almost none — most arrive from outside",
|
|
1072
|
+
"I don’t know"
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
"connection": {
|
|
1076
|
+
"description": "Where do they connect from, and on what? This is the one that lies most: people answer it the way they would like it to be. If you have RUM, do not answer it — import it.",
|
|
1077
|
+
"enum": [
|
|
1078
|
+
"office",
|
|
1079
|
+
"mobile",
|
|
1080
|
+
"worldwide",
|
|
1081
|
+
"unknown"
|
|
1082
|
+
],
|
|
1083
|
+
"enumDescriptions": [
|
|
1084
|
+
"Office, laptop, good network",
|
|
1085
|
+
"Mobile, out and about, patchy coverage",
|
|
1086
|
+
"Spread around the world, far from the server",
|
|
1087
|
+
"I don’t know"
|
|
1088
|
+
]
|
|
1089
|
+
},
|
|
1090
|
+
"priority": {
|
|
1091
|
+
"description": "Which is worse: a slow first screen, or a slow move from one screen to another? This one is not looked up anywhere: it is which wait the team would rather pay, and it has to be decided.",
|
|
1092
|
+
"enum": [
|
|
1093
|
+
"firstScreen",
|
|
1094
|
+
"navigation",
|
|
1095
|
+
"both",
|
|
1096
|
+
"unknown"
|
|
1097
|
+
],
|
|
1098
|
+
"enumDescriptions": [
|
|
1099
|
+
"The first one — that is where people decide whether to stay",
|
|
1100
|
+
"Navigation — whoever gets in is staying anyway",
|
|
1101
|
+
"Both equally bad",
|
|
1102
|
+
"Not answered yet."
|
|
1103
|
+
]
|
|
1104
|
+
},
|
|
1105
|
+
"screensPerSession": {
|
|
1106
|
+
"description": "Median distinct screens per session. Wins over \"navigation\".",
|
|
1107
|
+
"type": [
|
|
1108
|
+
"number",
|
|
1109
|
+
"null"
|
|
1110
|
+
]
|
|
1111
|
+
},
|
|
1112
|
+
"deploysPerWeek": {
|
|
1113
|
+
"description": "Releases per week. Wins over \"deploys\".",
|
|
1114
|
+
"type": [
|
|
1115
|
+
"number",
|
|
1116
|
+
"null"
|
|
1117
|
+
]
|
|
1118
|
+
},
|
|
1119
|
+
"returningPct": {
|
|
1120
|
+
"description": "Share of returning visitors, or warm-cache rate. A percentage. Wins over \"returning\".",
|
|
1121
|
+
"type": [
|
|
1122
|
+
"number",
|
|
1123
|
+
"null"
|
|
1124
|
+
]
|
|
1125
|
+
},
|
|
1126
|
+
"rum": {
|
|
1127
|
+
"description": "Whether the connection answer was imported from real-user monitoring.",
|
|
1128
|
+
"type": "boolean"
|
|
1129
|
+
},
|
|
1130
|
+
"answeredBy": {
|
|
1131
|
+
"description": "Who answered.",
|
|
1132
|
+
"type": [
|
|
1133
|
+
"string",
|
|
1134
|
+
"null"
|
|
1135
|
+
]
|
|
1136
|
+
},
|
|
1137
|
+
"answeredAt": {
|
|
1138
|
+
"description": "YYYY-MM-DD. The report says so once the answers are a year old.",
|
|
1139
|
+
"type": [
|
|
1140
|
+
"string",
|
|
1141
|
+
"null"
|
|
1142
|
+
]
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
"build": {
|
|
1147
|
+
"description": "What the build does not say on its own, for a page or a tool no rule here reads: file names with * for the hash, and source paths with * for a segment and ** for several.",
|
|
1148
|
+
"type": "object",
|
|
1149
|
+
"additionalProperties": false,
|
|
1150
|
+
"properties": {
|
|
1151
|
+
"entries": {
|
|
1152
|
+
"description": "Scripts the application starts at, added to what index.html names: for a page that starts it in a way Loadline does not read. \"client.*.js\".",
|
|
1153
|
+
"type": "array",
|
|
1154
|
+
"items": {
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
},
|
|
1157
|
+
"uniqueItems": true
|
|
1158
|
+
},
|
|
1159
|
+
"ignore": {
|
|
1160
|
+
"description": "Files of the folder no screen downloads — a polyfill only old browsers load, a copy for another target. Never an entry, never reached by a guess, and out of every figure when nothing the application imports reaches them.",
|
|
1161
|
+
"type": "array",
|
|
1162
|
+
"items": {
|
|
1163
|
+
"type": "string"
|
|
1164
|
+
},
|
|
1165
|
+
"uniqueItems": true
|
|
1166
|
+
},
|
|
1167
|
+
"screens": {
|
|
1168
|
+
"description": "Which lazy entries are screens and which are a piece of one, by source file (or chunk, without maps), with * for any text. The buttons of the screens table, written down for everybody; a click in the page still wins.",
|
|
1169
|
+
"type": "object",
|
|
1170
|
+
"additionalProperties": {
|
|
1171
|
+
"enum": [
|
|
1172
|
+
"screen",
|
|
1173
|
+
"piece"
|
|
1174
|
+
]
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
"page": {
|
|
1178
|
+
"description": "The page of the application, when the folder holds several HTML files and index.html is not it: \"app.html\", \"admin/index.html\".",
|
|
1179
|
+
"type": "string"
|
|
1180
|
+
},
|
|
1181
|
+
"own": {
|
|
1182
|
+
"description": "Source paths that are your own code although they sit under node_modules: \"src/node_modules/**\".",
|
|
1183
|
+
"type": "array",
|
|
1184
|
+
"items": {
|
|
1185
|
+
"type": "string"
|
|
1186
|
+
},
|
|
1187
|
+
"uniqueItems": true
|
|
1188
|
+
},
|
|
1189
|
+
"routeKeys": {
|
|
1190
|
+
"description": "Keys of a route table besides component, loadComponent, loadChildren, lazy, getComponent and asyncComponent, for a router that writes { path: \"/x\", page: () => import(\"./x.js\") }.",
|
|
1191
|
+
"type": "array",
|
|
1192
|
+
"items": {
|
|
1193
|
+
"type": "string",
|
|
1194
|
+
"pattern": "^[A-Za-z_$][\\w$]*$"
|
|
1195
|
+
},
|
|
1196
|
+
"uniqueItems": true
|
|
1197
|
+
},
|
|
1198
|
+
"dependencies": {
|
|
1199
|
+
"description": "Source paths that are dependencies although they are not under node_modules — workspace packages, a vendored library — named after the folder matched: \"packages/*\" makes packages/ui/src/x.ts part of the package ui.",
|
|
1200
|
+
"type": "array",
|
|
1201
|
+
"items": {
|
|
1202
|
+
"type": "string"
|
|
1203
|
+
},
|
|
1204
|
+
"uniqueItems": true
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
}
|