Skip to content

Commit

Permalink
refactor: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidZORO committed Jul 1, 2021
1 parent 991a36a commit e494bfd
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 104 deletions.
1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
20 changes: 10 additions & 10 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
const withAntdLess = require('next-plugin-antd-less');

module.exports = withAntdLess({
modifyVars: {
'@THEME--DARK': 'theme-dark',
},
// modifyVars: {
// '@THEME--DARK': 'theme-dark',
// },
lessVarsFilePath: './src/styles/variables.less',
cssLoaderOptions: {
esModule: false,
sourceMap: false,
modules: {
mode: 'local',
},
},
// cssLoaderOptions: {
// esModule: false,
// sourceMap: false,
// modules: {
// mode: 'local',
// },
// },

// Other NextConfig Here...
webpack(config) {
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"build": "next build"
},
"dependencies": {
"antd": "^4.16.3",
"antd": "^4.16.6",
"autoprefixer": "^10.2.6",
"axios": "^0.21.0",
"classnames": "^2.3.1",
"css-loader": "^5.2.6",
"next": "11.0.0",
"next": "11.0.1",
"next-plugin-antd-less": "^1.3.0",
"normalize.css": "^8.0.1",
"react": "17.0.2",
Expand All @@ -44,29 +44,29 @@
"@types/classnames": "^2.3.1",
"@types/eslint": "^7.2.13",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/node": "^15.12.2",
"@types/node": "^15.12.5",
"@types/prettier": "^2.3.0",
"@types/react": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"babel-plugin-import": "^1.13.3",
"babel-plugin-module-resolver": "^4.0.0",
"commitlint": "^12.1.4",
"eslint": "^7.28.0",
"eslint": "^7.29.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-next": "^11.0.0",
"eslint-config-next": "^11.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"husky": "^7.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.1",
"pretty-quick": "^3.1.0",
"typescript": "^4.3.2"
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"typescript": "^4.3.5"
}
}
Loading

0 comments on commit e494bfd

Please sign in to comment.