-
Notifications
You must be signed in to change notification settings - Fork 1
chore: move electron to devDependencies and bump to 34.1.0, remove unstable loadingView test case #37
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
chore: move electron to devDependencies and bump to 34.1.0, remove unstable loadingView test case #37
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||
| { | ||||||
| "name": "electron-windows", | ||||||
| "version": "34.0.0", | ||||||
| "version": "34.1.0", | ||||||
| "description": "Manage multiple windows of Electron gracefully and provides powerful features.", | ||||||
| "keywords": [ | ||||||
| "electron", | ||||||
|
|
@@ -18,14 +18,14 @@ | |||||
| "url": "git://github.com/electron-modules/electron-windows.git" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "electron": "34", | ||||||
| "electron-window-state": "^5.0.3", | ||||||
| "lodash": "4" | ||||||
| }, | ||||||
| "devDependencies": { | ||||||
| "@babel/eslint-parser": "^7.27.1", | ||||||
| "@playwright/test": "^1.52.0", | ||||||
| "@types/node": "^22.15.17", | ||||||
| "electron": "34", | ||||||
|
||||||
| "electron": "34", | |
| "electron": ">=34.0.0 <35.0.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.
The electron package should be specified as a peerDependency rather than a devDependency. The library code requires electron at runtime (see lib/electron-windows.js line 4:
require('electron')). This is a utility library for Electron apps, so electron should be provided by the consuming application. Consider adding it to peerDependencies instead and keeping it in devDependencies for development/testing purposes.