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: add package_visibility attribute to npm_translate_lock and npm_import #1302

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

gregmagolan
Copy link
Member

@gregmagolan gregmagolan commented Sep 29, 2023

Request from a consulting client.

Since link targets are generated by npm_translate_lock and npm_import repository rules, customizable visibility for link targets must be an npm_translate_lock and npm_import attributes. There is no way to set a visibility on an npm_package target that could be propagated to the visibility of a link target that uses that npm_package target via the virtual store link.


Type of change

  • New feature or functionality (change which adds functionality)

Test plan

  • New test cases added

@gregmagolan gregmagolan force-pushed the package_visibility branch 11 times, most recently from 01bdf61 to a06bd7c Compare October 1, 2023 22:43
@gregmagolan gregmagolan marked this pull request as ready for review October 1, 2023 22:46
@gregmagolan gregmagolan changed the title feat: add package_visibility attribute to npm_translate_lock feat: add package_visibility attribute to npm_translate_lock and npm_import Oct 1, 2023
@gregmagolan gregmagolan requested a review from alexeagle October 2, 2023 00:02
@gregmagolan gregmagolan force-pushed the package_visibility branch 4 times, most recently from d95f55e to 5ca99d9 Compare October 2, 2023 21:25
@gregmagolan gregmagolan requested a review from jbedard October 2, 2023 21:25
@gregmagolan gregmagolan enabled auto-merge (squash) October 3, 2023 18:20
@gregmagolan gregmagolan disabled auto-merge October 3, 2023 18:59
@gregmagolan gregmagolan merged commit f60b9b5 into main Oct 3, 2023
88 of 95 checks passed
@gregmagolan gregmagolan deleted the package_visibility branch October 3, 2023 19:50
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.

2 participants