Skip to content
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

fix: group installs #84

Merged
merged 1 commit into from
Jul 5, 2021
Merged

fix: group installs #84

merged 1 commit into from
Jul 5, 2021

Conversation

williamluke4
Copy link
Contributor

No description provided.

@williamluke4 williamluke4 requested a review from Jolg42 as a code owner July 5, 2021 08:48
@williamluke4 williamluke4 merged commit 2f1e54d into master Jul 5, 2021
@williamluke4 williamluke4 deleted the fix/publish branch July 5, 2021 08:49
await run(
'packages/fetch-engine',
`pnpm i @prisma/get-platform@${newVersion}`,
`pnpm i @prisma/engines-version@${newVersion} @prisma/get-platform@${newVersion}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the benefit of doing it like this vs. how it was?

Copy link
Contributor Author

@williamluke4 williamluke4 Jul 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically, the local package versions have already been adjusted so if you try to update the local packages individually you then run in to an issue where pnpm can not resolve one of the packages.

For example, pnpm would try to update @prisma/engines-version to (workspace:2.27.0-23.hash) but would fail as @prisma/get-platform would be pinned to (workspace:2.27.0-22.hash) but the local package has already been updated to 23 so it can't be resolved.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would by lying if I said I understood this, but it sounds smart so I will accept this as a great answer :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants