-
Notifications
You must be signed in to change notification settings - Fork 7
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
Draft: update nodejs from 14 to 18 #28
base: main
Are you sure you want to change the base?
Conversation
19a3077
to
e90e0d2
Compare
@@ -17,15 +17,14 @@ | |||
"dependencies": { | |||
"@fortawesome/fontawesome-free": "^5.10.2", | |||
"@popperjs/core": "^2.9.2", | |||
"big-integer": "^1.6.50", | |||
"bignumber": "^1.1.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.
we should eventually remove the bignumber library as there is a Browser default since 2020. This would require modifications in several places though.
"monaco-editor": "^0.22.3", | ||
"monaco-emacs": "^0.2.2", | ||
"monaco-vim": "^0.1.7", | ||
"monaco-editor": "^0.38.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.
Monaco editor didn't bring too much trouble that I could tell, just some codeAction changes
"bignumber": "^1.1.0", | ||
"blockly": "^4.20201217.0", | ||
"blockly": "^9.3.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.
Blockly has been heavily refactored since the 4th quarter 2020 release. Among other it is undergoing a TypeScript migration https://github.com/google/blockly/releases
"monaco-emacs": "^0.3.0", | ||
"monaco-vim": "^0.3.5", |
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 think we should remove these in the future and the Editor mode selector... it is confusing, and something more in line with a "full IDE"... better to use vim
, emacs
, or vscode
directly
@@ -17,15 +17,14 @@ | |||
"dependencies": { |
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.
Most of these changes were required to eliminate the npm audit
warnings or even to allow npm install
to work
@@ -0,0 +1,23 @@ | |||
import { BlockBase, BlockCreate, BlockChange } from "blockly/core/events/events"; |
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.
This is a helper file for the Blockly types, as we are importing Blockly dynamically. We should revisit this approach
This PR updates nodejs and other dependencies to avoid hanging for a long time while doing
npm ci
.It is a Draft until the following issues are fixed:
Pre-submit checklist: