angular-docs-cn/packages/bazel/src
Greg Magolan 5b6ced5599 build: update to rules_nodejs 1.5.0 (#36307)
### New stuff

* The `ts_project` rule is a simple wrapper around the TypeScript compiler, `tsc`. This is an alternative to `ts_library` but not a replacement. Read more about the trade-offs at https://bazelbuild.github.io/rules_nodejs/TypeScript#alternatives or read the [API docs](https://bazelbuild.github.io/rules_nodejs/TypeScript#ts_project)
* `pkg_npm` can now be used as a dependency within your repo as well as for publishing to npm. It provides a `LinkablePackageInfo` which is our internal API to pass package name/path to downstream compilations, essentially providing the "Lerna" feature.
* There is experimental support for Bazel's "worker mode" in `rollup_bundle`, which essentially puts Rollup in watch mode. Add the `supports_workers = True` attribute to opt-in.
* Better support for [pre-defined label variables](https://docs.bazel.build/versions/master/be/make-variables.html#predefined_label_variables) like `$(rootpath)` and `$(execpath)` - we no longer recommend using `$(location)` at all.

See release notes https://github.com/bazelbuild/rules_nodejs/releases/tag/1.5.0 for more info.

PR Close #36307
2020-03-30 11:25:16 -07:00
..
api-extractor build: switch to @build_bazel_rules_nodejs//:index.bzl load point (#33433) 2019-10-28 10:10:48 -07:00
builders build: update to rules_nodejs 1.5.0 (#36307) 2020-03-30 11:25:16 -07:00
ng_package fix(bazel): ng_package rule creates incorrect UMD module exports (#35792) 2020-03-02 08:15:01 -08:00
ngc-wrapped feat(bazel): transform generated shims (in Ivy) with tsickle (#35975) 2020-03-17 10:17:28 -07:00
schematics build: update to rules_nodejs 1.5.0 (#36307) 2020-03-30 11:25:16 -07:00
BUILD.bazel build: update to rules nodejs 1.0.1 (#34736) 2020-01-15 14:58:07 -05:00
esm5.bzl build(bazel): remove hacky fake @angular/bazel npm package under tools/npm/@angular_bazel (#36009) 2020-03-11 14:43:13 -04:00
external.bzl build: update to nodejs rules 0.38.3 (#33073) 2019-10-14 20:25:57 +00:00
modify_tsconfig.js build: update to rules_nodejs 0.38 (#32889) 2019-10-08 09:27:11 -07:00
ng_module.bzl fix(bazel): do not use manifest paths for generated imports within compilation unit (#35841) 2020-03-06 17:31:10 -05:00