blob: 7b2d799f1344554734c7f49b688cf0756527b4e6 [file] [log] [blame]
"NpmPackageInfo provider"
NpmPackageInfo = provider(
doc = "Provides the sources of an npm package along with the package name and version",
fields = {
"package": "name of this npm package",
"version": "version of this npm package",
"src": "the sources of this npm package; either a tarball file, a TreeArtifact or a source directory",
"npm_package_store_infos": "A depset of NpmPackageStoreInfo providers from npm dependencies of the package and the packages's transitive deps to use as direct dependencies when linking with npm_link_package",
},
)