mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-11-04 10:40:09 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			snyk-upgra
			...
			build/node
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9f05d8a715 | |||
| 283c25681b | 
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@@ -19,7 +19,7 @@ jobs:
 | 
			
		||||
      - name: Setup Node.js
 | 
			
		||||
        uses: actions/setup-node@v3
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 16.14.0
 | 
			
		||||
          node-version: 22.12.0
 | 
			
		||||
 | 
			
		||||
      - name: Install dependencies
 | 
			
		||||
        run: npm ci
 | 
			
		||||
 
 | 
			
		||||
@@ -340,7 +340,7 @@ Now, let's add a Husky git hook to combat future commits that are unconventional
 | 
			
		||||
npx husky-init && npm install
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
This will automatically create the `.husky/pre-commit` file. Let's edit it and add commitlint:
 | 
			
		||||
This will automatically create the `.husky/` directory. Let's create a file in it called `commit-msg` and add commitlint:
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
#!/usr/bin/env sh
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										24159
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										24159
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										152
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										152
									
								
								package.json
									
									
									
									
									
								
							@@ -18,8 +18,8 @@
 | 
			
		||||
  "author": "Rick van Lieshout <info@rickvanlieshout.com>",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "build": "npm run clean && gatsby build",
 | 
			
		||||
    "commit": "git-cz",
 | 
			
		||||
    "clean": "rimraf .cache public",
 | 
			
		||||
    "commit": "git-cz",
 | 
			
		||||
    "format": "npm run format:ts && npm run format:scss",
 | 
			
		||||
    "format:scss": "stylelint \"src/**/*.scss\" --fix",
 | 
			
		||||
    "format:ts": "eslint \"src\" --ext .tsx,.ts --fix && prettier --write .",
 | 
			
		||||
@@ -29,9 +29,9 @@
 | 
			
		||||
    "lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .",
 | 
			
		||||
    "prepare": "husky install",
 | 
			
		||||
    "release": "standard-version",
 | 
			
		||||
    "release:major": "standard-version --release-as major",
 | 
			
		||||
    "release:minor": "standard-version --release-as minor",
 | 
			
		||||
    "release:patch": "standard-version --release-as patch",
 | 
			
		||||
    "release:major": "standard-version --release-as major",
 | 
			
		||||
    "reset-snapshots": "find -type f -name '*.snap*' -delete && npm run test",
 | 
			
		||||
    "semantic-release": "semantic-release",
 | 
			
		||||
    "serve": "gatsby serve",
 | 
			
		||||
@@ -48,114 +48,114 @@
 | 
			
		||||
      "npm run format:scss"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "config": {
 | 
			
		||||
    "commitizen": {
 | 
			
		||||
      "path": "@commitlint/cz-commitlint"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@fortawesome/fontawesome-svg-core": "^6.7.2",
 | 
			
		||||
    "@fortawesome/free-solid-svg-icons": "^6.6.0",
 | 
			
		||||
    "@fortawesome/free-solid-svg-icons": "^6.7.2",
 | 
			
		||||
    "@fortawesome/react-fontawesome": "^0.2.2",
 | 
			
		||||
    "classnames": "^2.5.1",
 | 
			
		||||
    "disqus-react": "^1.1.5",
 | 
			
		||||
    "gatsby": "^5.14.0",
 | 
			
		||||
    "gatsby-link": "^5.12.1",
 | 
			
		||||
    "gatsby-plugin-catch-links": "^5.13.1",
 | 
			
		||||
    "gatsby-plugin-feed": "^5.13.1",
 | 
			
		||||
    "gatsby-plugin-google-gtag": "^5.13.1",
 | 
			
		||||
    "gatsby-plugin-image": "^3.13.0",
 | 
			
		||||
    "gatsby-plugin-manifest": "^5.13.1",
 | 
			
		||||
    "gatsby": "^5.14.1",
 | 
			
		||||
    "gatsby-link": "^5.14.1",
 | 
			
		||||
    "gatsby-plugin-catch-links": "^5.14.0",
 | 
			
		||||
    "gatsby-plugin-feed": "^5.14.0",
 | 
			
		||||
    "gatsby-plugin-google-gtag": "^5.14.0",
 | 
			
		||||
    "gatsby-plugin-image": "^3.14.0",
 | 
			
		||||
    "gatsby-plugin-manifest": "^5.14.0",
 | 
			
		||||
    "gatsby-plugin-optimize-svgs": "^1.0.5",
 | 
			
		||||
    "gatsby-plugin-react-helmet": "^6.13.1",
 | 
			
		||||
    "gatsby-plugin-react-helmet": "^6.14.0",
 | 
			
		||||
    "gatsby-plugin-remove-serviceworker": "^1.0.0",
 | 
			
		||||
    "gatsby-plugin-robots-txt": "^1.8.0",
 | 
			
		||||
    "gatsby-plugin-sass": "^6.13.1",
 | 
			
		||||
    "gatsby-plugin-sharp": "^5.13.1",
 | 
			
		||||
    "gatsby-plugin-sitemap": "^6.13.1",
 | 
			
		||||
    "gatsby-remark-autolink-headers": "^6.13.1",
 | 
			
		||||
    "gatsby-remark-copy-linked-files": "^6.13.2",
 | 
			
		||||
    "gatsby-plugin-sass": "^6.14.0",
 | 
			
		||||
    "gatsby-plugin-sharp": "^5.14.0",
 | 
			
		||||
    "gatsby-plugin-sitemap": "^6.14.0",
 | 
			
		||||
    "gatsby-remark-autolink-headers": "^6.14.0",
 | 
			
		||||
    "gatsby-remark-copy-linked-files": "^6.14.0",
 | 
			
		||||
    "gatsby-remark-external-links": "0.0.4",
 | 
			
		||||
    "gatsby-remark-images": "^7.13.2",
 | 
			
		||||
    "gatsby-remark-images": "^7.14.0",
 | 
			
		||||
    "gatsby-remark-images-medium-zoom": "^1.7.0",
 | 
			
		||||
    "gatsby-remark-prismjs": "^7.13.2",
 | 
			
		||||
    "gatsby-remark-responsive-iframe": "^6.13.2",
 | 
			
		||||
    "gatsby-remark-smartypants": "^6.13.1",
 | 
			
		||||
    "gatsby-source-filesystem": "^5.13.1",
 | 
			
		||||
    "gatsby-transformer-remark": "^6.13.1",
 | 
			
		||||
    "gatsby-transformer-sharp": "^5.13.1",
 | 
			
		||||
    "gatsby-remark-prismjs": "^7.14.0",
 | 
			
		||||
    "gatsby-remark-responsive-iframe": "^6.14.0",
 | 
			
		||||
    "gatsby-remark-smartypants": "^6.14.0",
 | 
			
		||||
    "gatsby-source-filesystem": "^5.14.0",
 | 
			
		||||
    "gatsby-transformer-remark": "^6.14.0",
 | 
			
		||||
    "gatsby-transformer-sharp": "^5.14.0",
 | 
			
		||||
    "prismjs": "^1.29.0",
 | 
			
		||||
    "react": "^18.3.1",
 | 
			
		||||
    "react-cookie-consent": "^8.0.1",
 | 
			
		||||
    "react-cookie-consent": "^9.0.0",
 | 
			
		||||
    "react-dom": "^18.3.1",
 | 
			
		||||
    "react-helmet": "^6.1.0",
 | 
			
		||||
    "react-toggle": "^4.1.3",
 | 
			
		||||
    "reading-time": "^1.5.0"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@commitlint/config-conventional": "^17.6.6",
 | 
			
		||||
    "@commitlint/cz-commitlint": "^17.5.0",
 | 
			
		||||
    "@jest/globals": "^29.5.0",
 | 
			
		||||
    "@commitlint/config-conventional": "^17.8.1",
 | 
			
		||||
    "@commitlint/cz-commitlint": "^19.6.1",
 | 
			
		||||
    "@jest/globals": "^29.7.0",
 | 
			
		||||
    "@mastermindzh/eslint-config": "^1.0.2",
 | 
			
		||||
    "@mastermindzh/prettier-config": "^1.0.0",
 | 
			
		||||
    "@semantic-release/exec": "6.0.3",
 | 
			
		||||
    "@semantic-release/git": "10.0.1",
 | 
			
		||||
    "@swc/core": "^1.3.67",
 | 
			
		||||
    "@swc/jest": "^0.2.26",
 | 
			
		||||
    "@types/gatsby-transformer-remark": "^2.9.1",
 | 
			
		||||
    "@types/jest": "^29.5.2",
 | 
			
		||||
    "@types/node": "^18.15.11",
 | 
			
		||||
    "@types/react": "^18.2.14",
 | 
			
		||||
    "@types/react-dom": "^18.2.6",
 | 
			
		||||
    "@swc/core": "^1.10.4",
 | 
			
		||||
    "@swc/jest": "^0.2.37",
 | 
			
		||||
    "@types/gatsby-transformer-remark": "^2.9.4",
 | 
			
		||||
    "@types/jest": "^29.5.14",
 | 
			
		||||
    "@types/node": "^22.10.3",
 | 
			
		||||
    "@types/react": "^18.3.18",
 | 
			
		||||
    "@types/react-dom": "^18.3.5",
 | 
			
		||||
    "@types/react-helmet": "^6.1.6",
 | 
			
		||||
    "@types/react-test-renderer": "^18.0.0",
 | 
			
		||||
    "@types/react-toggle": "^4.0.3",
 | 
			
		||||
    "@typescript-eslint/eslint-plugin": "^5.60.1",
 | 
			
		||||
    "@typescript-eslint/parser": "^5.60.1",
 | 
			
		||||
    "autoprefixer": "^10.4.14",
 | 
			
		||||
    "browserslist": "^4.21.9",
 | 
			
		||||
    "@types/react-test-renderer": "^18.3.1",
 | 
			
		||||
    "@types/react-toggle": "^4.0.5",
 | 
			
		||||
    "@typescript-eslint/eslint-plugin": "^5.62.0",
 | 
			
		||||
    "@typescript-eslint/parser": "^5.62.0",
 | 
			
		||||
    "autoprefixer": "^10.4.20",
 | 
			
		||||
    "browserslist": "^4.24.3",
 | 
			
		||||
    "codecov": "^3.8.3",
 | 
			
		||||
    "commitizen": "^4.3.0",
 | 
			
		||||
    "commitlint": "^17.6.6",
 | 
			
		||||
    "concurrently": "^8.2.0",
 | 
			
		||||
    "eslint": "^8.43.0",
 | 
			
		||||
    "commitizen": "^4.3.1",
 | 
			
		||||
    "commitlint": "^19.6.1",
 | 
			
		||||
    "concurrently": "^9.1.2",
 | 
			
		||||
    "eslint": "^8.57.1",
 | 
			
		||||
    "eslint-config-airbnb": "^19.0.4",
 | 
			
		||||
    "eslint-config-airbnb-typescript": "^17.0.0",
 | 
			
		||||
    "eslint-config-prettier": "^8.8.0",
 | 
			
		||||
    "eslint-config-airbnb-typescript": "^17.1.0",
 | 
			
		||||
    "eslint-config-prettier": "^8.10.0",
 | 
			
		||||
    "eslint-config-react-app": "^7.0.1",
 | 
			
		||||
    "eslint-import-resolver-typescript": "^3.5.5",
 | 
			
		||||
    "eslint-import-resolver-typescript": "^3.7.0",
 | 
			
		||||
    "eslint-plugin-flowtype": "^8.0.3",
 | 
			
		||||
    "eslint-plugin-import": "^2.27.5",
 | 
			
		||||
    "eslint-plugin-jest": "^27.2.2",
 | 
			
		||||
    "eslint-plugin-jsx-a11y": "^6.7.1",
 | 
			
		||||
    "eslint-plugin-import": "^2.31.0",
 | 
			
		||||
    "eslint-plugin-jest": "^27.9.0",
 | 
			
		||||
    "eslint-plugin-jsx-a11y": "^6.10.2",
 | 
			
		||||
    "eslint-plugin-prettier": "^4.2.1",
 | 
			
		||||
    "eslint-plugin-react": "^7.32.2",
 | 
			
		||||
    "eslint-plugin-react-hooks": "^4.6.0",
 | 
			
		||||
    "eslint-plugin-react": "^7.37.3",
 | 
			
		||||
    "eslint-plugin-react-hooks": "^4.6.2",
 | 
			
		||||
    "eslint-plugin-simple-import-sort": "^10.0.0",
 | 
			
		||||
    "husky": "^8.0.3",
 | 
			
		||||
    "identity-obj-proxy": "3.0.0",
 | 
			
		||||
    "jest": "^29.5.0",
 | 
			
		||||
    "jest-cli": "^29.5.0",
 | 
			
		||||
    "jest-environment-jsdom": "^29.5.0",
 | 
			
		||||
    "jest": "^29.7.0",
 | 
			
		||||
    "jest-cli": "^29.7.0",
 | 
			
		||||
    "jest-environment-jsdom": "^29.7.0",
 | 
			
		||||
    "jest-svg-transformer": "^1.0.0",
 | 
			
		||||
    "lint-staged": "^13.2.3",
 | 
			
		||||
    "lost": "9.0.1",
 | 
			
		||||
    "markdownlint": "^0.29.0",
 | 
			
		||||
    "postcss": "^8.4.24",
 | 
			
		||||
    "postcss-scss": "^4.0.6",
 | 
			
		||||
    "lint-staged": "^15.3.0",
 | 
			
		||||
    "lost": "9.0.2",
 | 
			
		||||
    "markdownlint": "^0.37.3",
 | 
			
		||||
    "postcss": "^8.4.49",
 | 
			
		||||
    "postcss-scss": "^4.0.9",
 | 
			
		||||
    "prettier": "^2.8.8",
 | 
			
		||||
    "prettier-plugin-packagejson": "^2.4.3",
 | 
			
		||||
    "react-test-renderer": "^18.2.0",
 | 
			
		||||
    "rimraf": "^4.4.1",
 | 
			
		||||
    "sass": "^1.63.6",
 | 
			
		||||
    "prettier-plugin-packagejson": "^2.5.6",
 | 
			
		||||
    "react-test-renderer": "^18.3.1",
 | 
			
		||||
    "rimraf": "^6.0.1",
 | 
			
		||||
    "sass": "^1.83.0",
 | 
			
		||||
    "source-map-support": "^0.5.21",
 | 
			
		||||
    "standard-version": "^9.5.0",
 | 
			
		||||
    "stylelint": "^15.9.0",
 | 
			
		||||
    "stylelint-config-recommended-scss": "^9.0.1",
 | 
			
		||||
    "stylelint-order": "^6.0.3",
 | 
			
		||||
    "stylelint-scss": "^4.6.0",
 | 
			
		||||
    "ts-node": "^10.9.1",
 | 
			
		||||
    "typescript": "^5.1.6",
 | 
			
		||||
    "unist-util-find": "1.0.2"
 | 
			
		||||
  },
 | 
			
		||||
  "config": {
 | 
			
		||||
    "commitizen": {
 | 
			
		||||
      "path": "@commitlint/cz-commitlint"
 | 
			
		||||
    }
 | 
			
		||||
    "stylelint": "^16.12.0",
 | 
			
		||||
    "stylelint-config-recommended-scss": "^14.1.0",
 | 
			
		||||
    "stylelint-order": "^6.0.4",
 | 
			
		||||
    "stylelint-scss": "^6.10.0",
 | 
			
		||||
    "ts-node": "^10.9.2",
 | 
			
		||||
    "typescript": "^5.7.2",
 | 
			
		||||
    "unist-util-find": "3.0.0"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user