package updates

* remove @zeit/next-css (built into Next.js now)
* closes #6
* closes #7
* closes #8
This commit is contained in:
Matthias Kretschmann 2020-01-28 10:57:52 +01:00
parent d0c4fb9c54
commit caf5978143
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 1403 additions and 984 deletions

View File

@ -1,4 +1,3 @@
const withCSS = require('@zeit/next-css')
const withMDX = require('@next/mdx')()
// eslint-disable-next-line no-unused-vars
@ -26,13 +25,4 @@ const withSvgr = (nextConfig = {}, nextComposePlugins = {}) => {
})
}
module.exports = withSvgr(
withMDX(
withCSS({
cssModules: true,
cssLoaderOptions: {
localIdentName: '[local]___[hash:base64:5]'
}
})
)
)
module.exports = withSvgr(withMDX())

2348
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,15 +12,14 @@
"author": "Matthias Kretschmann <matthias@oceanprotocol.com>",
"license": "Apache-2.0",
"dependencies": {
"@mdx-js/loader": "^1.5.3",
"@next/mdx": "^9.1.7",
"@mdx-js/loader": "^1.5.5",
"@next/mdx": "^9.2.1",
"@oceanprotocol/art": "^2.2.0",
"@oceanprotocol/typographies": "^0.1.0",
"@zeit/next-css": "^1.0.1",
"axios": "^0.19.0",
"ipfs-http-client": "^40.1.0",
"next": "9.1.7",
"next-seo": "^3.2.0",
"axios": "^0.19.2",
"ipfs-http-client": "^41.0.1",
"next": "9.2.1",
"next-seo": "^3.4.0",
"next-svgr": "^0.0.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
@ -28,19 +27,19 @@
},
"devDependencies": {
"@types/next-seo": "^1.10.0",
"@types/node": "^12.12.24",
"@types/react": "^16.9.17",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"@types/node": "^12.12.25",
"@types/react": "^16.9.19",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-config-oceanprotocol": "^1.5.0",
"eslint-config-prettier": "^6.9.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react": "^7.18.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.19.1",
"typescript": "^3.7.4"
"typescript": "^3.7.5"
},
"repository": {
"type": "git",