250 Commits

Author SHA1 Message Date
Misko Hevery
7d2a746090 build: remove ivy JIT mode ()
PR Close 
2018-11-02 15:44:05 -07:00
Andy Blatecky
64647af1a6 fix(upgrade): make typings compatible with older AngularJS typings ()
Make `angular1` typings compatible with older versions of AngularJS
typings from `@types/angular`.

Closes 

PR Close 
2018-11-02 11:24:05 -07:00
Igor Minar
ee0b857172 build: rename the ivy compile mode 'local' to 'aot' ()
PR Close 
2018-10-23 14:14:49 -07:00
Igor Minar
4237c34c78 test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ()
We are close enough to blacklist a few test targets, rather than whitelist targets to run...

Because bazel rules can be composed of other rules that don't inherit tags automatically,
I had to explicitly mark all of our ts_library and ng_module targes with "ivy-local" and
"ivy-jit" tags so that we can create a query that excludes all fixme- tagged targets even
if those targets are composed of other targets that don't inherit this tag.

This is the updated overview of ivy related bazel tags:

- ivy-only: target that builds or runs only under ivy
- fixme-ivy-jit: target that doesn't yet build or run under ivy with --compile=jit
- fixme-ivy-local: target that doesn't yet build or run under ivy with --compile=local
- no-ivy-jit: target that is not intended to build or run under ivy with --compile=jit
- no-ivy-local: target that is not intended to build or run under ivy with --compile=local

PR Close 
2018-10-23 08:57:42 -07:00
Greg Magolan
1f3331f5e6 build(bazel): use fine-grained npm deps () ()
PR Close 
2018-10-19 20:59:29 -07:00
Pete Bacon Darwin
853faf4c71 docs: update upgrade to use @publicApi tags ()
PR Close 
2018-10-19 14:35:53 -07:00
Pete Bacon Darwin
13143b850e docs: update router to use @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
Jason Bedard
071934e92a fix(upgrade): properly destroy upgraded component elements and descendants ()
Fixes 

PR Close 
2018-10-11 21:07:48 -07:00
Jason Aden
7466a99dda Revert "fix(upgrade): properly destroy upgraded component elements and descendants ()"
This reverts commit 912f3d186f4ce5c4a97268775509cfb6285916c2. Revert is needed due to compilation failures due to this PR inside Google.
2018-10-10 14:44:52 -07:00
Jason Bedard
912f3d186f fix(upgrade): properly destroy upgraded component elements and descendants ()
Fixes 

PR Close 
2018-10-10 14:19:00 -07:00
Jason Aden
9623e7c639 Revert "fix(upgrade): properly destroy upgraded component elements and descendants ()"
This reverts commit 5a31bde6496c63d82d86227d7772c2127c28b08c.
2018-10-08 14:34:47 -07:00
Jason Bedard
5a31bde649 fix(upgrade): properly destroy upgraded component elements and descendants ()
Fixes 

PR Close 
2018-10-08 12:06:13 -07:00
Judy Bogart
f543d71cc3 docs: add package doc files ()
PR Close 
2018-10-05 15:42:14 -07:00
Pete Bacon Darwin
fef9cebed0 docs(upgrade): move examples etc into @usageNotes ()
PR Close 
2018-09-24 09:11:02 -07:00
Greg Magolan
b99d7ed5bf build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ()
PR Close 
2018-09-18 13:05:38 -07:00
George Kalpakas
2a672a97ab fix(upgrade): trigger $destroy event on upgraded component element ()
Fixes 

PR Close 
2018-09-05 11:35:14 -07:00
George Kalpakas
71007ef9b2 refactor(upgrade): share code for destroying upgraded components between dynamic and static ()
PR Close 
2018-09-05 11:35:14 -07:00
George Kalpakas
2505c077d7 test(upgrade): reduce flaky-ness by increasing timeout ()
PR Close 
2018-08-06 14:52:50 -07:00
George Kalpakas
066fc6a0ca refactor(upgrade): improve internal AngularJS typings ()
PR Close 
2018-08-06 14:52:50 -07:00
George Kalpakas
07ab98bbb0 build(upgrade): use correct sources in BUILD.bazel ()
PR Close 
2018-08-06 14:52:50 -07:00
George Kalpakas
06af7943a4 test(upgrade): run tests against AngularJS v1.7.x as well ()
PR Close 
2018-08-01 14:10:21 -07:00
Greg Magolan
1d051c5841 build(bazel): use bazel managed node_modules for downstream angular from source build support ()
PR Close 
2018-07-26 17:02:21 -07:00
Alex Rickabaugh
8a5cd2200a fix(ivy): allow building router with ngtsc ()
This commit adds the ivy-local tag to //packages/router. Since the
router depends on //packages/upgrade, it makes that package
compatible with ngtsc as well.

PR Close 
2018-07-20 11:48:35 -07:00
Alex Eagle
23766b85e9
build: Fix windows tests ()
closes 
2018-07-20 10:51:32 -07:00
George Kalpakas
787c54736c test: run unit tests in random order ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
c0e2dba07b build: upgrade jasmine to 2.99.x and fix tests ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
00c110b055 build: upgrade jasmine (and related typings) to latest version ()
With these changes, the types are a little stricter now and also not
compatible with Protractor's jasmine-like syntax. So, we have to also
use `@types/jasminewd2` for e2e tests (but not for non-e2e tests).

I also had to "augment" `@types/jasminewd2`, because the latest
typings from [DefinitelyTyped][1] do not reflect the fact that the
`jasminewd2` version (v2.1.0) currently used by Protractor supports
passing a `done` callback to a spec.

[1]: 566e039485/types/jasminewd2/index.d.ts (L9-L15)

Fixes 
Closes 

PR Close 
2018-07-06 13:48:02 -07:00
Kapunahele Wong
22758912a0 docs(aio): tech edits to upgrade-lazy () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Peter Bacon Darwin
bb6b59128f docs(upgrade): use a class for upgraded service () ()
This makes the resulting use in Angular more ideomatic, since we can just
use the class type as the injection indicator.

PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Peter Bacon Darwin
4258c3d1df docs(upgrade): fix sub-ordered-list syntax () ()
We must always use 1., 2. etc, to indicate ordered lists, even for sub-lists.
We can change the sublist to display as a., b. etc, via CSS.

PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
70156bc4ed docs(upgrade): add guide about downgradeModule() () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
2ac2ab7ff6 docs(upgrade): add API docs for downgradeModule() () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
ca0a55f4ee docs(upgrade): add API docs for propagateDigest () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
0b3d25d67e docs(upgrade): update API docs for upgrade/static () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
George Kalpakas
7d1f9c8a7c build: upgrade AngularJS typings ()
Previously, we were using [@types/angularjs][1], which is deprecated and
outdated (hasn't been updated for over two years). This PR switches to
[@types/angular][2], which is regularly updated (based on the
definitions on [DefinitelyTyped][3]).

[1]: https://www.npmjs.com/package/@types/angularjs
[2]: https://www.npmjs.com/package/@types/angular
[3]: https://github.com/DefinitelyTyped/DefinitelyTyped

PR Close 
2018-06-25 09:30:46 -07:00
Rado Kirov
c95437f15d build(bazel): Turning on strictPropertyInitialization for Angular. ()
All errors for existing fields have been detected and suppressed with a
`!` assertion.

Issue/24571 is tracking proper clean up of those instances.

One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.

PR Close 
2018-06-25 07:57:13 -07:00
Alex Rickabaugh
7983f0a69b ci(ivy): configure CI environments for Ivy JIT and AOT ()
Two new CircleCI environments are created: test_ivy_jit and test_ivy_aot.
Both run a subset of the tests that have been marked with Bazel tags as
being appropriate for that environment.

Once all the tests pass, builds are published to the *-builds repo both
for the legacy View Engine compiled code as well as for ivy-jit and ivy-aot.

PR Close 
2018-06-08 13:34:27 -07:00
Greg Magolan
68a799e950 build(bazel): re-enable packages/upgrade/test:test_web test with static_files in ts_web_test_suite ()
PR Close 
2018-05-31 16:13:06 -07:00
Lucas Sloan
5cf82f8f3f build: upgrade to TypeScript 2.8 ()
PR Close 
2018-05-15 15:31:12 -07:00
Alex Eagle
017d67cdf8 test: switch to ts_web_test_suite ()
Unit tests now run on Firefox too

PR Close 
2018-05-15 11:40:56 -07:00
swseverance
fe3679a356 style: remove empty comments ()
PR Close 
2018-05-10 15:48:13 -07:00
Igor Minar
5b96078624 Revert "refactor(core): tree-shake application_module providers ()"
This reverts commit eb031c6ff1d416d90d7c89dbeb367f9dc1927564.

The change is breaking targets in g3 see cl/194336387.
2018-04-26 14:08:13 -07:00
Matias Niemelä
eb031c6ff1 refactor(core): tree-shake application_module providers ()
PR Close 
2018-04-25 15:51:51 -07:00
Nathan Friend
75febe7511 docs(upgrade): fix detail regarding bootstrapping order () ()
Clarify that Angular should be bootstrapped before AngularJS.

Closes angular/angular#23225

PR Close 
2018-04-12 23:16:18 -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
Pete Bacon Darwin
b8053f1d4f docs(upgrade): remove unnecessary {@link... } tags ()
Backtick enclosed inline code blocks will be automatically linked
if appropriate.

PR Close 
2018-04-05 09:30:27 -07:00
Pete Bacon Darwin
9d9fb607cd docs(upgrade): migrate deprecatd @whatItDoes tags ()
These tags' contents  are now included in the `@description` tag.

PR Close 
2018-04-05 09:30:27 -07:00
Pete Bacon Darwin
5dc50e4688 docs(upgrade): migrate deprecated @howToUse tags ()
These have become examples in the `@description` tag.

PR Close 
2018-04-05 09:30:27 -07:00
Jason Bedard
a2330ff2db fix(upgrade): propagate return value of resumeBootstrap ()
Fixes 

PR Close 
2018-04-02 14:20:58 -07:00