- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 433
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: upgrade to yarn 3 #1478
chore: upgrade to yarn 3 #1478
Conversation
Looks like this isn't working out? |
That said, it looks like we're getting arbitrary failures now which I would guess to be new npm related https://github.com/TypeStrong/ts-loader/actions/runs/2480505979 |
Wonder if this --legacy-peer-deps will fix |
You are right. It is actually that. It's about that I read it wrong. I through it was the lockfile frozen issue. But the fail is actually during test, not during install |
I've updated with the --legacy-peer-deps fix. That said, I'm not sure if we want to move to yarn 3 - may switch back to npm instead. We originally moved to yarn as (then) npm didn't have meaningful lock files. Now it does we may want to switch to that instead given yarn 3 doesn't seem to be widely used |
Sure. The yarn 2/3 usage rate is a difficult topic. # install yarn 1 (note that the latest version is actually yarn 1. 1.22.19)
npm install -g yarn
# or by using corepack
corepack enable
# enable yarn 3
yarn set version stable It actually downloads the bundled I have also tried using In general, |
A testing PR to see if there are any issue about it for this project
change TS version range to `~` for pining minor version
I also like pnpm - as much as anything else I'm keen on using stuff that's already installed on CI machines though. With pnpm I'd have to manually install. Not the end of the world - just another thing to do |
You don't have to. |
btw, some CI tools doesn't work with |
Yeah we'll either go with npm or pnpm - didn't realize corepack was built into node these days! |
Must also get round to looking at renovate in place of dependabot |
I'm using that, and |
A testing PR to see if there are any issue about it for this project