-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
refactor: move toolchain registration call to new rules_js_register_toolchains WORKSPACE function #1593
Conversation
07c2baa
to
8937605
Compare
What was the major reason for this? I don't recall if we've discussed it before? |
Primarily because we're sneaking in toolchain registrations in WORKSPACE in npm_translate_lock and npm_import which is not a great convention and bad layering. In theory a user could use rules_js without npm_translate_lock and npm_import and they would have to look into the implementation of npm_translate_lock to see what toolchains are needed. Adding an explicity |
a60a76e
to
8527b49
Compare
9a40f81
to
4b5f986
Compare
e9ec6c3
to
33810af
Compare
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (aspect-build#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (aspect-build#1593)
…oolchains WORKSPACE function (#1593)
…oolchains WORKSPACE function (#1593)
Long term this will all go away once we drop WORKSPACE support in our rule sets.