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: make //js/private:enable_runfiles explicitly have //visibility:public #301

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

dgp1130
Copy link
Contributor

@dgp1130 dgp1130 commented Jul 20, 2022

This is a direct dependency of all js_binary() targets and is currently //visibility:public by default, however this behavior is changing and can be opted in early via the --incompatible_config_setting_private_default_visibility flag. Making this target explicitly public passes the build with that flag.

See this CI failure using the --incompatible_* flag.

…y:public`

This is a direct dependency of all `js_binary()` targets and is currently `//visibility:public` by default, however this behavior is changing and can be opted in early via the [`--incompatible_config_setting_private_default_visibility`](https://bazel.build/reference/command-line-reference#flag--incompatible_config_setting_private_default_visibility) flag. Making this target explicitly public passes the build with that flag.
dgp1130 added a commit to dgp1130/rules_prerender that referenced this pull request Jul 20, 2022
… it does not work with `@aspect_rules_js`.

Once aspect-build/rules_js#301 lands, this can be re-enabled.
@CLAassistant
Copy link

CLAassistant commented Jul 20, 2022

CLA assistant check
All committers have signed the CLA.

@gregmagolan gregmagolan merged commit 431cf64 into aspect-build:main Jul 20, 2022
@dgp1130 dgp1130 deleted the runfiles-visibility branch July 23, 2022 01:34
dgp1130 added a commit to dgp1130/rules_prerender that referenced this pull request Aug 2, 2022
… for `--config incompatible` builds.

Refs #48.

Since `@aspect_rules_js` has been updated to include aspect-build/rules_js#301, we can now re-enable this flag.
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.

4 participants