Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency build_bazel_rules_nodejs to v4.6.1 #51

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
build_bazel_rules_nodejs http_archive minor 4.4.4 -> 4.6.1

Release Notes

bazelbuild/rules_nodejs

v4.6.1

Compare Source

To upgrade,

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "d63ecec7192394f5cc4ad95a115f8a6c9de55c60d56c1f08da79c306355e4654",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.1/rules_nodejs-4.6.1.tar.gz"],
)
##### new "core" package
http_archive(
    name = "rules_nodejs",
    sha256 = "1962378ca94c37cc18521c86e2fa79b3715b6bb75ac0ec43c321f92274a56e16",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.1/rules_nodejs-core-4.6.1.tar.gz"],
)

and update @bazel-scoped npm packages.

What's Changed

Full Changelog: bazelbuild/rules_nodejs@4.6.0...4.6.1

v4.6.0

Compare Source

To update:

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "ddb78717b802f8dd5d4c01c340ecdc007c8ced5c1df7db421d0df3d642ea0580",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.0/rules_nodejs-4.6.0.tar.gz"],
)

or for the core package

http_archive(
    name = "rules_nodejs",
    sha256 = "005c59bf299d15d1d9551f12f880b1a8967fa883654c897907a667cdbb77c7a6",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.6.0/rules_nodejs-core-4.6.0.tar.gz"],
)

and update @bazel-scoped npm packages.

New Feature: faster TypeScript transpiles

We've added an attribute to ts_project called transpiler which lets you swap out which program is used to generate the JavaScript outputs, while still using tsc for type-checking. This pattern lets you decouple type-checking from your development loop, enabling an order of magnitude faster rebuilds, without having to create lots of boilerplate in your BUILD.bazel configs.

As an example, we've been using SWC in some large codebases and saw ~20x speedup in transpilation time. Here's a tiny working example

See the documentation for the transpiler attribute for more info on this.

Thanks to our friends at EngFlow for sponsoring this work!

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_nodejs@4.5.1...4.6.0

v4.5.1

Compare Source

Re-release of 4.5.0 for systems that cached wrong .tar.gz artifacts which were live for several hours.

No code changes from 4.5.0, and no npm packages for this release.

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "f0f76a06fd6c10e8fb9a6cb9389fa7d5816dbecd9b1685063f89fb20dc6822f3",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.5.1/rules_nodejs-4.5.1.tar.gz"],
)
### OR
http_archive(
    name = "rules_nodejs",
    sha256 = "21ace31956ed2d42c4d1a71ec9bf44e88edc8d4e6d3e88f7743a56ee1fc95bb1",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.5.1/rules_nodejs-core-4.5.1.tar.gz"],
)

v4.5.0

Compare Source

Note: for several hours this release was published with wrong tar.gz artifacts. If your systems cached that artifact, and the SHA doesn't match, then please use 4.5.1 tar.gz artifacts instead. The npm packages are fine at 4.5.0. Sorry for mutating a release artifact!

Upgrade with:

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "778ed059ad37c3373c22adcb5c200cbbca72b370dd4de93379deb8325c0045cb",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.5.0/rules_nodejs-4.5.0.tar.gz"],
)

and update @bazel-scoped npm packages.

For the new core package in MODULE.bazel (bzlmod users):

bazel_dep(name = "rules_nodejs", version = "4.5.0")

or for the new core package in WORKSPACE:

http_archive(
    name = "rules_nodejs",
    sha256 = "89d9ca25c4e63e69033e37af2fc04e261da7b99cbfe5dbf12ac1b326006aed8c",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.5.0/rules_nodejs-core-4.5.0.tar.gz"],
)
What's Changed
New Contributors

Full Changelog: bazelbuild/rules_nodejs@4.4.6...4.5.0

v4.4.6

Compare Source

Upgrade with:

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "cfc289523cf1594598215901154a6c2515e8bf3671fd708264a6f6aefe02bf39",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.6/rules_nodejs-4.4.6.tar.gz"],
)

and update @bazel-scoped npm packages.

For the core package:

http_archive(
    name = "rules_nodejs",
    sha256 = "8f4a19de1eb16b57ac03a8e9b78344b44473e0e06b0510cec14a81f6adfdfc25",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.6/rules_nodejs-core-4.4.6.tar.gz"],
)
What's Changed

Full Changelog: bazelbuild/rules_nodejs@4.4.5...4.4.6

v4.4.5

Compare Source

To upgrade,

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "f7037c8e295fdc921f714962aee7c496110052511e2b14076bd8e2d46bc9819c",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.5/rules_nodejs-4.4.5.tar.gz"],
)
### OR

http_archive(
    name = "rules_nodejs",
    sha256 = "409f07eeccc7937b149b49bc191b103136ddf6aee411f580f0d69a462e8351a0",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.5/rules_nodejs-core-4.4.5.tar.gz"],
)

What's Changed

Full Changelog: bazelbuild/rules_nodejs@4.4.4...4.4.5


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from statik as a code owner January 27, 2022 22:09
@codecov-commenter
Copy link

Codecov Report

Merging #51 (be3cfae) into main (8bdab13) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##            main     #51   +/-   ##
=====================================
  Coverage   1.77%   1.77%           
=====================================
  Files          2       2           
  Lines        282     282           
=====================================
  Hits           5       5           
  Misses       277     277           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e146644...be3cfae. Read the comment docs.

@mergify mergify bot merged commit 79462b0 into main Jan 27, 2022
@mergify mergify bot deleted the renovate/build_bazel_rules_nodejs-4.x branch January 27, 2022 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants