Skip to content

Commit

Permalink
feat: decouple @bazel/worker from rules_typescript (#2918)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn authored Sep 8, 2021
1 parent 63f80f6 commit bda0472
Show file tree
Hide file tree
Showing 30 changed files with 963 additions and 430 deletions.
1 change: 1 addition & 0 deletions e2e/test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ def e2e_integration_test(name, **kwargs):
name = name,
tags = kwargs.pop("tags", []) + ["e2e"],
workspace_files = kwargs.pop("workspace_files", "_%s_sources" % name),
resolutions = {"//packages/worker:npm_package": "@bazel/worker"},
**kwargs
)
6 changes: 3 additions & 3 deletions examples/esbuild/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ http_archive(
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.0.0/rules_nodejs-4.0.0.tar.gz"],
)

load("@build_bazel_rules_nodejs//:index.bzl", "npm_install")
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")

npm_install(
yarn_install(
name = "npm",
package_json = "//:package.json",
package_lock_json = "//:package-lock.json",
yarn_lock = "//:yarn.lock",
)

load("@build_bazel_rules_nodejs//toolchains/esbuild:esbuild_repositories.bzl", "esbuild_repositories")
Expand Down
227 changes: 0 additions & 227 deletions examples/esbuild/package-lock.json

This file was deleted.

Loading

0 comments on commit bda0472

Please sign in to comment.