From b8aaec175b8f9831f97ea38875f7a46737bd0608 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Mon, 20 Nov 2023 11:52:17 -0800 Subject: [PATCH] chore: update e2e to work with newer rules_js --- e2e/bundle/WORKSPACE | 8 ++++++++ e2e/npm-links/WORKSPACE | 8 ++++++++ e2e/smoke/WORKSPACE.bazel | 8 ++++++++ e2e/sourcemaps/WORKSPACE | 10 ++++++++++ e2e/tsconfig/WORKSPACE | 8 ++++++++ 5 files changed, 42 insertions(+) diff --git a/e2e/bundle/WORKSPACE b/e2e/bundle/WORKSPACE index 63cf2c7..cb2984b 100644 --- a/e2e/bundle/WORKSPACE +++ b/e2e/bundle/WORKSPACE @@ -17,6 +17,14 @@ load("@aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependenc rules_esbuild_dependencies() +load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") + +rules_js_dependencies() + +load("@bazel_features//:deps.bzl", "bazel_features_deps") + +bazel_features_deps() + # If you didn't already register a toolchain providing nodejs, do that: load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") diff --git a/e2e/npm-links/WORKSPACE b/e2e/npm-links/WORKSPACE index f6d1db0..1da8816 100644 --- a/e2e/npm-links/WORKSPACE +++ b/e2e/npm-links/WORKSPACE @@ -9,6 +9,14 @@ load("@aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependenc rules_esbuild_dependencies() +load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") + +rules_js_dependencies() + +load("@bazel_features//:deps.bzl", "bazel_features_deps") + +bazel_features_deps() + load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains( diff --git a/e2e/smoke/WORKSPACE.bazel b/e2e/smoke/WORKSPACE.bazel index a3fecfe..66d4967 100644 --- a/e2e/smoke/WORKSPACE.bazel +++ b/e2e/smoke/WORKSPACE.bazel @@ -19,6 +19,14 @@ load("@aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependenc rules_esbuild_dependencies() +load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") + +rules_js_dependencies() + +load("@bazel_features//:deps.bzl", "bazel_features_deps") + +bazel_features_deps() + # If you didn't already register a toolchain providing nodejs, do that: load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") diff --git a/e2e/sourcemaps/WORKSPACE b/e2e/sourcemaps/WORKSPACE index a3fecfe..c4074bf 100644 --- a/e2e/sourcemaps/WORKSPACE +++ b/e2e/sourcemaps/WORKSPACE @@ -19,6 +19,16 @@ load("@aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependenc rules_esbuild_dependencies() +load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") + +rules_js_dependencies() + +# For convenience, npm_translate_lock does this call automatically. +# You can omit this if you have any npm_translate_lock calls. +load("@bazel_features//:deps.bzl", "bazel_features_deps") + +bazel_features_deps() + # If you didn't already register a toolchain providing nodejs, do that: load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") diff --git a/e2e/tsconfig/WORKSPACE b/e2e/tsconfig/WORKSPACE index 1ca80c2..f3f0d48 100644 --- a/e2e/tsconfig/WORKSPACE +++ b/e2e/tsconfig/WORKSPACE @@ -7,6 +7,14 @@ load("@aspect_rules_esbuild//esbuild:dependencies.bzl", "rules_esbuild_dependenc rules_esbuild_dependencies() +load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") + +rules_js_dependencies() + +load("@bazel_features//:deps.bzl", "bazel_features_deps") + +bazel_features_deps() + load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains") nodejs_register_toolchains(