-
-
Notifications
You must be signed in to change notification settings - Fork 550
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
feat(core): pnpm support #3822
Merged
+717
−434
Merged
feat(core): pnpm support #3822
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
7c77355
chore: rename yarn-or-npm -> package-manager
erickzhao 2f6ef3d
refactor: remove hasYarn function and rename spawn
erickzhao c70224d
pnpm support take 1
erickzhao 0acb1f3
install pnpm in CI
erickzhao 284e219
reverse order of link:prepare
erickzhao 1d85d64
attempt to remove corepack for now
erickzhao 431116d
hoist it!
erickzhao cafacc3
downgrade to pnpm 9
erickzhao a19a6ea
adjustments
erickzhao 15db452
copyFile instead of rename
erickzhao 89a0fd1
add additional checks
erickzhao d1547a8
Merge branch 'main' into pnpmpnpmpnpmpnpm
erickzhao e23518f
use default reporter in CI
erickzhao dacb4e5
Merge branch 'pnpmpnpmpnpmpnpm' of github.com:electron/forge into pnp…
erickzhao 93c0ef8
fix [object Object]
erickzhao 3dc34f3
Merge branch 'main' into pnpmpnpmpnpmpnpm
erickzhao dccf638
Merge branch 'pnpmpnpmpnpmpnpm' of github.com:electron/forge into pnp…
erickzhao 8b0e22f
add back `packageManager` and work around with `.npmrc` setting
erickzhao 1592d85
add missing mock :)
erickzhao d5a43a2
fix CLI output for initNPM commands
erickzhao 64ac631
Merge branch 'main' into pnpmpnpmpnpmpnpm
erickzhao d695b26
use npm_config_user_agent
erickzhao 7a5ab70
Update .npmrc
erickzhao 3350dfe
Update packages/template/base/tmpl/.npmrc
erickzhao 65458b3
Update packages/utils/core-utils/src/package-manager.ts
erickzhao 1b084df
clarify todo with my name
erickzhao 336662c
Update packages/api/core/spec/slow/api.slow.spec.ts
erickzhao 33454a5
Update packages/utils/core-utils/spec/package-manager.spec.ts
erickzhao 514f2a1
Merge branch 'pnpmpnpmpnpmpnpm' of github.com:electron/forge into pnp…
erickzhao f3ff623
afterall
erickzhao 519aa9f
clarify cleanup function
erickzhao 8fb93be
Update packages/utils/core-utils/spec/package-manager.spec.ts
erickzhao 12168ac
Revert "Update packages/utils/core-utils/spec/package-manager.spec.ts"
erickzhao f19e1cb
Update packages/utils/core-utils/spec/package-manager.spec.ts
erickzhao 67ff824
Merge branch 'pnpmpnpmpnpmpnpm' of github.com:electron/forge into pnp…
erickzhao 2e96421
adjust tests and findUp
erickzhao 7825022
support `hoist-pattern` and `public-hoist-pattern` as well
erickzhao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor: remove hasYarn function and rename spawn
commit 2f6ef3d9d53a5509a2b4f284316e8eb119e9ddbd
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is a change in API signatures for
@electron-forge/core-utils
a breaking change? If it is, I can add a temporary shim for these utils and deprecate them.