diff --git a/CHANGELOG.md b/CHANGELOG.md index 96b4a485a8..4b1b39df3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## [2.2.2](https://github.com/bazelbuild/rules_nodejs/compare/2.2.1...2.2.2) (2020-10-17) + + +### Bug Fixes + +* **builtin:** js_library supports --output_groups=types ([c060a22](https://github.com/bazelbuild/rules_nodejs/commit/c060a22)) +* **example:** remove compression dependencies ([75bf720](https://github.com/bazelbuild/rules_nodejs/commit/75bf720)) +* **example:** remove index.html from prodapp srcs ([c7be89b](https://github.com/bazelbuild/rules_nodejs/commit/c7be89b)) +* **example:** remove server side compression ([6d5aafb](https://github.com/bazelbuild/rules_nodejs/commit/6d5aafb)) +* **exmaple:** add docstring to ngsw_config rule ([481fa21](https://github.com/bazelbuild/rules_nodejs/commit/481fa21)) + + +### Features + +* **example:** add full pwa support ([4d5b9c7](https://github.com/bazelbuild/rules_nodejs/commit/4d5b9c7)) +* **example:** service worker update handling ([bb66235](https://github.com/bazelbuild/rules_nodejs/commit/bb66235)) +* **karma:** use Trusted Types policy when loading scripts for Karma ([af9feb4](https://github.com/bazelbuild/rules_nodejs/commit/af9feb4)) + + + ## [2.2.1](https://github.com/bazelbuild/rules_nodejs/compare/2.2.0...2.2.1) (2020-10-07) diff --git a/docs/install.md b/docs/install.md index 420be388c4..f37431ecf8 100644 --- a/docs/install.md +++ b/docs/install.md @@ -31,8 +31,8 @@ containing: load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories") diff --git a/e2e/bazel_managed_deps/WORKSPACE b/e2e/bazel_managed_deps/WORKSPACE index f2014ccc58..d6ccb961e7 100644 --- a/e2e/bazel_managed_deps/WORKSPACE +++ b/e2e/bazel_managed_deps/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/e2e/coverage/WORKSPACE b/e2e/coverage/WORKSPACE index 3abeefffc2..43851d84d1 100644 --- a/e2e/coverage/WORKSPACE +++ b/e2e/coverage/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/e2e/fine_grained_symlinks/WORKSPACE b/e2e/fine_grained_symlinks/WORKSPACE index 509e0df43d..0e485edd65 100644 --- a/e2e/fine_grained_symlinks/WORKSPACE +++ b/e2e/fine_grained_symlinks/WORKSPACE @@ -7,8 +7,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") diff --git a/e2e/jasmine/WORKSPACE b/e2e/jasmine/WORKSPACE index 0986e3d41a..6fba479e51 100644 --- a/e2e/jasmine/WORKSPACE +++ b/e2e/jasmine/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/e2e/node_loader_no_preserve_symlinks/WORKSPACE b/e2e/node_loader_no_preserve_symlinks/WORKSPACE index be5f2a1088..2651710dc3 100644 --- a/e2e/node_loader_no_preserve_symlinks/WORKSPACE +++ b/e2e/node_loader_no_preserve_symlinks/WORKSPACE @@ -9,8 +9,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") diff --git a/e2e/node_loader_preserve_symlinks/WORKSPACE b/e2e/node_loader_preserve_symlinks/WORKSPACE index d31f040b73..00a110c630 100644 --- a/e2e/node_loader_preserve_symlinks/WORKSPACE +++ b/e2e/node_loader_preserve_symlinks/WORKSPACE @@ -9,8 +9,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/e2e/nodejs_image/WORKSPACE b/e2e/nodejs_image/WORKSPACE index c88770f80b..4d0f91a875 100644 --- a/e2e/nodejs_image/WORKSPACE +++ b/e2e/nodejs_image/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/e2e/packages/WORKSPACE b/e2e/packages/WORKSPACE index 703398c7d8..019a54ea11 100644 --- a/e2e/packages/WORKSPACE +++ b/e2e/packages/WORKSPACE @@ -4,8 +4,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "check_rules_nodejs_version", "node_repositories", "npm_install", "yarn_install") diff --git a/e2e/ts_devserver/WORKSPACE b/e2e/ts_devserver/WORKSPACE index 5a975f8244..3a3ea9700f 100644 --- a/e2e/ts_devserver/WORKSPACE +++ b/e2e/ts_devserver/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/e2e/typescript/WORKSPACE b/e2e/typescript/WORKSPACE index 4100a25a56..8ad23fda69 100644 --- a/e2e/typescript/WORKSPACE +++ b/e2e/typescript/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/e2e/webapp/WORKSPACE b/e2e/webapp/WORKSPACE index 95a6736ddb..4a8f62fd45 100644 --- a/e2e/webapp/WORKSPACE +++ b/e2e/webapp/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/angular/WORKSPACE b/examples/angular/WORKSPACE index a9db1a4ad1..29630df0d9 100644 --- a/examples/angular/WORKSPACE +++ b/examples/angular/WORKSPACE @@ -16,8 +16,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Fetch rules_nodejs so we can install our npm dependencies http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) # Fetch sass rules for compiling sass files diff --git a/examples/angular_bazel_architect/WORKSPACE b/examples/angular_bazel_architect/WORKSPACE index 8c5eb3f588..df8e8edc27 100644 --- a/examples/angular_bazel_architect/WORKSPACE +++ b/examples/angular_bazel_architect/WORKSPACE @@ -12,8 +12,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) # The yarn_install rule runs yarn anytime the package.json or yarn.lock file changes. diff --git a/examples/angular_view_engine/WORKSPACE b/examples/angular_view_engine/WORKSPACE index 15d8878a79..2613664766 100644 --- a/examples/angular_view_engine/WORKSPACE +++ b/examples/angular_view_engine/WORKSPACE @@ -16,8 +16,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Fetch rules_nodejs so we can install our npm dependencies http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) # Fetch sass rules for compiling sass files diff --git a/examples/app/WORKSPACE b/examples/app/WORKSPACE index 4c02560ee8..781eeb8c2c 100644 --- a/examples/app/WORKSPACE +++ b/examples/app/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/closure/WORKSPACE b/examples/closure/WORKSPACE index 197d99458d..9554b90534 100644 --- a/examples/closure/WORKSPACE +++ b/examples/closure/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/create-react-app/WORKSPACE b/examples/create-react-app/WORKSPACE index ce2a5a1778..a94f24c929 100644 --- a/examples/create-react-app/WORKSPACE +++ b/examples/create-react-app/WORKSPACE @@ -7,8 +7,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) http_archive( diff --git a/examples/cypress/WORKSPACE b/examples/cypress/WORKSPACE index e8b7e140e7..29df17ee8b 100644 --- a/examples/cypress/WORKSPACE +++ b/examples/cypress/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/jest/WORKSPACE b/examples/jest/WORKSPACE index 9670dcf4b6..bdc62a46e0 100644 --- a/examples/jest/WORKSPACE +++ b/examples/jest/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/kotlin/WORKSPACE b/examples/kotlin/WORKSPACE index 85519edf7e..3afb344355 100644 --- a/examples/kotlin/WORKSPACE +++ b/examples/kotlin/WORKSPACE @@ -7,8 +7,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) # Install external npm dependencies diff --git a/examples/nestjs/WORKSPACE b/examples/nestjs/WORKSPACE index fb39a19d53..dbd0665846 100644 --- a/examples/nestjs/WORKSPACE +++ b/examples/nestjs/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/parcel/WORKSPACE b/examples/parcel/WORKSPACE index b99c71d86b..fa1990e88d 100644 --- a/examples/parcel/WORKSPACE +++ b/examples/parcel/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "npm_install") diff --git a/examples/protocol_buffers/WORKSPACE b/examples/protocol_buffers/WORKSPACE index 3c5c399278..5c27b3effd 100644 --- a/examples/protocol_buffers/WORKSPACE +++ b/examples/protocol_buffers/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) http_archive( diff --git a/examples/react_webpack/WORKSPACE b/examples/react_webpack/WORKSPACE index 4376c00c54..2e9cc71c14 100644 --- a/examples/react_webpack/WORKSPACE +++ b/examples/react_webpack/WORKSPACE @@ -7,8 +7,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/vendored_node/WORKSPACE b/examples/vendored_node/WORKSPACE index c555c5583e..37c6ec11dd 100644 --- a/examples/vendored_node/WORKSPACE +++ b/examples/vendored_node/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) http_archive( diff --git a/examples/vendored_node_and_yarn/WORKSPACE b/examples/vendored_node_and_yarn/WORKSPACE index afa41e82d8..0777788ee8 100644 --- a/examples/vendored_node_and_yarn/WORKSPACE +++ b/examples/vendored_node_and_yarn/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) http_archive( diff --git a/examples/vue/WORKSPACE b/examples/vue/WORKSPACE index e753000195..9b79bd9495 100644 --- a/examples/vue/WORKSPACE +++ b/examples/vue/WORKSPACE @@ -7,8 +7,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "npm_install") diff --git a/examples/web_testing/WORKSPACE b/examples/web_testing/WORKSPACE index 655e2cd10a..3a78b3799f 100644 --- a/examples/web_testing/WORKSPACE +++ b/examples/web_testing/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/webapp/WORKSPACE b/examples/webapp/WORKSPACE index eb1675e32b..777b15e3e0 100644 --- a/examples/webapp/WORKSPACE +++ b/examples/webapp/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/examples/worker/WORKSPACE b/examples/worker/WORKSPACE index 3f083e80a3..755b2e5644 100644 --- a/examples/worker/WORKSPACE +++ b/examples/worker/WORKSPACE @@ -21,8 +21,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install") diff --git a/package.json b/package.json index 509bf71e26..5a453d4c4e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@bazel/javascript", "description": "Build JavaScript with Bazel", - "version": "2.2.1", + "version": "2.2.2", "keywords": [ "javascript", "bazel" diff --git a/packages/create/index.js b/packages/create/index.js index 91ba9c9b23..377d842647 100644 --- a/packages/create/index.js +++ b/packages/create/index.js @@ -157,8 +157,8 @@ workspace( load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "build_bazel_rules_nodejs", - sha256 = "64a71a64ac58b8969bb19b1c9258a973b6433913e958964da698943fb5521d98", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.1/rules_nodejs-2.2.1.tar.gz"], + sha256 = "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz"], ) ${pkgMgr === 'yarn' ? yarnInstallCmd : npmInstallCmd}`; diff --git a/version.bzl b/version.bzl index f6ec25b17b..860f2d656b 100644 --- a/version.bzl +++ b/version.bzl @@ -19,4 +19,4 @@ # It will be automatically synced via the npm "version" script # that is run when running `npm version` during the release # process. See `Releasing` section in README.md. -VERSION = "2.2.1" +VERSION = "2.2.2"