test: test remaining nested workspaces from root workspace with bazel_integration_test
diff --git a/examples/parcel/WORKSPACE b/examples/parcel/WORKSPACE index 06b23d1..395ac56 100644 --- a/examples/parcel/WORKSPACE +++ b/examples/parcel/WORKSPACE
@@ -17,18 +17,14 @@ managed_directories = {"@npm": ["node_modules"]}, ) -# In your code, you'd fetch this repository with an `http_archive` call. -# We do this local repository only because this example lives in the same -# repository with the rules_nodejs code and we want to test them together. -local_repository( +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( name = "build_bazel_rules_nodejs", - path = "../../release/build_bazel_rules_nodejs/release", + sha256 = "6625259f9f77ef90d795d20df1d0385d9b3ce63b6619325f702b6358abb4ab33", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.35.0/rules_nodejs-0.35.0.tar.gz"], ) -load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dev_dependencies") - -rules_nodejs_dev_dependencies() - load("@build_bazel_rules_nodejs//:defs.bzl", "npm_install") npm_install( @@ -37,10 +33,6 @@ package_lock_json = "//:package-lock.json", ) -# In your code, you'd fetch this repository with an `http_archive` call. -# We do this local repository only because this example lives in the same -# repository with the rules_nodejs code and we want to test them together. -local_repository( - name = "npm_bazel_jasmine", - path = "../../packages/jasmine/src", -) +load("@npm//:install_bazel_dependencies.bzl", "install_bazel_dependencies") + +install_bazel_dependencies()