-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename directory attribute of NpmPackageInfo to src (#1575)
- Loading branch information
1 parent
be1eb24
commit 6de7df4
Showing
4 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
"NpmPackageInfo provider" | ||
|
||
NpmPackageInfo = provider( | ||
doc = "Provides the output directory (TreeArtifact) of an npm package containing the packages sources along with the package name and version", | ||
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", | ||
"directory": "the directory (typically a TreeArtifact) that contains the package sources", | ||
"src": "the sources of this npm package; either a tarball file, a TreeArtifact or a source directory", | ||
"npm_package_store_deps": "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", | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters