-
Notifications
You must be signed in to change notification settings - Fork 2
Upgrade node version to 20.11 #47
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
base: master
Are you sure you want to change the base?
Conversation
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.
Pull Request Overview
Upgrade the node version to 20.11 and update related configuration files.
- Updated the node version per the PR title.
- Fixed the Babel plugin name for object rest/spread support in the configuration.
Files not reviewed (2)
- .nvmrc: Language not supported
- webapp/package.json: Language not supported
Comments suppressed due to low confidence (1)
webapp/babel.config.js:31
- The plugin name has been updated to match the official Babel naming convention. Please confirm that '@babel/proposal-object-rest-spread' is deprecated and the new name '@babel/plugin-proposal-object-rest-spread' is intended.
'@babel/plugin-proposal-object-rest-spread',
| "@babel/core": "7.24.7", | ||
| "@babel/plugin-proposal-class-properties": "7.18.6", | ||
| "@babel/plugin-proposal-object-rest-spread": "7.20.7", | ||
| "@babel/plugin-proposal-optional-chaining": "7.21.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.
I don't think we still need all these? I removed them when updating the plugin starter template https://github.com/mattermost/mattermost-plugin-starter-template/pull/213/files#diff-006cce2fd88392a0bff4cf16091d480b6238c6bdf52c9042bf7805879c791a8f
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.
@BenCookie95 Will look into it and let you know
| '@babel/plugin-syntax-dynamic-import', | ||
| '@babel/proposal-object-rest-spread', | ||
| '@babel/plugin-proposal-object-rest-spread', | ||
| '@babel/plugin-proposal-optional-chaining', |
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.
Do we still need all these?
Summary
Upgrade node version to 20.11