docs: add bun_install parameter docs

Co-authored-by: Eriyc <50216491+Eriyc@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-04 03:05:49 +00:00
parent c5cc709311
commit d107bad750

View File

@@ -78,6 +78,11 @@ _bun_install_repository = repository_rule(
def bun_install(name, package_json, bun_lockfile): def bun_install(name, package_json, bun_lockfile):
"""Create an external repository containing installed node_modules. """Create an external repository containing installed node_modules.
Args:
name: Repository name to create.
package_json: Label to a package.json file.
bun_lockfile: Label to a bun.lockb file.
Usage (WORKSPACE): Usage (WORKSPACE):
bun_install( bun_install(
name = "node_modules", name = "node_modules",