Skip to content

Commit 4059045

Browse files
authored
Merge branch 'main' into renovate/navikt-github-app-token-generator-digest
2 parents 7f818a4 + bbb55c9 commit 4059045

File tree

26 files changed

+1608
-8245
lines changed

26 files changed

+1608
-8245
lines changed

.eslintrc.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

.eslintrc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"env": {
3+
"es6": true,
4+
"node": true,
5+
"jest": true
6+
},
7+
"extends": ["eslint:recommended", "plugin:import/recommended"],
8+
"globals": {
9+
"cy": true
10+
},
11+
12+
"parserOptions": {
13+
"sourceType": "module",
14+
"ecmaVersion": "latest"
15+
},
16+
"rules": {
17+
"import/extensions": ["error", "always"],
18+
"import/order": ["error", { "newlines-between": "always" }]
19+
}
20+
}

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55

66
* feat: reduce summary sent to only id and score ([#448](https://github.com/netlify/netlify-plugin-lighthouse/issues/448)) ([969cc58](https://github.com/netlify/netlify-plugin-lighthouse/commit/969cc589c33f53925ea26d47ae31a7d3152c58c0))
77

8+
## [4.0.5](https://github.com/netlify/netlify-plugin-lighthouse/compare/v4.0.4...v4.0.5) (2023-01-16)
9+
10+
11+
### Bug Fixes
12+
13+
* **deps:** Revert "fix(deps) upgrade puppeteer to v 19.5.2 ([#532](https://github.com/netlify/netlify-plugin-lighthouse/issues/532))" ([#536](https://github.com/netlify/netlify-plugin-lighthouse/issues/536)) ([a319044](https://github.com/netlify/netlify-plugin-lighthouse/commit/a319044517c49d0f60d4f330ccba2756643bb929))
14+
15+
## [4.0.4](https://github.com/netlify/netlify-plugin-lighthouse/compare/v4.0.3...v4.0.4) (2023-01-16)
16+
17+
### Bug Fixes
18+
19+
* **deps:** update dependency puppeteer to v19.5.2 ([#532](https://github.com/netlify/netlify-plugin-lighthouse/pull/532)) ([fa216b2](https://github.com/netlify/netlify-plugin-lighthouse/commit/fa216b249cbf4a7c7128c8fa323639a73a1246b2))
20+
### Miscellaneous Chores
21+
22+
* **deps:** update dependency prettier to v2.8.2 ([#530](https://github.com/netlify/netlify-plugin-lighthouse/issues/530)) ([2adadfe](https://github.com/netlify/netlify-plugin-lighthouse/commit/2adadfed5476c3bc73156894c1200caa383ed036))
23+
824
## [4.0.3](https://github.com/netlify/netlify-plugin-lighthouse/compare/v4.0.2...v4.0.3) (2022-11-17)
925

1026

cypress.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
const { defineConfig } = require('cypress');
1+
import { defineConfig } from 'cypress';
22

3-
module.exports = defineConfig({
3+
import plugin from './cypress/plugins/index.js';
4+
5+
export default defineConfig({
46
e2e: {
57
setupNodeEvents(on, config) {
6-
return require('./cypress/plugins/index.js')(on, config);
8+
return plugin(on, config);
79
},
810
},
911
});

cypress/plugins/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = () => {}
1+
export default () => {};

jest.config.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
roots: ['<rootDir>/src'],
3+
testMatch: ['**/__tests__/**/*.+(ts|js)', '**/?(*.)+(spec|test).+(ts|js)'],
4+
setupFiles: ['<rootDir>/test/setup.js'],
5+
transform: {},
6+
};

0 commit comments

Comments
 (0)