Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit 58c2210

Browse files
committed
Package Upgrade
1 parent 8d09546 commit 58c2210

File tree

4 files changed

+3550
-3894
lines changed

4 files changed

+3550
-3894
lines changed

package.json

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"author": "Tushar Mistry",
77
"license": "ISC",
88
"scripts": {
9-
"start": "cross-env APP_ENV=local webpack serve --config webpack/webpack.config.js --env env=dev",
10-
"build": "webpack --config webpack/webpack.config.js --env env=prod",
9+
"start": "cross-env APP_ENV=local NODE_ENV=development webpack serve --config webpack/webpack.config.js --env env=dev",
10+
"build": "cross-env APP_ENV=production NODE_ENV=production webpack --config webpack/webpack.config.js --env env=prod",
1111
"analyze": "webpack --config webpack/webpack.config.js --env env=prod --analyze",
1212
"lint": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx,scss,css,json}\"",
1313
"format": "prettier --write \"./src/**/*.{js,jsx,ts,tsx,scss,css,json,md}\"",
@@ -30,24 +30,26 @@
3030
"styled-components"
3131
],
3232
"dependencies": {
33-
"@babel/core": "^7.14.2",
33+
"@babel/core": "^7.15.5",
3434
"@babel/plugin-transform-runtime": "^7.14.2",
35-
"@babel/preset-env": "^7.14.2",
35+
"@babel/preset-env": "^7.15.6",
3636
"@babel/preset-react": "^7.13.13",
3737
"@babel/preset-typescript": "^7.13.0",
3838
"@babel/runtime": "^7.14.0",
3939
"@svgr/webpack": "^5.5.0",
4040
"babel-loader": "^8.2.2",
41-
"copy-webpack-plugin": "^8.1.1",
42-
"css-loader": "^5.2.4",
41+
"copy-webpack-plugin": "^9.0.1",
42+
"css-loader": "^6.2.0",
4343
"dotenv-webpack": "^7.0.2",
4444
"html-webpack-plugin": "^5.3.1",
4545
"react": "^17.0.2",
4646
"react-dom": "^17.0.2",
47-
"style-loader": "^2.0.0",
47+
"style-loader": "^3.2.1",
4848
"styled-components": "^5.3.0",
49+
"terser-webpack-plugin": "^5.2.4",
50+
"ts-loader": "^9.2.5",
4951
"typescript": "^4.2.4",
50-
"webpack": "^5.37.0",
52+
"webpack": "^5.52.1",
5153
"webpack-cli": "^4.7.0",
5254
"webpack-merge": "^5.7.3"
5355
},
@@ -57,34 +59,37 @@
5759
"@storybook/addon-essentials": "^6.2.9",
5860
"@storybook/addon-links": "^6.2.9",
5961
"@storybook/builder-webpack5": "^6.2.9",
62+
"@storybook/manager-webpack5": "^6.3.8",
6063
"@storybook/react": "^6.2.9",
64+
"@storybook/theming": "^6.3.8",
6165
"@testing-library/jest-dom": "^5.12.0",
62-
"@testing-library/react": "^11.2.7",
63-
"@types/jest": "^26.0.23",
64-
"@types/react": "^17.0.5",
66+
"@testing-library/react": "^12.0.0",
67+
"@types/jest": "^27.0.1",
68+
"@types/node": "^16.9.1",
69+
"@types/react": "^17.0.20",
6570
"@types/react-dom": "^17.0.5",
66-
"@types/styled-components": "^5.1.9",
67-
"@typescript-eslint/eslint-plugin": "^4.23.0",
68-
"@typescript-eslint/parser": "^4.23.0",
71+
"@types/styled-components": "^5.1.14",
72+
"@typescript-eslint/eslint-plugin": "^4.31.0",
73+
"@typescript-eslint/parser": "^4.31.0",
6974
"cross-env": "^7.0.3",
7075
"eslint": "^7.26.0",
7176
"eslint-config-airbnb": "18.2.1",
7277
"eslint-config-prettier": "^8.3.0",
7378
"eslint-plugin-import": "^2.23.1",
7479
"eslint-plugin-jest": "^24.3.6",
7580
"eslint-plugin-jsx-a11y": "^6.4.1",
76-
"eslint-plugin-prettier": "^3.4.0",
81+
"eslint-plugin-prettier": "^4.0.0",
7782
"eslint-plugin-react": "^7.23.2",
7883
"eslint-plugin-react-hooks": "^4.2.0",
79-
"husky": "6.0.0",
80-
"jest": "^26.6.3",
84+
"husky": "7.0.2",
85+
"jest": "^27.1.1",
8186
"lint-staged": "^11.0.0",
82-
"netlify-cli": "^3.29.15",
83-
"prettier": "^2.3.0",
87+
"netlify-cli": "^6.8.12",
88+
"prettier": "^2.4.0",
8489
"react-refresh": "^0.10.0",
85-
"ts-jest": "26.5.6",
86-
"ts-node": "9.1.1",
87-
"webpack-bundle-analyzer": "4.4.1",
88-
"webpack-dev-server": "3.11.2"
90+
"ts-jest": "27.0.5",
91+
"ts-node": "10.2.1",
92+
"webpack-bundle-analyzer": "4.4.2",
93+
"webpack-dev-server": "4.2.0"
8994
}
9095
}

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"typeRoots": ["./node_modules/@types"],
77
"lib": ["dom", "esnext"] /* Specify library files to be included in the compilation. */,
88
"jsx": "react-jsx" /* Specify JSX code generation: 'preserve', 'react-native', 'react' or 'react-jsx'. */,
9-
"noEmit": true /* Do not emit outputs. */,
109
"isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */,
1110
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
1211
"strict": true /* Enable all strict type-checking options. */,

webpack/webpack.common.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ module.exports = {
3131
{
3232
test: /\.(ts|js)x?$/,
3333
exclude: /node_modules/,
34-
use: [
35-
{
36-
loader: 'babel-loader',
37-
},
38-
],
34+
use: ['babel-loader'],
3935
},
4036
{
4137
test: /\.(c|sc)ss$/,

0 commit comments

Comments
 (0)