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

feat: accept (version, integrity) for pnpm_version #1186

Merged
merged 1 commit into from
Aug 2, 2023
Merged

feat: accept (version, integrity) for pnpm_version #1186

merged 1 commit into from
Aug 2, 2023

Conversation

alexeagle
Copy link
Member

@alexeagle alexeagle commented Aug 2, 2023

This reverts commit 6474e48.

Roll-forward #1184 with fixes.

Fixes #1173


Type of change

  • New feature or functionality (change which adds functionality)

For changes visible to end-users

Will add missing docs for pnpm_repository.bzl in a followup.

Minor breaking change!

Test plan

  • Covered by existing test cases

I changed our root module to use the API.

@alexeagle alexeagle requested a review from jbedard August 2, 2023 15:21
MODULE.bazel Outdated Show resolved Hide resolved
@alexeagle alexeagle requested a review from kormide August 2, 2023 15:25
@jbedard
Copy link
Member

jbedard commented Aug 2, 2023

What was changed compared to #1184?

@alexeagle
Copy link
Member Author

In the root MODULE.bazel, make pnpm a dev_dependency so it doesn't control user repositories.
The failure before was that the root module changed pnpm versions, and the e2e/js_run_devserver module couldn't pin to the one it wanted.

This reverts commit 6474e48.

Roll-forward #1184 with fixes.
@alexeagle
Copy link
Member Author

Got this green by making it a pure refactor for now.

@alexeagle alexeagle merged commit 37a6edf into main Aug 2, 2023
@alexeagle alexeagle deleted the i1173 branch August 2, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[FR]: Support arbitrary pnpm versions if metadata is provided manually
3 participants