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 @bazel/angular to v4 - autoclosed #1400

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 29, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@bazel/angular 2.3.3 -> 4.4.6 age adoption passing confidence

Release Notes

bazelbuild/rules_nodejs

v4.4.6

Compare Source

Bug Fixes
  • add arm64 as a platform to //packages/concatjs:docs_scrub_platform (#​3089) (bc2803a)
  • normalize module path passed to runfiles helper for robustness (#​3094) (3c44f51)
  • remove trailing forward slash when resolving workspace root link in runfiles MANIFEST (#​3093) (6af7317)
  • update tsconfigs to include darwin_arm64-fastbuild in rootDirs (#​3087) (104420b)
  • builtin: don't use local:1 spawn (#​3084) (f886b82)

v4.4.5

Compare Source

Bug Fixes
  • builtin: handle external repository file paths in js_library strip_prefix check (c6ba226)
  • builtin: provide a DeclarationInfo from js_library is any input files are directories (TreeArtifacts) (0b247c3)
  • typescript: don't set resolveJsonModule in generated tsconfig if tsconfig is dict and resolve_json_module is unset (e026387)
Features

v4.4.2

Compare Source

Bug Fixes
  • builtin: retrieve yarn shasums from Github releases, rather than npm registry (b233b07)
  • create: relocate help argument evaluation (f67c584)
  • esbuild: allow whitespace within args (#​2998) (3446425), closes #​2997
  • examples: run jest updateSnapshot in the workspace (#​3041) (6ee1e52)
  • typescript: don't declare outputs that collide with inputs (#​3046) (bd8b7f3)
  • simplify portion of linker and fix case where runfiles node_modules symlinks are missing under bazel run (f6db6c9)

v4.4.0

Compare Source

Bug Fixes
  • ts_proto_library: use correct output path for external protos (#​3002) (b48176f)
  • typescript: typescript downleveling breaking ESM variant of Angular v13 compiler (#​2987) (5e4d17d)
  • update jasmine-reporters to v2.5.0 to fix xmldom vulnerability (#​2994) (8ca234b)
Features

v4.3.0

Compare Source

Bug Fixes
Features
  • builtin: expose a concrete toolchain for rules that don't under… (#​2960) (64ad805)
  • esbuild: bump version of esbuild to 0.13.2 (#​2985) (4bb25bf)
  • typescript: support for ESM variant of the Angular compiler plugin (#​2982) (6f97a7c)

v4.2.0

Compare Source

Bug Fixes
  • builtin: pkg_npm unable to copy files from transitioned actions (#​2942) (4291e20)
  • typescript: exclude package(-lock).json from default ts_project srcs (0245b6d)
  • worker: check if the input digest present (b43c594)
Features
  • builtin: add a toolchain to new core that exposes the node for any platform (20f4a8f)
  • builtin: add support for stopping propagation of link_node_modules aspect (dedc982)
  • introduce "core" package at /nodejs (a32cf5c)

v4.1.0

Compare Source

Bug Fixes
Features

v4.0.0

Compare Source

Bug Fixes

v3.8.0

Compare Source

Upgrade with

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

and update @bazel-scoped npm packages

Features

@bazel/worker package no longer checks whether the major version of rules_nodejs matches what it was built against.
Needed for our 4.0.0 release so that dependencies like the worker mode of rules_sass doesn't throw.

Bug Fixes
  • remove current directory prefix when running from execroot (6be5186)
  • builtin: correctly calculate pkg._directDependency when a mapped node_module is used (9e23f8a)
  • labs: fix ts_proto_library handling of external proto_library (57c6576)
  • runfiles: don't use false as a no-error value (#​2837) (be8b27c)
  • typescript: do not re-declare .json output files in srcs if they are already generated files (6508c6a)
  • typescript: document tsc_test for typecheck-only (bc4d34a)
  • typescript: fix bug in ts_project (write_tsconfig_rule) when extending from a generated tsconfig in same folder (10cca5c)

v3.7.0

Compare Source

📣 This is likely the last 3.x release of rules_nodejs. We are entering the beta and RC period for 4.0

Upgrade with this WORKSPACE snippet

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

and upgrade your @bazel-scoped npm packages as well.

Features
  • builtin: add validate attribute on pkg_npm (5d30c5b), closes #​2782
  • typescript: support typescript 4.3 (847ef5d)
Bug Fixes
  • builtin: don't expose any darwin_arm64 repo or toolchains if not supported by the node version (004da08), closes #​2779
  • builtin: fix npm_install & yarn_install post_install_patches when symlink_node_modules is enabled (de90747)
  • typescript: collect coverage in ts_project (045f91a), closes #​2762

v3.6.0

Compare Source

Bug Fixes
  • allow for only stderr to be set on npm_package_bin (fa8f5b1)
  • builtin: add two missing locations where Mac M1 support needs to be declared (2ad950f), closes #​2733
  • builtin: propogate tags to both generated targets in generated_file_test (c4403fc)
  • builtin: support directory_file_path entry_point in nodejs_binary & nodejs_test when --bazel_patch_module_resolver is set (51676ef)
  • jasmine: don't assume entry_point is a label as it may now be a dict (3683466)
  • jasmine: unhanded promise rejection causes tests suit to pass (3c4ef58), closes 3.7.0/lib/jasmine.js#L267 #​2688
  • terser: make terser resolve more robust by not assuming a single /terser/ segment in the path (4709ffb)
  • typescript: fixed "output was not created" error for ts_project with supports_workers (807b07b)
  • typescript: repair error reporting when a ts_project is missing declaration=True (cd08efe)
Features
  • add opt-in exports_directories_only mode to yarn_install and npm_install (defaults to False) (3d182cf)
  • support dict style directory_file_path entry_point in nodejs_binary, nodejs_test & jasmine_node_test (737674f)
  • support directory_file_path entry_point in npm_umd_bundle (4e44178)

3.5.1 (2021-05-25)

Bug Fixes
  • builtin: generated nodejs repository for windows references non-existent file (c1663c5)
  • builtin: write stdout/stderr to correct path under chdir (#​2681) (36311bb), closes #​2680
  • esbuild: prefer finding entry_point files in deps rather than srcs (#​2692) (dd4c4f3)
  • esbuild: provide JSModuleInfo of output bundle (#​2685) (233254d)
  • esbuild: update update script file paths after removal of _README.md (#​2695) (25a5ac4)
  • make generated_file_test .update's visibility same as test rule (#​2677) (30bc86c)
Features
  • builtin: document how nodejs_binary#entry_point can use a direc… (#​2579) (ceddd1d)

v3.5.1

Compare Source

Bug Fixes
  • builtin: generated nodejs repository for windows references non-existent file (c1663c5)
  • builtin: write stdout/stderr to correct path under chdir (#​2681) (36311bb), closes #​2680
  • esbuild: prefer finding entry_point files in deps rather than srcs (#​2692) (dd4c4f3)
  • esbuild: provide JSModuleInfo of output bundle (#​2685) (233254d)
  • esbuild: update update script file paths after removal of _README.md (#​2695) (25a5ac4)
  • make generated_file_test .update's visibility same as test rule (#​2677) (30bc86c)
Features
  • builtin: document how nodejs_binary#entry_point can use a direc… (#​2579) (ceddd1d)

v3.5.0

Compare Source

Bug Fixes
  • builtin: account for racy deletion of symlink in linker (#​2662) (e9a683d)
  • builtin: include optionalDependencies in strictly visible packages (#​2657) (2a1ed31)
  • builtin: linker incorrectly resolves workspace node_modules for windows (#​2659) (7cf7d73)
  • concatjs: devserver not passing through tags to all targets (#​2646) (8abc8e0)
  • docs: correct title of stamping docs (4bea5b2)
  • protractor: unable to specify server as configurable attribute (#​2643) (4965db6)
Features
  • builtin: add js_library JSEcmaScriptModuleInfo support (#​2658) (5ad1596)
  • builtin: allow bundling ESM output with the pkg_npm rule (#​2648) (911529f)
  • concatjs: enable junit report for karma_web_test (#​2630) (28e8d23)
  • esbuild: add support for multiple entry points (#​2663) (b4f322a)
  • esbuild: default log-level flag to warning, unless overridden (#​2664) (8ffea3e)

3.4.2 (2021-04-28)

Bug Fixes
  • builtin: allow bazel version to have semver build metadata (#​2624) (6a2e136)
Features

3.4.1 (2021-04-22)

Bug Fixes

v3.4.2

Compare Source

Bug Fixes
  • builtin: allow bazel version to have semver build metadata (#​2624) (6a2e136)
Features

v3.4.1

Compare Source

Bug Fixes

v3.4.0

Compare Source

Bug Fixes
  • esbuild: use run_node to invoke linker before running esuild (be184c2)
  • typescript: output path for .json in root package (#​2602) (1c50e96), closes #​2598
Features
  • add pre and post install patches to yarn_install and npm_install (#​2607) (d805f33)
  • support for multi-linked first party dependencies (e90b4ae)
  • esbuild: add output_css flag to esbuild() (#​2545) (c5ed4f8)
  • esbuild: allow ts / tsx files in esbuilds srcs (#​2594) (9e91872)

v3.3.0

Compare Source

Bug Fixes
Features
  • introduce package for runfile helpers (2c883d1)
  • make node toolchain_type public so new toolchains can be added (#​2591) (b606b79), closes #​2565
  • esbuild: Script to update esbuild to the latest available version (#​2492) (472ed62)
  • esbuild: support location expansion in esbuild args (#​2564) (eb3bd7e)
  • typescript: add support for "jsx: preserve" compiler option (#​2574) (425dbd6)

3.2.3 (2021-03-25)

Bug Fixes
  • builtin: add transitive typings to runfiles provider produced by js_library (#​2547) (41117fa)
  • builtin: always install source-map-support (#​2538) (97b3886), closes #​2520
  • esbuild: allow empty string as an input to sourcemap for bazel 2.x support (#​2549) (3b3e020)
  • typescript: update documentation now that ts_project is recommended (#​2548) (a8d8b0f)
  • tsconfig validator fails on chained tsconfig references (#​2512) (bfd74e5)
  • examples: remove relativeLinkResolution (#​2530) (8ef60e5)
Features
  • builtin: first experimental rules for npm tarballs (#​2544) (aa09b57)
  • esbuild: add 'sourcemap' option to configure sourcemap generation (#​2528) (8d0218c)

3.2.2 (2021-03-08)

Bug Fixes
  • esbuild: run npm version check as postinstall (#​2500) (2efe437)
  • esbuild: set correct base url when rule is at root (#​2506) (92e8169)
  • rollup: include externals config in worker cache key (de9dd86)
Features
  • builtin: add env attribute to nodejs test and binary and run_node helper (#​2499) (c9b159f)
  • esbuild: add max_threads setting to limit number of threads used (8e7c731)
  • examples: update angular_bazel_architect to version 11 (#​2495) (b8a4dcd)

3.2.1 (2021-02-23)

Bug Fixes
Features
  • add generate_local_modules_build_files flag to yarn_install and npm_install rules (#​2449) (a6449b7)
  • typescript: add data attribute (ac2097c)

v3.2.3

Compare Source

Bug Fixes
  • builtin: add transitive typings to runfiles provider produced by js_library (#​2547) (41117fa)
  • builtin: always install source-map-support (#​2538) (97b3886), closes #​2520
  • esbuild: allow empty string as an input to sourcemap for bazel 2.x support (#​2549) (3b3e020)
  • typescript: update documentation now that ts_project is recommended (#​2548) (a8d8b0f)
  • tsconfig validator fails on chained tsconfig references (#​2512) (bfd74e5)
  • examples: remove relativeLinkResolution (#​2530) (8ef60e5)
Features
  • builtin: first experimental rules for npm tarballs (#​2544) (aa09b57)
  • esbuild: add 'sourcemap' option to configure sourcemap generation (#​2528) (8d0218c)

v3.2.2

Compare Source

Bug Fixes
  • esbuild: run npm version check as postinstall (#​2500) (2efe437)
  • esbuild: set correct base url when rule is at root (#​2506) (92e8169)
  • rollup: include externals config in worker cache key (de9dd86)
Features
  • builtin: add env attribute to nodejs test and binary and run_node helper (#​2499) (c9b159f)
  • esbuild: add max_threads setting to limit number of threads used (8e7c731)
  • examples: update angular_bazel_architect to version 11 (#​2495) (b8a4dcd)

v3.2.1

Compare Source

Bug Fixes
Features
  • add generate_local_modules_build_files flag to yarn_install and npm_install rules (#​2449) (a6449b7)
  • typescript: add data attribute (ac2097c)

v3.2.0

Compare Source

Bug Fixes
  • multi-linker linking when only output files in sandbox (ebb9481)
  • builtin: fix coverage source file paths (ae4ec78)
  • docs: fix formatting of nodejs_binary#chdir (1caced8)
  • docs: fix regex that replaces //packages with @​bazel (c31c0b6)
  • docs: version selector shows 3.x (38f4f78)
  • typescript: allow up to typescript 4.2, add tests for 3.7-4.1 (ea168a7)
  • typescript: fixed build for external ts_project targets (c89e0aa)
  • version number not edited after release candidate (ac2bb62)
Features
  • add esbuild package (e7e5286)
  • builtin: add coverage all: true support (8386b97)
  • support for nested node_modules in linker (2c2cc6e)

v3.1.0

Compare Source

Bug Fixes
  • forward srcs, deps and visibility of dummy_bzl_library to the filegroup when publishing (0466084)
  • linker fix for invalid symlink creation path in createSymlinkAndPreserveContents (14086a8)
  • relative data paths in yarn_install & npm_install when symlink_node_modules=False and package.json is not at root (3c12dfe)
  • builtin: only generate a .tar pkg_npm output when requested (#​2428) (4d8f15c)
  • builtin: pass quiet attr though to build file generation on npm / yarn install (#​2400) (ceb76d6)
  • builtin: when using chdir attribute, don't write to source dir (3eb4260)
  • typescript: capture js files in outputs of ts_project if allow_js (9d7827b)
  • remove mirror.bazel.build from list of node_urls used to fetch NodeJS by default (#​2408) (67b494b)
  • skip update NodeJS versions action on forks (#​2396) (4e40d25)
  • examples: angualr universal_server (d5e8413)
  • update-nodejs-versions: Fix NodeJS version for running GitHub Action (4ab8252)
Features

v3.0.0

Compare Source

For a full list for the breaking changes in 3.0.0 and other notes on migrating, see the Migrating to 3.0.0 wiki page.

Bug Fixes
  • builtin: only pass kwargs to the test, not the .update binary (#​2361) (afa095b)
Code Refactoring
  • builtin: remove node_modules attribute from nodejs_binary, nodejs_test & ts_library (c2927af)
BREAKING CHANGES
  • builtin: We removed the node_modules attribute from nodejs_binary, nodejs_test, jasmine_node_test & ts_library.

If you are using the node_modules attribute, you can simply add the target specified there to the data or deps attribute of the rule instead.

For example,

nodejs_test(
    name = "test",
    data = [
        "test.js",
        "@​npm//:node_modules",
    ],
    entry_point = "test.js",
)

or

ts_library(
    name = "lib",
    srcs = glob(["*.ts"]),
    tsconfig = ":tsconfig.json",
    deps = ["@​npm//:node_modules"],
)

We also dropped support for filegroup based node_modules target and removed node_modules_filegroup from index.bzl.

If you are using this feature for user-managed deps, you must now a js_library target
with external_npm_package set to True instead.

For example,

js_library(
    name = "node_modules",
    srcs = glob(
        include = [
            "node_modules/**/*.js",
            "node_modules/**/*.d.ts",
            "node_modules/**/*.json",
            "node_modules/.bin/*",
        ],
        exclude = [
### Files under test & docs may contain file names that
### are not legal Bazel labels (e.g.,
### node_modules/ecstatic/test/public/中文/檔案.html)
            "node_modules/**/test/**",
            "node_modules/**/docs/**",
### Files with spaces in the name are not legal Bazel labels
            "node_modules/**/* */**",
            "node_modules/**/* *",
        ],
    ),
### Provide ExternalNpmPackageInfo which is used by downstream rules
### that use these npm dependencies
    external_npm_package = True,
)

nodejs_test(
    name = "test",
    data = [
        "test.js",
        ":node_modules",
    ],
    entry_point = "test.js",
)

See examples/user_managed_deps for a working example of user-managed npm dependencies.


Configuration

📅 Schedule: "every weekend" in timezone Asia/Hong_Kong.

🚦 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 force-pushed the renovate/bazel-angular-4.x branch 2 times, most recently from 8defc51 to aec7b0b Compare September 10, 2021 04:13
@renovate renovate bot force-pushed the renovate/bazel-angular-4.x branch 2 times, most recently from f6ca2d2 to fb22684 Compare September 17, 2021 18:45
@renovate renovate bot force-pushed the renovate/bazel-angular-4.x branch from fb22684 to dfb8438 Compare September 28, 2021 19:20
@renovate renovate bot force-pushed the renovate/bazel-angular-4.x branch 2 times, most recently from ace48f5 to d3ebcbc Compare October 16, 2021 01:44
@renovate renovate bot force-pushed the renovate/bazel-angular-4.x branch from d3ebcbc to 3f57afe Compare October 28, 2021 20:10
@renovate renovate bot force-pushed the renovate/bazel-angular-4.x branch from 3f57afe to b949492 Compare November 11, 2021 22:17
@renovate renovate bot force-pushed the renovate/bazel-angular-4.x branch from b949492 to f4b5df2 Compare November 23, 2021 20:36
@renovate renovate bot changed the title chore(deps): update dependency @bazel/angular to v4 chore(deps): update dependency @bazel/angular to v4 - autoclosed Dec 13, 2021
@renovate renovate bot closed this Dec 13, 2021
@renovate renovate bot deleted the renovate/bazel-angular-4.x branch December 13, 2021 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant