Skip to content

Commit f8ffdaa

Browse files
committed
chore: bump next and all deps
1 parent fa88ed4 commit f8ffdaa

File tree

5 files changed

+1335
-829
lines changed

5 files changed

+1335
-829
lines changed

.lintstagedrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"*.{js,jsx,ts,tsx,css,md,html}": ["prettier --ignore-path .gitignore --write", "git add"]
2+
"*.{js,jsx,ts,tsx,css,md,html}": ["prettier --ignore-path .gitignore --write"]
33
}

conferences/big-party-v/layout.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Head from 'next/head'
22

3-
// import { normalizeStyles } from '../../components'
43
import normalizeCss from '../../components/normalize.css'
54

65
import { stylesUtils } from './utils.styles'

next.config.js

+3-13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// @ts-check
22

3-
const withCSS = require('@zeit/next-css')
4-
5-
const cfg = {
3+
const config = {
64
/**
75
* @type {import('./next-config').WebpackConfig}
86
*/
@@ -19,10 +17,7 @@ const cfg = {
1917
loader: require('styled-jsx/webpack').loader,
2018

2119
options: /** @type {import('styled-jsx/webpack-config').Options} */ ({
22-
type: (fileName, options) =>
23-
fileName.endsWith('.module.css')
24-
? 'scoped'
25-
: options.query.type || 'global',
20+
type: 'global',
2621
}),
2722
},
2823
],
@@ -34,9 +29,4 @@ const cfg = {
3429
},
3530
}
3631

37-
const config = withCSS({
38-
/* config options here */
39-
...cfg,
40-
})
41-
42-
module.exports = cfg
32+
module.exports = config

package.json

+9-10
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "next build",
88
"export": "next export",
99
"start": "next start",
10-
"deploy":"rm -rf out && yarn build && yarn export && touch out/.nojekyll",
10+
"deploy": "rm -rf out && yarn build && yarn export && touch out/.nojekyll",
1111
"deploy:gh": "cp -R out/ ../ngparty.github.io/",
1212
"format:base": "prettier --ignore-path .gitignore \"**/*.{js,jsx,ts,tsx,css,md,html}\"",
1313
"format": "yarn format:base --write",
@@ -21,21 +21,20 @@
2121
}
2222
},
2323
"dependencies": {
24-
"next": "9.1.4",
25-
"react": "16.11.0",
26-
"react-dom": "16.11.0"
24+
"next": "9.2.2",
25+
"react": "16.13.0",
26+
"react-dom": "16.13.0"
2727
},
2828
"devDependencies": {
2929
"@types/node": "12.12.7",
30-
"@types/react": "16.9.11",
30+
"@types/react": "16.9.23",
3131
"@types/styled-jsx": "2.2.8",
32-
"@types/webpack": "4.41.0",
33-
"@zeit/next-css": "1.0.1",
34-
"husky": "3.0.9",
35-
"lint-staged": "9.4.2",
32+
"@types/webpack": "4.41.7",
33+
"husky": "4.2.3",
34+
"lint-staged": "10.0.8",
3635
"prettier": "1.19.1",
3736
"raw-loader": "4.0.0",
3837
"styled-jsx": "3.2.4",
39-
"typescript": "3.7.2"
38+
"typescript": "3.8.3"
4039
}
4140
}

0 commit comments

Comments
 (0)