1
0
Fork 0

package updates

This commit is contained in:
Matthias Kretschmann 2019-11-15 21:15:43 +01:00
parent ba42cc2635
commit 06ea9bd8d1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 30 additions and 37 deletions

View File

@ -121,12 +121,6 @@ exports.onPostBuild = async ({ graphql }) => {
// https://github.com/ethereum/web3.js/issues/1105#issuecomment-446039296
exports.onCreateWebpackConfig = ({ actions }) => {
actions.setWebpackConfig({
resolve: {
alias: {
// replace native `scrypt` module with pure js `js-scrypt`
scrypt: 'js-scrypt'
}
},
plugins: [
// ignore these plugins completely
new webpack.IgnorePlugin(/^(?:electron|ws)$/)

View File

@ -35,43 +35,42 @@
"dms2dec": "^1.1.0",
"fast-exif": "^1.0.1",
"fraction.js": "^4.0.12",
"gatsby": "^2.17.9",
"gatsby-image": "^2.2.30",
"gatsby-plugin-catch-links": "^2.1.15",
"gatsby-plugin-feed": "^2.3.19",
"gatsby": "^2.17.15",
"gatsby-image": "^2.2.33",
"gatsby-plugin-catch-links": "^2.1.17",
"gatsby-plugin-feed": "^2.3.21",
"gatsby-plugin-lunr": "^1.5.2",
"gatsby-plugin-manifest": "^2.2.26",
"gatsby-plugin-manifest": "^2.2.28",
"gatsby-plugin-matomo": "^0.7.2",
"gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-plugin-offline": "^3.0.18",
"gatsby-plugin-react-helmet": "^3.1.13",
"gatsby-plugin-sass": "^2.1.20",
"gatsby-plugin-sharp": "^2.2.36",
"gatsby-plugin-sitemap": "^2.2.19",
"gatsby-plugin-offline": "^3.0.21",
"gatsby-plugin-react-helmet": "^3.1.15",
"gatsby-plugin-sass": "^2.1.23",
"gatsby-plugin-sharp": "^2.3.0",
"gatsby-plugin-sitemap": "^2.2.21",
"gatsby-plugin-svgr": "^2.0.2",
"gatsby-plugin-typescript": "^2.1.15",
"gatsby-plugin-typescript": "^2.1.18",
"gatsby-plugin-use-dark-mode": "^1.1.2",
"gatsby-plugin-webpack-size": "^1.0.0",
"gatsby-redirect-from": "^0.2.1",
"gatsby-remark-autolink-headers": "^2.1.16",
"gatsby-remark-copy-linked-files": "^2.1.28",
"gatsby-remark-images": "^3.1.29",
"gatsby-remark-smartypants": "^2.1.14",
"gatsby-remark-autolink-headers": "^2.1.18",
"gatsby-remark-copy-linked-files": "^2.1.30",
"gatsby-remark-images": "^3.1.31",
"gatsby-remark-smartypants": "^2.1.16",
"gatsby-remark-vscode": "^1.3.0",
"gatsby-source-filesystem": "^2.1.35",
"gatsby-source-graphql": "^2.1.21",
"gatsby-transformer-remark": "^2.6.32",
"gatsby-transformer-sharp": "^2.3.2",
"gatsby-source-filesystem": "^2.1.37",
"gatsby-source-graphql": "^2.1.23",
"gatsby-transformer-remark": "^2.6.35",
"gatsby-transformer-sharp": "^2.3.5",
"graphql": "^14.5.8",
"intersection-observer": "^0.7.0",
"js-scrypt": "^0.2.0",
"load-script": "^1.0.0",
"pigeon-maps": "^0.14.0",
"pigeon-marker": "^0.3.4",
"react": "^16.11.0",
"react": "^16.12.0",
"react-blockies": "^1.4.1",
"react-clipboard.js": "^2.0.13",
"react-dom": "^16.11.0",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
"react-modal": "^3.11.1",
"react-pose": "^4.0.9",
@ -93,7 +92,7 @@
"@types/classnames": "^2.2.9",
"@types/jest": "^24.0.21",
"@types/lunr": "^2.3.2",
"@types/node": "^12.12.7",
"@types/node": "^12.12.8",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"@types/react-helmet": "^5.0.14",

View File

@ -25,7 +25,7 @@ export default function Menu() {
return (
<>
<Helmet>
<html className={menuOpen ? 'has-menu-open' : null} lang="en" />
<html className={menuOpen ? 'has-menu-open' : undefined} lang="en" />
</Helmet>
<Hamburger onClick={toggleMenu} />
<nav className={styles.menu}>

View File

@ -1,16 +1,16 @@
{
"compilerOptions": {
"outDir": "./dist/",
"sourceMap": true,
"noImplicitAny": true,
"module": "commonjs",
"target": "esnext",
"jsx": "react",
"module": "commonjs",
"lib": ["dom", "esnext"],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"allowJs": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"jsx": "react",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"noImplicitAny": true
},
"exclude": ["node_modules", "public", ".cache", "*.js"],
"include": ["./src/**/*", "./jest/**/*"]