@code-pushup/lighthouse-plugin 0.74.1 → 0.76.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 +4 -10
- package/package.json +3 -3
- package/src/lib/constants.d.ts +1 -1
- package/src/lib/constants.js +0 -1
- package/src/lib/constants.js.map +1 -1
package/README.md
CHANGED
|
@@ -86,12 +86,6 @@ export default {
|
|
|
86
86
|
title: 'SEO',
|
|
87
87
|
refs: [lighthouseGroupRef('seo')],
|
|
88
88
|
},
|
|
89
|
-
{
|
|
90
|
-
slug: 'pwa',
|
|
91
|
-
title: 'PWA',
|
|
92
|
-
isBinary: true,
|
|
93
|
-
refs: [lighthouseGroupRef('pwa')],
|
|
94
|
-
},
|
|
95
89
|
],
|
|
96
90
|
};
|
|
97
91
|
```
|
|
@@ -108,10 +102,10 @@ export default {
|
|
|
108
102
|
// ...
|
|
109
103
|
categories: [
|
|
110
104
|
{
|
|
111
|
-
slug: '
|
|
112
|
-
title: '
|
|
113
|
-
|
|
114
|
-
refs: [lighthouseAuditRef('
|
|
105
|
+
slug: 'core-web-vitals',
|
|
106
|
+
title: 'Core Web Vitals',
|
|
107
|
+
scoreTarget: 0.9,
|
|
108
|
+
refs: [lighthouseAuditRef('largest-contentful-paint', 3), lighthouseAuditRef('first-input-delay', 2), lighthouseAuditRef('cumulative-layout-shift', 2), lighthouseAuditRef('first-contentful-paint', 1)],
|
|
115
109
|
},
|
|
116
110
|
],
|
|
117
111
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/lighthouse-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Code PushUp plugin for measuring web performance and quality with Lighthouse 🔥",
|
|
6
6
|
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/plugin-lighthouse#readme",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"type": "module",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@code-pushup/models": "0.
|
|
40
|
-
"@code-pushup/utils": "0.
|
|
39
|
+
"@code-pushup/models": "0.76.0",
|
|
40
|
+
"@code-pushup/utils": "0.76.0",
|
|
41
41
|
"ansis": "^3.3.0",
|
|
42
42
|
"chrome-launcher": "^1.1.1",
|
|
43
43
|
"lighthouse": "^12.0.0",
|
package/src/lib/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const DEFAULT_CHROME_FLAGS: string[];
|
|
2
2
|
export declare const LIGHTHOUSE_PLUGIN_SLUG = "lighthouse";
|
|
3
3
|
export declare const LIGHTHOUSE_OUTPUT_PATH: string;
|
|
4
|
-
export declare const LIGHTHOUSE_GROUP_SLUGS: readonly ["performance", "accessibility", "best-practices", "seo"
|
|
4
|
+
export declare const LIGHTHOUSE_GROUP_SLUGS: readonly ["performance", "accessibility", "best-practices", "seo"];
|
|
5
5
|
export declare const SINGLE_URL_THRESHOLD = 1;
|
package/src/lib/constants.js
CHANGED
package/src/lib/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/lib/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAEjE,6FAA6F;AAC7F,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,GAAG,aAAa,EAAE,YAAY,CAAC,CAAC;AAErE,MAAM,CAAC,MAAM,sBAAsB,GAAG,YAAY,CAAC;AACnD,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC,IAAI,CAC7C,0BAA0B,EAC1B,sBAAsB,CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,aAAa;IACb,eAAe;IACf,gBAAgB;IAChB,KAAK;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/lib/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAEjE,6FAA6F;AAC7F,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,GAAG,aAAa,EAAE,YAAY,CAAC,CAAC;AAErE,MAAM,CAAC,MAAM,sBAAsB,GAAG,YAAY,CAAC;AACnD,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC,IAAI,CAC7C,0BAA0B,EAC1B,sBAAsB,CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,aAAa;IACb,eAAe;IACf,gBAAgB;IAChB,KAAK;CACG,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC"}
|