Currently we have link_prerender_component() as a re-interpretation of npm_link_package() to make prerender_component() targets available from an NPM package. We should also include link_all_prerender_components() similar to npm_link_all_packages() so users don't have to explicitly link every dependency they use.
This could probably be done via a workspace rule which looks over all the installed NPM packages for anything with the right metadata in package.json() and generating a workspace-specific link_all_prerender_components() macro which generates the link_prerender_component() calls automatically. Should also look at npm_link_all_packages() for inspiration here.
Currently we have
link_prerender_component()
as a re-interpretation ofnpm_link_package()
to makeprerender_component()
targets available from an NPM package. We should also includelink_all_prerender_components()
similar tonpm_link_all_packages()
so users don't have to explicitly link every dependency they use.This could probably be done via a workspace rule which looks over all the installed NPM packages for anything with the right metadata in
package.json()
and generating a workspace-specificlink_all_prerender_components()
macro which generates thelink_prerender_component()
calls automatically. Should also look atnpm_link_all_packages()
for inspiration here.