-
Notifications
You must be signed in to change notification settings - Fork 312
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: dependency overhaul #2418
Conversation
@@ -2,7 +2,8 @@ const path = require('path') | |||
const webpack = require('webpack') | |||
const HtmlWebpackPlugin = require('html-webpack-plugin') | |||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin') | |||
const ExtractTextPlugin = require('extract-text-webpack-plugin') |
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.
ExtractTextPlugin
is deprecated and incompatible with node 16.14.2
"electron": "^10.0.0", | ||
"electron-builder": "22.11.11", | ||
"css-loader": "4.2.0", | ||
"electron": "19.0.8", |
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.
👏
@@ -222,15 +224,14 @@ | |||
"identity-obj-proxy": "3.0.0", | |||
"jest": "22.4.2", | |||
"json-loader": "0.5.7", | |||
"node-sass": "4.13.1", |
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.
node-sass
is another deprecated project incompatible with electron 19 and node 16
@@ -1,9 +1,20 @@ | |||
import { ipcRenderer } from 'electron' |
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.
The storage module needed to be refactored for some reason the default path it was using changed during the electron update. Its working exactly as expected with these changes
@@ -85,6 +85,7 @@ app.on('ready', () => { | |||
contextIsolation: true, | |||
webPreferences: { | |||
enableRemoteModule: true, | |||
contextIsolation: false, |
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 was already turned off in our previous builds but the setting has changed to defaulting to true in new versions of electron thus requiring this explicit flag
What current issue(s) from Trello/Github does this address?
What problem does this PR solve?
How did you solve this problem?
How did you make sure your solution works?
Are there any special changes in the code that we should be aware of?
Is there anything else we should know?