-
Notifications
You must be signed in to change notification settings - Fork 920
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
Upgrade to pnpm #444
Upgrade to pnpm #444
Conversation
I tried base scripts |
Great job @technophile-04! Thank you for putting this together. Tested it and everything works great.
Damn, that's going to be a hard pill to swallow for some people haha. The |
It's working great on Windows, GJ @technophile-04 !! |
I have been playing around with some configs mentioned here -> https://pnpm.io/npmrc#cli-settings but nothing works :( I have also noticed a bug i.e patch is not applied, because if you deploy two contracts you get :
This signifies that patch is not working checkout #453 (comment) for more description Having a look at it 🙌 |
Update I got it working in pnpm-pathc branch, but to get it working I need to do some manual work :(, and also there if you run any pnpm command you always get this warning :
I have created an issue on pnpm -> pnpm/pnpm#6885 Let's see what they have to say if there is some direct way to do this otherwise we merge pnpm-pathc into this branch I will keep tinkering around it 🙌 |
This is strange :(, @Pabl0cks could you please just check your Also regarding I agree with you guys ! I only vote for Regarding #419 this could be solved without using
Lol yup, I was wondering whether we should create another PR parallel / test locally at CLI branch utilizing pnpm to install dependency and see if everything works nicely there and then we can merge this PR once we are sure ? Tysm guys!! |
I had 8.6.10. Updated to 8.7.4 and installation went down to 8.6 seconds 🙌. I still get the Here the SS using PowerShell instead: |
@Pabl0cks I think Windows doesn't recognize env vars like that on the Can you check if you get the same error when running Any thoughts on this? #444 (comment) |
I would vote for using Also noticed Lol but yeah I am kind of 51% and 49% so anything works 🙌 |
@technophile-04 since you fixed The only problem with yarn for me is this But if we move that simple type to our project everything works again with So it seems we don't need lockfiles anymore. Am I missing something? ps. sorry for this comment @technophile-04 😄 |
Tysm Rinat, just created PR at #541
Do you, mean to say separate lockfiles? I think although the also checkout Carlos comment here => #290 (comment) 🙌 |
👍 ✅
Yep
hm, agree, you're right. And I'm glad you're right )
I tried it, doesn't work for me. It asks for additional packages like ❤️ |
Can confirm that the error Pablo got #444 (comment) here is with all Windows users, tried it on my friend's Windows machine and got the same error. After doing some digging I got it working on Windows by first running (needs to be run only once in life) : pnpm config set shell-emulator=true after doing this Reasoning : checkout description for shell-emulator as pnpm says :
Also, I think the reason why it works with Just some thoughts while I was playing on Windows: Lol don't know why but I don't feel confident merging this PR (at least because of windows)
|
Since your pnpm config is inside .npmrc file you can just add it to npmrc example and it will work. Could you check it? Scripts with that option works fine on mac |
Yeah, it worked !! Great job @technophile-04 🙌 |
Some updates that might affect this PR here: #544 (comment) |
As we discussed, closing this for now. Let's keep the branch tho! |
Description
Updated the pkgManager to pnpm for trial as discussed in #419
For deploying contract you need to usepnpm hardhat:deploy
instead of justpnpm deploy
becausedeploy
seem reserved keywordWill try to find if there exist any solution to above problem 🙌....But I think its ready to test and give a trialThis is solved please check #444 (comment) 🙌