-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update for node iron lts #155
Update for node iron lts #155
Conversation
Hello @mattgoud! This is your first pull request on classic-theme repository of the PrestaShop project. Thank you, and welcome to this Open Source community! |
.hintrc
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be put in the _dev
folder along with the package.json
file and all the other configs?
_dev/css/components/products.scss
Outdated
@@ -150,8 +150,6 @@ | |||
width: auto; | |||
|
|||
.btn { | |||
padding: 0.5rem 0.6875rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this one? This seems like an UX change not required for the Node 20 compatibility no?
Unless this is related to the bootstrap-touchspin
update you mentioned?
_dev/css/partials/_commons.scss
Outdated
} | ||
|
||
.ui-autocomplete.ui-front { | ||
z-index: 999; | ||
} | ||
|
||
.btn.btn-touchspin.js-touchspin.bootstrap-touchspin-up { | ||
border-radius: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as above, what is the link between this and the Node 20 compatibility?
_dev/js/cart.js
Outdated
@@ -72,8 +72,8 @@ function createSpin() { | |||
$.each($(spinnerSelector), (index, spinner) => { | |||
$(spinner).TouchSpin({ | |||
verticalbuttons: true, | |||
verticalupclass: 'material-icons touchspin-up', | |||
verticaldownclass: 'material-icons touchspin-down', | |||
verticalupclass: 'glyphicon glyphicon-plus', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this change the style of all the icons?
Is it also because of bootstrap-touchspin
update?
_dev/package.json
Outdated
"css-loader": "^6.7.1", | ||
"csso-webpack-plugin": "^2.0.0-beta.3", | ||
"esbuild-loader": "^2.15.1", | ||
"bootstrap-touchspin": "^4.7.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so bootstrap version was not changed, which is critical here for backward compatibility of all the modules.
I wonder if bootstrap-touchspin
should be updated. For the same reason, updating to a new major version maybe bring some breaking changes. Is it possible to keep the same major version? Or was it not possible because of Node 20 update?
No need functional testing :) ok to be merged |
PR merged, well done! Message to @PrestaShop/committers: do not forget to milestone it before the merge. |
Thanks @mattgoud |
Upgrade node modules
(see #37041 )