Skip to content

Commit

Permalink
Revert all changes back, remove webpack 4 from the root
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoliik-lyft committed Jul 8, 2023
1 parent 863b51f commit e3d7189
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@
"tmp": "^0.1.0",
"typescript": "^3.7.5",
"web-streams-polyfill": "^3.1.1",
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"yargs": "^15.3.1"
},
"devEngines": {
Expand Down
2 changes: 2 additions & 0 deletions packages/react-devtools-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"devDependencies": {
"cross-env": "^3.1.4",
"process": "0.11.10",
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"workerize-loader": "^2.0.2"
}
}
9 changes: 1 addition & 8 deletions packages/react-devtools-extensions/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,7 @@ const build = async (tempPath, manifestPath) => {
const binPath = join(tempPath, 'bin');
const zipPath = join(tempPath, 'zip');

const webpackPath = join(
__dirname,
'..',
'..',
'node_modules',
'.bin',
'webpack',
);
const webpackPath = join(__dirname, 'node_modules', '.bin', 'webpack');
execSync(
`${webpackPath} --config webpack.config.js --output-path ${binPath}`,
{
Expand Down
3 changes: 3 additions & 0 deletions packages/react-devtools-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
"source-map-js": "^0.6.2",
"sourcemap-codec": "^1.4.8",
"style-loader": "^0.23.1",
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"workerize-loader": "^2.0.2"
},
"dependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/react-devtools-inline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
"process": "^0.11.10",
"raw-loader": "^3.1.0",
"style-loader": "^0.23.1",
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"workerize-loader": "^2.0.2"
}
}
5 changes: 4 additions & 1 deletion packages/react-devtools-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"cross-env": "^3.1.4",
"css-loader": "^1.0.1",
"raw-loader": "^3.1.0",
"style-loader": "^0.23.1"
"style-loader": "^0.23.1",
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0"
}
}
5 changes: 4 additions & 1 deletion packages/react-devtools-timeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"file-loader": "^6.0.0",
"style-loader": "^1.2.1",
"url-loader": "^4.1.0",
"vercel": "^20.1.0"
"vercel": "^20.1.0",
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0"
}
}

0 comments on commit e3d7189

Please sign in to comment.