angular-docs-cn/packages/bazel
Alex Eagle b43b164a61 feat(bazel): add an ng_package rule (#22221)
This produces a directory following the Angular Package layout spec.

Includes integration test coverage by making a minimal ng_package in integration/bazel.
Unit tests verify the content of the @angular/core and @angular/common packages.

This doesn't totally match our current output, but is good enough to unblock some
early adopters.

It re-uses logic from the rollup_bundle rule in rules_nodejs. It should also
eventually have the .pack and .publish secondary targets like npm_package rule.

PR Close #22221
2018-02-23 11:19:04 -08:00
..
src feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
test feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
BUILD.bazel refactor(compiler-cli): move ngc-wrapped to packages/bazel (#18733) 2017-08-23 11:34:51 -05:00
index.bzl feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00
package.json feat(bazel): add an ng_package rule (#22221) 2018-02-23 11:19:04 -08:00