Skip to content

Commit

Permalink
chore: upgrade webpack, babel and minor packages
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-hulski committed Jun 16, 2023
1 parent 0d9c308 commit cbb3182
Show file tree
Hide file tree
Showing 19 changed files with 18,463 additions and 46,815 deletions.
65,144 changes: 18,403 additions & 46,741 deletions package-lock.json

Large diffs are not rendered by default.

49 changes: 25 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
},
"dependencies": {
"@absinthe/socket": "0.2.1",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"axios": "0.21.2",
"color": "3.0.0",
"color-hash": "1.0.3",
"electron": "23.1.0",
"electron": "13.1.2",
"electron-json-storage": "4.5.0",
"electron-prompt": "1.6.2",
"emotion": "9.2.12",
Expand Down Expand Up @@ -60,27 +60,28 @@
"svelte": "3.49.0",
"tslib": "2.3.0",
"vue": "3.0.0-rc.10",
"ws": "7.0.0"
"ws": "7.5.9"
},
"devDependencies": {
"@babel/core": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-transform-react-jsx": "7.1.6",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.1.0",
"@babel/core": "7.22.5",
"@babel/node": "^7.22.5",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-react-jsx": "7.22.5",
"@babel/preset-react": "7.22.5",
"@babel/preset-typescript": "7.22.5",
"@testing-library/jest-dom": "5.3.0",
"@testing-library/svelte": "3.0.0",
"@types/jest": "25.2.3",
"@types/node": "12.11.6",
"@types/node": "20.3.1",
"@types/phoenix": "1.4.4",
"@types/react": "16.7.13",
"@types/react-dom": "16.0.6",
"@types/vscode": "^1.52.0",
"@types/ws": "6.0.1",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"babel-loader": "^8.0.5",
"@types/vscode": "^1.79.1",
"@types/ws": "7.4.7",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"babel-loader": "^8.3.0",
"bundlesize": "0.17.2",
"commitizen": "^4.2.4",
"concurrently": "3.6.1",
Expand All @@ -96,7 +97,7 @@
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-standard": "^4.0.1",
"html-webpack-plugin": "5.5.0",
"html-webpack-plugin": "5.5.3",
"husky": "^0.14.3",
"jest": "24.9.0",
"jsdom": "16.5.0",
Expand All @@ -109,18 +110,18 @@
"rimraf": "2.6.2",
"source-map-loader": "0.2.4",
"svelte-jester": "1.1.5",
"terser-webpack-plugin": "1.3.0",
"terser-webpack-plugin": "5.3.9",
"ts-jest": "24.2.0",
"ts-loader": "4.4.2",
"tslib": "2.3.0",
"tslint": "5.12.1",
"typescript": "^4.3.4",
"url-loader": "1.0.1",
"url-loader": "4.1.1",
"vue": "3.0.0-rc.10",
"webpack": "4.35.0",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.1.11",
"webpack-merge": "4.2.1"
"webpack": "5.87.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1",
"webpack-merge": "5.9.0"
},
"lint-staged": {
"*.{js,ts,tsx}": [
Expand Down
2 changes: 1 addition & 1 deletion packages/betsy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"es"
],
"devDependencies": {
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"tslib": "^2.3.0"
}
}
12 changes: 6 additions & 6 deletions packages/overmind-devtools-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"react": "16.9.0",
"react-dom": "16.9.0",
"react-split-pane": "^0.1.87",
"ws": "^7.0.0"
"ws": "^7.5.9"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@types/node": "^12.11.6",
"@types/ws": "6.0.1",
"terser-webpack-plugin": "^1.3.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@types/node": "^20.3.1",
"@types/ws": "7.4.7",
"terser-webpack-plugin": "^5.3.9",
"tslib": "^2.3.0",
"webpack-merge": "^4.2.1"
"webpack-merge": "^5.9.0"
}
}
2 changes: 1 addition & 1 deletion packages/overmind-devtools-client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
filename: 'bundle.js',
},
devServer: {
disableHostCheck: true,
allowedHosts: 'all',
},
module: {
rules: [
Expand Down
10 changes: 6 additions & 4 deletions packages/overmind-devtools-client/webpack.prod.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
const merge = require('webpack-merge')
const { merge } = require('webpack-merge')
const base = require('./webpack.config.js')

const TerserPlugin = require('terser-webpack-plugin')

module.exports = merge(base, {
devtool: 'source-map',
mode: 'production',
devtool: 'source-map',
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
test: /\.js(\?.*)?$/i,
parallel: true,
sourceMap: true,
terserOptions: {
sourceMap: true,
},
}),
],
},
Expand Down
3 changes: 1 addition & 2 deletions packages/overmind-devtools-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"Other"
],
"activationEvents": [
"onCommand:overmind-devtools.start",
"onWebviewPanel:overmindDevtools"
],
"main": "./dist/extension.js",
Expand Down Expand Up @@ -63,7 +62,7 @@
"build": "rimraf devtoolsDist && cp -R ../overmind-devtools-client/dist devtoolsDist"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"tslint": "^5.12.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/overmind-devtools-vscode/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = (env) => ({
devtoolModuleFilenameTemplate: '../[resource-path]',
},
devServer: {
disableHostCheck: true,
allowedHosts: 'all',
},
externals: {
vscode: 'commonjs vscode',
Expand Down
5 changes: 2 additions & 3 deletions packages/overmind-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@
"electron-json-storage": "^4.5.0",
"electron-prompt": "^1.6.2",
"overmind-devtools-client": "next",
"ws": "^7.0.0"
"ws": "^7.5.9"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@babel/plugin-proposal-class-properties": "^7.3.4"
"@babel/plugin-proposal-class-properties": "^7.18.6"
}
}
17 changes: 0 additions & 17 deletions packages/overmind-devtools/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/overmind-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"phoenix": "^1.4.13"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"@types/phoenix": "^1.4.4",
"tslib": "^2.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/overmind-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"overmind": "next"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"tslib": "^2.3.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/overmind-statechart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"overmind": "next"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"tslib": "^2.3.0"
}
}
4 changes: 2 additions & 2 deletions packages/overmind-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
],
"dependencies": {
"overmind": "next",
"svelte": "^3.20.1"
"svelte": "^3.49.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.3.0",
"@testing-library/svelte": "^3.0.0",
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"svelte-jester": "^1.1.5",
"tslib": "^2.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/overmind-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"overmind": "next"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"tslib": "^2.3.0"
}
}
6 changes: 3 additions & 3 deletions packages/overmind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"proxy-state-tree": "next"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@types/node": "^20.3.1",
"bundlesize": "^0.17.2",
"terser-webpack-plugin": "^1.3.0",
"webpack": "^4.35.0"
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.87.0"
},
"bundlesize": [
{
Expand Down
5 changes: 3 additions & 2 deletions packages/overmind/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ module.exports = {
path: path.resolve('dist'),
filename: 'overmind.min.js',
},
devtool: 'source-map',
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
test: /\.js(\?.*)?$/i,
parallel: true,
sourceMap: true,
terserOptions: {
sourceMap: true,
module: true,
},
}),
Expand Down
4 changes: 2 additions & 2 deletions packages/proxy-state-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"homepage": "https://github.com/christianalfoni/proxy-state-tree#readme",
"devDependencies": {
"bundlesize": "^0.17.2",
"terser-webpack-plugin": "^1.3.0",
"webpack": "^4.35.0"
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.87.0"
},
"bundlesize": [
{
Expand Down
5 changes: 3 additions & 2 deletions packages/proxy-state-tree/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ module.exports = {
path: path.resolve('dist'),
filename: 'proxy-state-tree.min.js',
},
devtool: 'source-map',
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
test: /\.js(\?.*)?$/i,
parallel: true,
sourceMap: true,
terserOptions: {
sourceMap: true,
module: true,
},
}),
Expand Down

0 comments on commit cbb3182

Please sign in to comment.