diff --git a/packages/bazel/src/schematics/bazel-workspace/files/WORKSPACE.template b/packages/bazel/src/schematics/bazel-workspace/files/WORKSPACE.template index 4c5f7d5599..a8138b433b 100644 --- a/packages/bazel/src/schematics/bazel-workspace/files/WORKSPACE.template +++ b/packages/bazel/src/schematics/bazel-workspace/files/WORKSPACE.template @@ -13,10 +13,9 @@ workspace(name = "<%= utils.underscore(name) %>") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") RULES_NODEJS_VERSION = "<%= RULES_NODEJS_VERSION %>" -RULES_NODEJS_SHA256 = "<%= RULES_NODEJS_SHA256 %>" http_archive( name = "build_bazel_rules_nodejs", - sha256 = "%s" % RULES_NODEJS_SHA256, + sha256 = "<%= RULES_NODEJS_SHA256 %>", url = "https://github.com/bazelbuild/rules_nodejs/releases/download/%s/rules_nodejs-%s.tar.gz" % (RULES_NODEJS_VERSION, RULES_NODEJS_VERSION), ) @@ -25,6 +24,7 @@ http_archive( RULES_SASS_VERSION = "<%= RULES_SASS_VERSION %>" http_archive( name = "io_bazel_rules_sass", + sha256 = "<%= RULES_SASS_SHA256 %>", url = "https://github.com/bazelbuild/rules_sass/archive/%s.zip" % RULES_SASS_VERSION, strip_prefix = "rules_sass-%s" % RULES_SASS_VERSION, ) diff --git a/packages/bazel/src/schematics/bazel-workspace/index.ts b/packages/bazel/src/schematics/bazel-workspace/index.ts index 2ce48cc016..1c9e716ab1 100644 --- a/packages/bazel/src/schematics/bazel-workspace/index.ts +++ b/packages/bazel/src/schematics/bazel-workspace/index.ts @@ -59,7 +59,8 @@ export default function(options: BazelWorkspaceOptions): Rule { const workspaceVersions = { 'RULES_NODEJS_VERSION': '0.18.6', 'RULES_NODEJS_SHA256': '1416d03823fed624b49a0abbd9979f7c63bbedfd37890ddecedd2fe25cccebc6', - 'RULES_SASS_VERSION': '1.17.0', + 'RULES_SASS_VERSION': '1.17.2', + 'RULES_SASS_SHA256': 'e5316ee8a09d1cbb732d3938b400836bf94dba91a27476e9e27706c4c0edae1f', }; return mergeWith(apply(url('./files'), [