-
Notifications
You must be signed in to change notification settings - Fork 37
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
Feature/dependencies update #500 #503
base: rewrite-with-webpack
Are you sure you want to change the base?
Feature/dependencies update #500 #503
Conversation
conventional-changelog ^3.1.21 → ^3.1.24 eslint ^7.2.0 → ^7.29.0 execa ^4.0.2 → ^5.1.1 expect-puppeteer ^4.4.0 → ^5.0.4 fs-extra ^9.0.1 → ^10.0.0 globby ^11.0.1 → ^11.0.4 jest ^26.1.0 → ^27.0.5 jest-environment-puppeteer ^4.4.0 → ^5.0.4 lerna ^3.22.0 → ^4.0.0 prettier ^2.0.5 → ^2.3.1 supertest ^4.0.2 → ^6.1.3 puppeteer ^5.2.1 → ^10.0.0
@babel/core ^7.10.2 → ^7.14.6 @babel/plugin-transform-react-jsx ^7.10.1 → ^7.14.5 @babel/plugin-transform-runtime ^7.10.1 → ^7.14.5 @babel/preset-env ^7.10.2 → ^7.14.7 @babel/preset-react ^7.10.1 → ^7.14.5 @babel/runtime ^7.10.2 → ^7.14.6
eslint 6.8.0 → 7.29.0 eslint-import-resolver-webpack ^0.12.1 → ^0.13.1 eslint-plugin-import ^2.22.0 → ^2.23.4 fs-extra ^9.0.1 → ^10.0.0 globby ^11.0.1 → ^11.0.4 husky ^4.2.5 → ^6.0.0 lint-staged ^10.2.11 → ^11.0.0 prettier ^2.0.5 → ^2.3.1 stylelint ^13.6.0 → ^13.13.1 webpack ^4.43.0 → ^5.40.0
copy-webpack-plugin ^6.0.3 → ^6.4.1 (over version 8.1.1 has a compatibility issue) fs-extra ^9.0.1 → ^10.0.0 globby ^11.0.1 → ^11.0.4 hexo-front-matter ^1.0.0 → ^2.0.0 html-webpack-plugin ^4.3.0 → ^4.5.0 (over version 5 is only works with webpack 5) htmlhint ^0.14.1 → ^0.15.1 js-beautify ^1.11.0 → ^1.14.0 lodash ^4.17.19 → ^4.17.21 marked ^1.1.0 → ^2.1.2 nedb-promises ^4.0.3 → ^5.0.0 prettier ^2.0.5 → ^2.3.1 twig ^1.15.1 → ^1.15.4 webpack ^4.43.0 → ^4.43.0 (will come back to this later its more complicated) webpack-dev-server ^3.11.0 → ^3.11.2
stylelint-config-prettier ^8.0.1 → ^8.0.2 stylelint-config-standard ^20.0.0 → ^22.0.0 stylelint-prettier ^1.1.2 → ^1.2.0 stylelint-scss ^3.17.2 → ^3.19.0
* Change babel-eslint to @babel/eslint-parser eslint-config-airbnb ^18.1.0 → ^18.2.1 eslint-config-prettier ^6.11.0 → ^8.3.0 eslint-plugin-import ^2.21.2 → ^2.23.4 eslint-plugin-jsx-a11y ^6.2.3 → ^6.4.1 eslint-plugin-prettier ^3.1.4 → ^3.4.0 eslint-plugin-react ^7.20.0 → ^7.24.0 eslint-plugin-react-hooks ^4.0.4 → ^4.2.0
axios ^0.19.2 → ^0.21.1 browser-sync ^2.26.7 → ^2.27.3 execa ^4.0.2 → ^5.1.1 fs-extra ^9.0.1 → ^10.0.0 inquirer ^7.1.0 → ^8.1.1 lodash ^4.17.15 → ^4.17.21
@babel/core ^7.10.2 → ^7.14.6 babel-loader ^8.1.0 → ^8.2.2 case-sensitive-paths-webpack-plugin ^2.3.0 → ^2.4.0 cli-highlight ^2.1.4 → ^2.1.11 cliui ^6.0.0 → ^7.0.4 commander ^5.1.0 → ^8.0.0 css-loader ^3.5.3 → ^5.2.6 cssnano ^4.1.10 → ^5.0.6 file-loader ^6.0.0 → ^6.2.0 fs-extra ^9.0.1 → ^10.0.0 globby ^11.0.1 → ^11.0.4 lodash ^4.17.15 → ^4.17.21 mini-css-extract-plugin ^0.9.0 → ^1.6.1 mini-svg-data-uri ^1.2.3 → ^1.3.3 open ^7.0.4 → ^8.2.1 postcss-loader ^3.0.0 → ^6.1.0 sass ^1.26.7 → ^1.35.1 sass-loader ^8.0.2 → ^12.1.0 source-map-explorer ^2.4.2 → ^2.5.2 tapable ^1.1.3 → ^2.2.0 terser-webpack-plugin ^3.0.5 → ^5.1.4 unminified-webpack-plugin ^2.0.0 → ^3.0.0 url-loader ^4.1.0 → ^4.1.1
autoprefixer ^9.8.0 -> ^9.8.6 browserslist ^4.12.0 -> ^4.16.6
This reverts commit e430993.
Update existing packages Add postcss package
Hi, I had some time to test yesterday and today, few notes General (both static and WP)
Static
WPThis is interesting browser sync and serve are listening on the same port but it seems to be working, not sure how. Do you have some understanding here, is that intentional or just happened by accident? |
Hi @jakub300, Thank you for reviewing my code, here is my update and some questions about some tasks: General (both static and WP)1- Thank you for letting me know I have enabled it and formatted it. Static2- Solved WPIt wasn't sth I have noticed from WPS documentation, but sth I have tried after noticing the WebSocket option from browser-sync. After turning off the WebSocket for the browser-sync they can be worked in the same port without interrupting each other 🙂 |
Great progress, I did a bit of testing, next round I'll look more into the code.
Seems to be working, just tested on WP. Could you share more details?
I see, I guess it could be improved in WPS.
In generated project replace app.js contents with: import('./modules/greeting').then(({ default: greet }) => {
greet('Worldddd');
});
This is weird, normally two different servers should not be able to listen on the same port at the same time. In CI I see (https://app.travis-ci.com/github/jakub300/generator-chisel/jobs/538291746#L879) it shows and error, are you able to test not on windows? because, this error makes more sense to me than what's happening on Windows. |
Hi @jakub300,
I have replaced the cssnano with the CSS minimizer, everything looks fine now.
I have tested in FE only, when I've changed styling it didn't hot reload
So I am keeping it with my last changes :) Static
It is due to the InjectRevisioned hook, I think because of the changes in a compilation. I have replaced it with the assets path from WP
After some more deep search, I think this flag https://lwn.net/Articles/542629/ is missing in the test machine. Unfortunately, currently I can only test on the Windows. |
53090e8
to
f1b9ea4
Compare
Updated packages + I made changes for the new version of webpack and webpack plugins.