From 71bde8ed59a3393433664eca633829a15dc0c3d1 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Wed, 8 Apr 2020 11:32:50 +0100 Subject: [PATCH] build: use rules_nodejs snapshot Snapshot for https://github.com/bazelbuild/rules_nodejs/pull/1800, taken from https://github.com/aspect-dev/rules_nodejs-builds/tree/labs. Contains fixes related to the symlink behaviour inside of bazel. Without it, webpack needs to be configured to be aware of symlinks and preserve the paths. --- WORKSPACE | 4 ++-- package.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index c52bb1df5d7f..205feb5bf279 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "d0c4bb8b902c1658f42eb5563809c70a06e46015d64057d25560b0eb4bdc9007", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.5.0/rules_nodejs-1.5.0.tar.gz"], + sha256 = "7b96a7ce4d40e57d629b435eb948d17037d0c346d5b27aecc55078291b75699b", + urls = ["https://github.com/aspect-dev/rules_nodejs-builds/raw/1.5.0+1361843f/build_bazel_rules_nodejs-labs-snapshot.tar.gz"], ) # We use protocol buffers for the Build Event Protocol diff --git a/package.json b/package.json index f30e9e55c368..4b89b68580c6 100644 --- a/package.json +++ b/package.json @@ -78,10 +78,10 @@ "@babel/template": "7.8.6", "@bazel/bazel": "2.1.0", "@bazel/buildifier": "0.29.0", - "@bazel/jasmine": "1.5.0", - "@bazel/karma": "1.5.0", - "@bazel/labs": "1.5.0", - "@bazel/typescript": "1.5.0", + "@bazel/jasmine": "https://github.com/aspect-dev/rules_nodejs-builds/raw/1.5.0+1361843f/@bazel_jasmine-labs-snapshot.tar.gz", + "@bazel/karma": "https://github.com/aspect-dev/rules_nodejs-builds/raw/1.5.0+1361843f/@bazel_karma-labs-snapshot.tar.gz", + "@bazel/labs": "https://github.com/aspect-dev/rules_nodejs-builds/raw/1.5.0+1361843f/@bazel_labs-labs-snapshot.tar.gz", + "@bazel/typescript": "https://github.com/aspect-dev/rules_nodejs-builds/raw/1.5.0+1361843f/@bazel_typescript-labs-snapshot.tar.gz", "@types/babel__core": "7.1.7", "@types/babel__template": "7.0.2", "@types/browserslist": "^4.4.0",