rules_js
rules_js copied to clipboard
[FR]: add `rules_license` providers to NPM imported packages
What is the current behavior?
There is no integration between aspect_rules_js and rules_license
Describe the feature
It would be useful if items that are imported from package.json could return a LicenseInfo. This would allow other tooling built to use rules_license to be used with JS-based projects (eg. it might be possible to generate an SBOM from this information)
I would like to have some "official" documentation of exactly which rules we're meant to stamp out. I attended a rules_license sync meeting and created https://github.com/bazelbuild/rules_license/pull/142 based on notes there, but @aiuto wasn't ready to commit to this yet.