-
Notifications
You must be signed in to change notification settings - Fork 93
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
Migrate from yarn to pnpm #2417
Conversation
Signed-off-by: Rudy Flores <[email protected]>
Signed-off-by: Rudy Flores <[email protected]>
Signed-off-by: Rudy Flores <[email protected]>
Signed-off-by: Rudy Flores <[email protected]>
Signed-off-by: Rudy Flores <[email protected]>
Seems like there is an audit issue with two dependencies needing an update, should we update this here or has it been already addressed and we are waiting for it to be merged into next? @JillieBeanSim @zFernand0 |
Signed-off-by: Rudy Flores <[email protected]>
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## next #2417 +/- ##
=======================================
Coverage 91.89% 91.89%
=======================================
Files 94 94
Lines 8734 8734
Branches 1766 1766
=======================================
Hits 8026 8026
Misses 707 707
Partials 1 1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Rudy Flores <[email protected]>
FYI Seems like a Theia check is failing due to integration tests failing, it's also related to a v1 profile test which seems to be missing it's function, I believe this is because we removed all v1 functions and perhaps the next branch hasn't gotten the changes from main yet. |
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Rudy Flores <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
I might be doing something wrong, or maybe I should've installed
How to reproduce?
|
I would probably do a fresh clone before installing since there may be some conflicting files from yarn |
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.
Thanks @rudyflores for performing this migration 🙂
So far pnpm has been working great for me when testing this branch. A few questions:
- I can't review the PR easily because there a lot of changes that seem unrelated to pnpm, like new files added in
.github/actions
and several changes made to unit tests. Perhaps the PR needs to be rebased against a different commit? - If the
shamefully-hoist
option is required, can we add it to an.npmrc
file in the repo so that we don't have to remember to add it on the end of all our install commands? We could probably also remove the.yarnrc
file and migrate it to.npmrc
😋
Thanks Rudy, but even after a fresh-clone, I'm still getting the same errors 🤔 |
Good suggestions, I think I will have to cherry pick some commits from this PR, and do this from a new branch, seems like the conflicts I attempted to resolve coming from next caused some commits unrelated to this PR be attached, which is why all those irrelevant files are popping up. As for the |
The installation worked fine for me, but only after updating/creating an
Should we update the pnpm-lock.yaml so taht the resolutions are against the Also, there is a leftover |
that might be good as well, I can go ahead and update the lock file. I might have to research the docs to see if that can be cleaned, otherwise we could always ignore the file too! |
Closing this PR in favor of #2424 |
Proposed changes
Migrate to new package manager PNPM for improved install and build times for development vs Yarn
Release Notes
Milestone: v3.0
Changelog: Changed Yarn package manager to PNPM package manager.
Testing this PR
For testing this PR perform the following:
pnpm i --shamefully-hoist=true
(this parameter is used to maintain hositing can be set as default in npmrc) https://pnpm.io/npmrc#shamefully-hoistpnpm build
pnpm package
pnpm test
pnpm fresh-clone
(this one uses the new concurrency feature!)Make sure to test normal ZE functionality in the dev host as well as packaged extension to make sure everything is in order as well :)
Metrics
fresh-clone
command:Yarn
PNPM
install
command:Yarn
PNPM
package
command:Yarn
PNPM
Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executedFurther comments