New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Webpack 5 upgrade #1996
WIP: Webpack 5 upgrade #1996
Commits on Apr 19, 2022
-
update webpack, webpack cli and webpack dev-server to latest
Thomas Roest committedApr 19, 2022 -
Update webpack-dev-server config
See migration guide for breaking changes https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md#migration-guide
Thomas Roest committedApr 19, 2022
Commits on May 17, 2022
-
Thomas Roest committed
May 17, 2022 -
Update import and remove check for errors.length
The validate function no longer returns an array with errors, but just throws errors for invalid configs
Thomas Roest committedMay 17, 2022
Commits on May 30, 2022
-
Update styleguidist options plugin test to be compatible with webpack 5
The previous implementation resulted in the following error `TypeError: The 'compilation' argument must be an instance of Compilation` Instead of using a plain obj mock, use jest.mock to mock webpack.
Thomas Roest committedMay 30, 2022
Commits on Jun 9, 2022
Commits on Jun 29, 2022
-
-
Merge pull request #1 from aboks/webpack-5-upgrade
merge commits Arnout
-
fix: TypeScript errors in StyleguidistOptionsPlugin
Also removed Webpack 4 support.
-
Thomas Roest committed
Jun 29, 2022 -
Merge pull request #2 from aboks/webpack-5-upgrade
fix: TypeScript errors in StyleguidistOptionsPlugin
-
Thomas Roest committed
Jun 29, 2022 -
Thomas Roest committed
Jun 29, 2022 -
Run npm install ( update package.lock ) with newer npm version (8.13.1)
This fixes build error / failing npm ci command: `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing
Thomas Roest committedJun 29, 2022 -
upgrade webpack dev-server to latest
Thomas Roest committedJun 29, 2022
Commits on Jun 30, 2022
-
upgrade typescript to latest version
Thomas Roest committedJun 30, 2022 -
Thomas Roest committed
Jun 30, 2022
Commits on Jul 6, 2022
-
upgrade jss to fix type errors
Thomas Roest committedJul 6, 2022 -
remove non-existing Output type
Thomas Roest committedJul 6, 2022 -
Thomas Roest committed
Jul 6, 2022 -
Thomas Roest committed
Jul 6, 2022 -
Thomas Roest committed
Jul 6, 2022 -
upgrade babel preset typescript & preset-react
Thomas Roest committedJul 6, 2022 -
add missing style return types
Thomas Roest committedJul 6, 2022
Commits on Jul 7, 2022
-
-
-
-
Thomas Roest committed
Jul 7, 2022 -
Thomas Roest committed
Jul 7, 2022 -
remove prop-types usage in places where they conflict with Typescript
Thomas Roest committedJul 7, 2022 -
Thomas Roest committed
Jul 7, 2022 -
add skipLibCheck option to skip TS errors in node_modules definition …
…files
Thomas Roest committedJul 7, 2022 -
Thomas Roest committed
Jul 7, 2022
Commits on Jul 13, 2022
-
Thomas Roest committed
Jul 13, 2022
Commits on Jul 14, 2022
-
Merge pull request #3 from aboks/webpack-5-upgrade
update test apps package.json
Commits on Jul 20, 2022
-
-
-
This package is not used anymore. Only examples-loader used a method that has been removed in the latest loader-utils version, but we rewrote that using standard Webpack 5 features.
Commits on Jul 22, 2022
-
Merge pull request #4 from aboks/webpack-5-upgrade
Webpack 5 upgrade
-
chore: upgrade clean-webpack-plugin
Thomas Roest committedJul 22, 2022 -
chore: update copy-webpack-plugin
Thomas Roest committedJul 22, 2022
Commits on Jul 24, 2022
-
Thomas Roest committed
Jul 24, 2022
Commits on Aug 4, 2022
-
chore: ignore 'impossible' situation in test coverage
There are almost no situations in which ReactDOM.render throws a synchronous error. The only one currently is when the provided container is not a DOM node, but that situation is impossible to cover in a test. It seems fine to keep the catch clause here for when ReactDOM.render possibly changes in the future, but we should ignore it w.r.t. test coverage.
Commits on Aug 10, 2022
-
Merge pull request #5 from aboks/webpack-5-upgrade
merge codecov fixes
-
fix: replace 'any' types in try catch with instance of Error check
Thomas Roest committedAug 10, 2022 -
fix: combine mockClear with type assertions into single line
Thomas Roest committedAug 10, 2022 -
fix: add correct webpack plugin types
Thomas Roest committedAug 10, 2022 -
Remove tapable from package.json
It was only used for a few webpack plugin types that have been replaced in #a949222
Thomas Roest committedAug 10, 2022
Commits on Aug 15, 2022
-
fix: combine styleguidist options plugin tests into single file
Thomas Roest committedAug 15, 2022
Commits on Aug 16, 2022
-
test: improve / add valid webpack config tests with expect not.toThrow()
Thomas Roest committedAug 16, 2022
Commits on Aug 17, 2022
-
Thomas Roest committed
Aug 17, 2022
Commits on Aug 18, 2022
-
fix: add additional ignore statement to skip coverage check
Thomas Roest committedAug 18, 2022
Commits on Aug 19, 2022
-
fix: fix/replace newly added any types
Thomas Roest committedAug 19, 2022
Commits on Aug 22, 2022
-
Fix: fix eslint no-shadow rule warnings
Eslint no-shadow https://eslint.org/docs/latest/rules/no-shadow Disallow variable declarations from shadowing variables declared in the outer scope
Thomas Roest committedAug 22, 2022 -
fix: fix eslint-no shadow warning
Thomas Roest committedAug 22, 2022