mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-13 15:29:16 +01:00
fix: dependency updates and the removal of hatsby-plugin-offline
This commit is contained in:
parent
0f7c99907f
commit
302c6d00e2
@ -164,31 +164,6 @@ export default {
|
||||
start_url: "/",
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: "gatsby-plugin-offline",
|
||||
options: {
|
||||
workboxConfig: {
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: /(\.js$|\.css$|[^:]static\/)/,
|
||||
handler: "CacheFirst",
|
||||
},
|
||||
{
|
||||
urlPattern: /^https?:.*\/page-data\/.*\.json/,
|
||||
handler: "StaleWhileRevalidate",
|
||||
},
|
||||
{
|
||||
urlPattern: /^https?:.*\.(png|jpg|jpeg|webp|svg|gif|tiff|js|woff|woff2|json|css)$/,
|
||||
handler: "StaleWhileRevalidate",
|
||||
},
|
||||
{
|
||||
urlPattern: /^https?:\/\/fonts\.googleapis\.com\/css/,
|
||||
handler: "StaleWhileRevalidate",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: "gatsby-plugin-react-helmet-canonical-urls",
|
||||
options: {
|
||||
@ -196,6 +171,8 @@ export default {
|
||||
stripQueryString: true,
|
||||
},
|
||||
},
|
||||
// remove the old serviceworker if it is available.
|
||||
"gatsby-plugin-remove-serviceworker",
|
||||
"gatsby-plugin-image",
|
||||
"gatsby-plugin-catch-links",
|
||||
"gatsby-plugin-react-helmet",
|
||||
|
1639
package-lock.json
generated
1639
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
40
package.json
40
package.json
@ -49,25 +49,25 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "^6.3.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.3.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
||||
"@fortawesome/react-fontawesome": "^0.2.0",
|
||||
"classnames": "^2.3.2",
|
||||
"disqus-react": "^1.1.5",
|
||||
"gatsby": "^5.8.0",
|
||||
"gatsby": "^5.8.1",
|
||||
"gatsby-link": "^5.8.0",
|
||||
"gatsby-plugin-catch-links": "^5.8.0",
|
||||
"gatsby-plugin-feed": "^5.8.0",
|
||||
"gatsby-plugin-google-gtag": "^5.8.0",
|
||||
"gatsby-plugin-image": "^3.8.0",
|
||||
"gatsby-plugin-manifest": "^5.8.0",
|
||||
"gatsby-plugin-offline": "^6.8.0",
|
||||
"gatsby-plugin-optimize-svgs": "^1.0.5",
|
||||
"gatsby-plugin-react-helmet": "^6.8.0",
|
||||
"gatsby-plugin-react-helmet-canonical-urls": "^1.4.0",
|
||||
"gatsby-plugin-remove-serviceworker": "^1.0.0",
|
||||
"gatsby-plugin-robots-txt": "^1.8.0",
|
||||
"gatsby-plugin-sass": "^6.8.0",
|
||||
"gatsby-plugin-sharp": "^5.8.0",
|
||||
"gatsby-plugin-sharp": "^5.8.1",
|
||||
"gatsby-plugin-sitemap": "^6.8.0",
|
||||
"gatsby-remark-autolink-headers": "^6.8.0",
|
||||
"gatsby-remark-copy-linked-files": "^6.8.0",
|
||||
@ -89,32 +89,32 @@
|
||||
"reading-time": "^1.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/config-conventional": "^17.4.4",
|
||||
"@commitlint/config-conventional": "^17.6.1",
|
||||
"@commitlint/cz-commitlint": "^17.5.0",
|
||||
"@jest/globals": "^29.5.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.42",
|
||||
"@swc/jest": "^0.2.24",
|
||||
"@swc/core": "^1.3.51",
|
||||
"@swc/jest": "^0.2.26",
|
||||
"@types/gatsby-transformer-remark": "^2.9.1",
|
||||
"@types/jest": "^29.5.0",
|
||||
"@types/node": "^18.15.10",
|
||||
"@types/react": "^18.0.29",
|
||||
"@types/node": "^18.15.11",
|
||||
"@types/react": "^18.0.37",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@types/react-helmet": "^6.1.6",
|
||||
"@types/react-test-renderer": "^18.0.0",
|
||||
"@types/react-toggle": "^4.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
||||
"@typescript-eslint/parser": "^5.56.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
||||
"@typescript-eslint/parser": "^5.59.0",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"browserslist": "^4.21.5",
|
||||
"codecov": "^3.8.3",
|
||||
"commitizen": "^4.3.0",
|
||||
"commitlint": "^17.5.0",
|
||||
"commitlint": "^17.6.1",
|
||||
"concurrently": "^7.6.0",
|
||||
"eslint": "^8.36.0",
|
||||
"eslint": "^8.38.0",
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
@ -134,28 +134,28 @@
|
||||
"jest-cli": "^29.5.0",
|
||||
"jest-environment-jsdom": "^29.5.0",
|
||||
"jest-svg-transformer": "^1.0.0",
|
||||
"lint-staged": "^13.2.0",
|
||||
"lint-staged": "^13.2.1",
|
||||
"lost": "9.0.1",
|
||||
"markdownlint": "^0.28.0",
|
||||
"markdownlint": "^0.28.1",
|
||||
"postcss": "^8.4.21",
|
||||
"postcss-scss": "^4.0.6",
|
||||
"prettier": "^2.8.7",
|
||||
"prettier-plugin-packagejson": "^2.4.3",
|
||||
"react-test-renderer": "^18.2.0",
|
||||
"rimraf": "^4.4.1",
|
||||
"sass": "^1.60.0",
|
||||
"sass": "^1.62.0",
|
||||
"source-map-support": "^0.5.21",
|
||||
"standard-version": "^9.5.0",
|
||||
"stylelint": "^15.3.0",
|
||||
"stylelint": "^15.5.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.0.2"
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "@commitlint/cz-commitlint"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -69,7 +69,7 @@ RewriteCond %{REQUEST_FILENAME} !-f
|
||||
<Files *.html>
|
||||
FileETag None
|
||||
Header unset ETag
|
||||
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
|
||||
Header set Cache-Control "public, max-age=0, must-revalidate"
|
||||
Header set Pragma "no-cache"
|
||||
Header set Expires "Thu, 1 Jan 1970 00:00:00 UTC"
|
||||
</Files>
|
||||
|
Loading…
Reference in New Issue
Block a user