10 Commits

Author SHA1 Message Date
Pete Bacon Darwin
976389836e build: update node type version ()
PR Close 
2018-09-18 13:06:28 -07:00
Alex Eagle
5a298b1c5e fix(common): workaround UMD/webpack limitation ()
Fixes 

PR Close 
2018-04-09 15:16:12 -07:00
Igor Minar
da58a55ece fix(bazel): don't produce ngfactory files for ng_packages ()
PR Close 
2018-04-06 16:26:31 -07:00
Alex Eagle
46eadb5cfb build: fix common locales in npm package ()
PR Close 
2018-04-04 08:23:07 -07:00
Alan Agius
1678423619 test(bazel): fix test for @angular/common ng_package ()
PR Close 
2018-04-04 08:23:07 -07:00
Alan Agius
7ca772060b fix(common): locales are not being shipped ()
Closes: , 

PR Close 
2018-04-03 10:47:51 -07:00
Alex Eagle
45e090b614 fix(bazel): pass --global option to rollup ()
This fixes the UMD bundles which otherwise don't contain the right global symbols

PR Close 
2018-03-29 17:44:43 -07:00
Alex Eagle
64efcf103c build: add the FESM files back to ng_package ()
PR Close 
2018-03-21 13:19:19 -07:00
Alex Eagle
88b3198c80 feat(bazel): change ng_package rule to APF v6 ()
Angular Package Format v6 stops bundling files in the esm5 and esm2015
directories, now that Webpack 4 can tree-shake per-file.

Adds some missing files like package.json to make packages closer to
what we publish today.

Refactor ng_package to be a type of npm_package and re-use the packaging
action from that rule.

PR Close 
2018-03-15 11:38:31 -07:00
Alex Eagle
b43b164a61 feat(bazel): add an ng_package rule ()
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 
2018-02-23 11:19:04 -08:00