Skip to content

Commit 3533d8f

Browse files
committed
Merge branch 'main' into renovate/react-error-boundary-6.x
2 parents 1b6d945 + 9acfad9 commit 3533d8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+17402
-17799
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
27+
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f
2828

2929
- name: Initialize CodeQL
3030
uses: github/codeql-action/init@v3

.github/workflows/snyk-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Node.js
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: "20.x"
31+
node-version: "22.x"
3232
cache: "pnpm"
3333

3434
- name: Install dependencies

DOCS/repository_context.txt

Lines changed: 15079 additions & 14906 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Dfweb.no Portfolio Version 4
22

3-
[![cypress](https://github.com/w3bdesign/dfweb-v4/actions/workflows/cypress.yml/badge.svg)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/cypress.yml)
4-
[![Lighthouse CI](https://github.com/w3bdesign/dfweb-v4/actions/workflows/lighthouse.yml/badge.svg)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/lighthouse.yml)
5-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3e803ad0f17146b78bbed9850eb1461f)](https://app.codacy.com/gh/w3bdesign/dfweb-v4/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
6-
[![codecov](https://codecov.io/gh/w3bdesign/dfweb-v4/graph/badge.svg?token=AHQW8WQ6U8)](https://codecov.io/gh/w3bdesign/dfweb-v4)
7-
[![Pa11y](https://github.com/w3bdesign/dfweb-v4/actions/workflows/pa11y.yml/badge.svg)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/pa11y.yml)
8-
[![Snyk Security Scan](https://github.com/w3bdesign/dfweb-v4/actions/workflows/snyk-scan.yml/badge.svg)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/snyk-scan.yml)
3+
[![Cypress](https://img.shields.io/github/actions/workflow/status/w3bdesign/dfweb-v4/cypress.yml?branch=main&style=flat-square&logo=cypress&label=Cypress)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/cypress.yml)
4+
[![Lighthouse](https://img.shields.io/github/actions/workflow/status/w3bdesign/dfweb-v4/lighthouse.yml?branch=main&style=flat-square&logo=lighthouse&label=Lighthouse)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/lighthouse.yml)
5+
[![Quality](https://img.shields.io/codacy/grade/3e803ad0f17146b78bbed9850eb1461f?style=flat-square&logo=codacy&label=Quality)](https://app.codacy.com/gh/w3bdesign/dfweb-v4/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [
6+
![Coverage](https://img.shields.io/codecov/c/github/w3bdesign/dfweb-v4?token=AHQW8WQ6U8&style=flat-square&logo=codecov&label=Coverage)](https://codecov.io/gh/w3bdesign/dfweb-v4)
7+
[![A11y](https://img.shields.io/github/actions/workflow/status/w3bdesign/dfweb-v4/pa11y.yml?branch=main&style=flat-square&logo=data:image/svg%2bxml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJtMTAuNCAxMGgtLjVjLjEuMy4xLjcuMSAxIDAgMi4yLTEuOCA0LTQgNHMtNC0xLjgtNC00YzAtMi4xIDEuNi0zLjggMy43LTRsLS4yLTFjLTIuNi40LTQuNSAyLjQtNC41IDUgMCAyLjggMi4yIDUgNSA1IDIuNCAwIDQuNC0xLjcgNC45LTMuOXoiLz48cGF0aCBkPSJtMTMuMSAxMy0xLjEtNWgtNC4xbC0uMi0xaDMuM3YtMWgtMy41bC0uNi0yLjVjLjktLjEgMS42LS44IDEuNi0xLjcgMC0xLS44LTEuOC0xLjgtMS44cy0xLjcuOC0xLjcgMS44YzAgLjYuMyAxLjIuOCAxLjVsMS4zIDUuN2g0LjFsMS4yIDVoMi42di0xeiIvPjwvZz48L3N2Zz4%3D&label=A11y)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/pa11y.yml)
8+
[![Security](https://img.shields.io/github/actions/workflow/status/w3bdesign/dfweb-v4/snyk-scan.yml?branch=main&style=flat-square&logo=snyk&label=Security)](https://github.com/w3bdesign/dfweb-v4/actions/workflows/snyk-scan.yml)
99

1010
Fourth version of my personal portfolio website with Next.js, Motion,
1111
Sanity.io and Typescript.
@@ -116,7 +116,6 @@ Sanity.io and Typescript.
116116
- 100% test coverage with Jest and React testing library
117117
- AI-powered commit message generation following Conventional Commits with
118118
gitmojis
119-
- Automated pre-commit linting and formatting using Lefthook and lint-staged.
120119
- Automated performance monitoring with Lighthouse CI
121120
- Performance, accessibility, best practices, and SEO checks on every PR
122121
- Configurable thresholds for quality metrics

jest.setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ beforeEach(async () => {
7070
"Each test should include:\n" +
7171
"// Arrange - Set up test data and conditions\n" +
7272
"// Act - Perform the action being tested\n" +
73-
"// Assert - Verify the results"
73+
"// Assert - Verify the results",
7474
);
7575
}
7676
} catch (error) {

lefthook.yml

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

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
]
3333
},
3434
"dependencies": {
35-
"@babel/helpers": ">=7.27.4",
35+
"@babel/helpers": ">=7.27.6",
3636
"@emailjs/browser": "^4.4.1",
3737
"@hookform/resolvers": "^5.0.1",
3838
"@portabletext/react": "^3.2.1",
39-
"@sanity/client": "^7.4.1",
39+
"@sanity/client": "^7.5.0",
4040
"@sanity/image-url": "^1.1.0",
4141
"@vercel/speed-insights": "^1.2.0",
4242
"clsx": "^2.1.1",
@@ -71,7 +71,7 @@
7171
"@testing-library/react": "^16.3.0",
7272
"@testing-library/user-event": "^14.6.1",
7373
"@types/jest": "^29.5.14",
74-
"@types/node": "^22.15.29",
74+
"@types/node": "^22.15.30",
7575
"@types/react": "^19.1.6",
7676
"@types/react-dom": "^19.1.6",
7777
"@typescript-eslint/eslint-plugin": "^8.33.1",
@@ -81,17 +81,16 @@
8181
"cypress-axe": "^1.6.0",
8282
"eslint": "9.28.0",
8383
"eslint-config-next": "15.3.3",
84-
"eslint-plugin-jest": "^28.12.0",
84+
"eslint-plugin-jest": "^28.13.0",
8585
"eslint-plugin-jsx-a11y": "^6.10.2",
8686
"eslint-plugin-react": "^7.37.5",
8787
"eslint-plugin-react-hooks": "^5.2.0",
8888
"eslint-plugin-test-rules": "link:eslint-plugin-test-rules",
89-
"eslint-plugin-testing-library": "^7.3.0",
89+
"eslint-plugin-testing-library": "^7.4.0",
9090
"expect": "^29.7.0",
9191
"jest-environment-jsdom": "^29.7.0",
9292
"jest-extended": "^5.0.3",
9393
"jsdom-testing-mocks": "^1.13.1",
94-
"lefthook": "^1.11.13",
9594
"lint-staged": "^16.1.0",
9695
"postcss": "^8.5.4",
9796
"prettier": "3.5.3",

0 commit comments

Comments
 (0)