copilot/add-bun-rules-package #1

Merged
eric merged 25 commits from copilot/add-bun-rules-package into main 2026-03-04 08:27:25 +00:00
Showing only changes of commit d107bad750 - Show all commits

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",