Skip to content
  • Greg Magolan's avatar
    build: upgrade angular build, integration/bazel and @angular/bazel package to... · 7628c36f
    Greg Magolan authored
    build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#39182)
    
    Updates to rules_nodejs 2.2.0. This is the first major release in 7 months and includes a number of features as well
    as breaking changes.
    
    Release notes: https://github.com/bazelbuild/rules_nodejs/releases/tag/2.0.0
    
    Features of note for angular/angular:
    
    * stdout/stderr/exit code capture; this could be potentially be useful
    
    * TypeScript (ts_project); a simpler tsc rule that ts_library that can be used in the repo where ts_library is too
      heavy weight
    
    Breaking changes of note for angular/angular:
    
    * loading custom rules from npm packages: `ts_library` is no longer loaded from `@npm_bazel_typescript//:index.bzl`
      (which no longer exists) but is now loaded from `@npm//@bazel/typescript:index.bzl`
    
    * with the loading changes above, `load("@npm//:install_bazel_dependencies.bzl", "install_bazel_dependencies")` is
      no longer needed in the WORKSPACE which also means that yarn_install does not need to run...
    7628c36f