42 Commits

Author SHA1 Message Date
Alan
941c99ad7f build: turn off dts bundling for packages that still are not supported ()
PR Close 
2019-03-07 10:47:20 -08:00
Alan
d5a8be76f2 build: enable bundle_dts for common package ()
PR Close 
2019-03-06 10:59:18 -08:00
Greg Magolan
ea09430039 build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles ()
PR Close 
2019-02-28 12:06:36 -08:00
Wassim Chegham
ce68b4d839 style: enforce buildifier lint on CI ()
PR Close 
2019-02-26 16:57:41 -08:00
Greg Magolan
25aae64274 build(bazel): do not build rxjs from source under Bazel ()
PR Close 
2019-02-19 16:28:14 -08:00
Paul Gschwendtner
7cbc36fdac build: remove unused rollup.config.js files ()
Since we build and publish the individual packages
using Bazel and `build.sh` has been removed, we can
safely remove the `rollup.config.js` files which are no
longer needed because the `ng_package` bazel rule
automatically handles the rollup settings and globals.

PR Close 
2019-02-14 19:28:08 +00:00
Alex Eagle
38343a2388 build: set a default module_name for ts_library rules ()
PR Close 
2019-01-18 10:16:39 -08:00
Pete Bacon Darwin
0918adf39d docs: common with @publicApi tags ()
PR Close 
2018-10-19 14:35:53 -07:00
Pete Bacon Darwin
24521f549c docs: convert all @experimental tags to @publicApi tags ()
PR Close 
2018-10-19 14:35:52 -07:00
Pete Bacon Darwin
4b96a58c5a docs: remove all deprecated @stable jsdoc tags ()
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.

PR Close 
2018-04-10 21:49:32 -07:00
Igor Minar
7d095b96cd fix: correct several esm2015 entry-points in package.jsons ()
PR Close 
2018-03-20 13:30:08 -07:00
Igor Minar
b43f8bc7d3 feat(core): upgrade rxjs to 6.0.0-alpha.4 ()
PR Close 
2018-03-19 21:51:51 -07:00
Igor Minar
ce63dc6f95 feat: update the package output of build.sh to APF v6 ()
PR Close 
2018-03-18 09:33:51 -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
a069e08354 refactor(bazel): convert most ts_library to ng_module ()
This is necessary so we can produce ng metadata for our packages that are published as libraries

PR Close 
2018-02-15 14:08:53 -08:00
vsavkin
c40ae7f7cf feat(router): add navigationSource and restoredState to NavigationStart event ()
Currently, NavigationStart there is no way to know if an navigation was triggered imperatively or via the location change. These two use cases should be handled differently for a variety of use cases (e.g., scroll position restoration). This PR adds a navigation source field and restored navigation id (passed to navigations triggered by a URL change).

PR Close 
2018-01-29 10:22:59 -08:00
Jason Aden
ede9cb7c2f Revert: "feat(router): add navigationSource and restoredState to NavigationStart event ()"
This reverts commit 3b7bab7d22064d545f1745dc3e062fcb1d91073b. Will be re-merged after fixing integration of minor breaking change.
2018-01-26 16:24:56 -08:00
vsavkin
3b7bab7d22 feat(router): add navigationSource and restoredState to NavigationStart event ()
Currently, NavigationStart there is no way to know if an navigation was triggered imperatively or via the location change. These two use cases should be handled differently for a variety of use cases (e.g., scroll position restoration). This PR adds a navigation source field and restored navigation id (passed to navigations triggered by a URL change).

PR Close 
2018-01-26 10:25:32 -08:00
Alex Eagle
c4f02e21dd build: move repeated tsconfig attributes to a macro ()
This helps ensure we use the same tsconfig.json file for all compilations.
Next steps are to make it the same tsconfig.json file used by the editor

PR Close 
2018-01-10 12:30:19 -08:00
Alex Eagle
ef534c0cc1 build: upgrade bazel rules to latest ()
Add enough BUILD files to make it possible to
`bazel build packages/core/test`

Also re-format BUILD.bazel files with Buildifier.
Add a CI lint check that they stay formatted.

PR Close 
2017-12-07 11:27:50 -08:00
Jason Aden
437a0446e2 fix(common): return ISubscription from Location.subscribe() ()
Fix 

PR Close 
2017-11-22 08:55:10 -06:00
Hans Larsen
b6abcb2500 refactor: make all rollup config ES5 compatible ()
So they can be required by other Node scripts.

PR Close 
2017-10-30 23:09:17 -04:00
vsavkin
82fed62af2 fix(router): navigating to the current location works ()
Closes 

PR Close 
2017-10-23 20:56:52 -04:00
Chuck Jazdzewski
d7eac7ee56 Revert "fix(router): navigating to the current location works ()"
This reverts commit 43c5b638b96a0c63f041a0b31e4c646ead72341b.
2017-10-09 16:38:12 -07:00
vsavkin
43c5b638b9 fix(router): navigating to the current location works ()
Closes 

PR Close 
2017-10-09 11:45:13 -07:00
Chuck Jazdzewski
8e5b582b61 Revert "fix(router): navigating to the current location works ()"
This reverts commit b67d574a9562d76ab0a838f4d1b42501e5c5f09b.
2017-10-06 18:15:19 -07:00
vsavkin
b67d574a95 fix(router): navigating to the current location works ()
Closes 

PR Close 
2017-10-06 15:35:24 -07:00
Alex Eagle
82e49230ff build: Give names to the AMD modules nested in Angular UMD distro () 2017-09-28 09:29:22 -07:00
Chuck Jazdzewski
f96142cd7c build: remove references to tsc-wrapped ()
With this commit `ngc` is used instead of `tsc-wrapped` for
collecting metadata and tsickle rewriting and `tsc-wrapped`
is removed from the repository.

`@angular/tsc-wrapped@5` is now deprecated and is no longer
used, updated, or maintained as part as of Angular 5.x.x.

`@angular/tsc-wrapped@4` is still maintained and required by
Angular 4.x.x and will be maintained as long as 4.x.x is in
LTS.

PR Close 
2017-09-21 13:55:52 -07:00
Jason Aden
15e8d50313 build: roll up to named .js files rather than 'index.js' ()
PR Close 
2017-09-19 16:59:18 -07:00
Jason Aden
fd701b07f0 build: publish tree of files rather than FESMs ()
* Remove now unnecessary portions of build.
* Add a compilePackageES5 method to build ES5 from sources
* Rework all package.json and rollup config files to new format
* Remove "extends" from tsconfig-build.json files and fixup compilation roots

PR Close 
2017-08-31 15:34:50 -07:00
Jason Aden
fa809ec8cf build: import tslib rather than output TS helpers () 2017-05-23 14:01:39 -06:00
Miško Hevery
d8b73e4223 fix(common): Update types for TypeScript nullability support 2017-04-10 15:26:33 -06:00
Filipe Silva
f634c62cb3 test: add systemjs+umd integration test ()
This test ensures the `__esModule` is set on UMD bundles, thus making them compatible with SystemJS@^0.22.3.

Followup from https://github.com/frankwallis/plugin-typescript/issues/185.

PR Close 
2017-03-19 12:23:07 -05:00
Jason Aden
49829b4a4d build: add package names to secondary endpoint package.json files ()
Fixes 

PR Close 
2017-03-17 16:52:55 -05:00
Jason Aden
410aa33005 build: fix paths to typings files so tsickle resolves imports correctly
Fixes 
2017-03-16 17:34:29 -07:00
Jason Aden
b74ab83d2c refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
Jason Aden
da8ea350b2 refactor: More generic build.sh file 2017-03-08 16:29:28 -08:00
Jason Aden
72563b61fb build: fix rollup config file paths 2017-03-08 16:29:28 -08:00
Jason Aden
5aed1e36b8 refactor: move secondary entry point rollup configs. 2017-03-08 16:29:28 -08:00
Jason Aden
8573e36574 build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
Jason Aden
3e51a19983 refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00