-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Local development detection uses isPackaged flag #1260
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: main
Are you sure you want to change the base?
Conversation
|
Would love to see this merged 👌 |
|
Also having problems with the linked issue here. |
| @@ -1,5 +1,4 @@ | |||
| const path = require('path'); | |||
| const isDev = require('electron-is-dev'); | |||
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.
Does that mean the dependency can be removed from package.json?
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.
Yes, but this wouldn't change much, because electron-is-dev is also required by electron-util
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'm all for maintaining a clean package.json!
Removed the now (in packages/bruno-electron) redundant package and updated the lockfile.
It seems like there's more changes in the lockfile than I expected:
@n8n/vm2wasn't tracked and now ispackages/bruno-electronreceived a version bump- a bunch of "dev": true lock flags disappeared - I honestly don't know how that relates to my change
Description
Fixes #1253
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.