Alex Eagle
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
Victor Berchet
7ce0fc7d47
refactor: add types ( #9116 )
2016-06-09 11:04:15 -07:00
ScottSWu
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
Victor Berchet
ac1156739d
feat(i18n): extract messages
2016-06-07 15:17:02 -07:00
Torgeir Helgevold
7cefec77ef
fix(ngUpgrade): prevent digest already in progress ( #9054 )
...
fix(ngUpgrade): prevent digest already in progress
2016-06-07 15:10:13 -07:00
Chuck Jazdzewski
c197e2bb42
Revert "fix(ngUpgrade): prevent digest already in progress ( #9046 )"
...
This reverts commit d1c989b8a5
.
Breaks a Karma test.
2016-06-06 16:30:11 -07:00
Torgeir Helgevold
d1c989b8a5
fix(ngUpgrade): prevent digest already in progress ( #9046 )
2016-06-06 13:34:27 -07:00
Rob Wormald
a19c4e8f9a
fix(upgrade): allow functions for template and templateUrl ( #9022 )
2016-06-04 19:53:51 -07:00
Victor Berchet
a6ad61d83e
refactor: change provide(...) for {provide: ...}
...
- provide() is deprecated,
- {} syntax is required by the offline compiler
2016-06-03 15:03:49 -07:00
Hannah Howard
48bf349c3c
fix(upgrade): allow deeper nesting of ng2 components/directives ( #8949 )
...
* fix(upgrade): add test for upgrade adapter bug
* fix(upgrade): allow deeper nesting of ng2 components/directives
allow a nesting sequence of ng2 > ng1 > ng2 directives
2016-06-01 15:58:40 -07:00
Alex Eagle
c6064a30a1
chore(package.json): make the packages installable
2016-05-27 17:21:34 -07:00
Alex Eagle
ef0c32512c
chore(lint): enable semicolon and variable-name tslint checks
2016-05-26 15:46:03 -07:00
Matthew Windwer
cbc8d0adf8
fix(upgrade): Ensure upgrade adapter works on angular.js 1.2 ( #8647 )
2016-05-26 11:58:47 -07:00
Rob Wormald
e5904f4089
fix(facade): change EventEmitter to be sync by default ( #8761 )
2016-05-26 09:34:04 -07:00
Igor Minar
16dfe3c63f
build: consolidate tsc to ease migration to @types/ based typings delivery
...
I actually tried to use @types/* directly but came across several issues which prevented me
from switching over:
- https://github.com/Microsoft/TypeScript/issues/8715
- https://github.com/Microsoft/TypeScript/issues/8723
2016-05-25 08:22:07 -07:00
Victor Berchet
75e6dfb9ab
fix(browser): platform code cleanup
2016-05-23 17:57:28 -07:00
Ward Bell
0a872ffd38
feat(core/linker): add SimpleChanges type to lifecycle_hooks to simplify OnChanges signature
...
Closes #8557
2016-05-23 16:11:52 -07:00
Igor Minar
0035575c82
build: turn on tsc's stripInternal when producint public d.ts file
...
I also made some changes to fix imports and remove some stuff that caused
breakage once stripInternals was turned on.
2016-05-20 10:59:57 -07:00
Victor Berchet
54f8308999
refactor(browser): merge static & dynamic platforms
2016-05-20 10:48:55 -07:00
Victor Berchet
6e62217b78
fix(WebWorker): remove the platform-browser dependency on compiler
2016-05-18 16:23:09 -07:00
Joost de Vries
a01a54c180
adds 'repository' metadata to npm modules ( #8649 )
2016-05-17 23:17:15 -07:00
Hannah Howard
db8290632f
fix(upgrade): fallback to root ng2 injector when element is compiled outside the document ( #8684 )
...
Currently downgraded ng2 elements fail inside a ui-router view because they are unable
to require an ng2 Injector via the require attribute of the DDO, because ui-router compiles
its templates before they are inserted in a ui-view. This adds a "fallback" behavior if
a parent injector cannot be found to go to the root ng2 Injector.
2016-05-17 15:55:53 -07:00
Hannah Howard
6cdc53c497
fix(UpgradeNg1ComponentAdapter): make bindings available on $scope in controller & link function ( #8645 )
...
Delays NG1 Directive controller instatiation where possible and pre-link function always
to the ngOnInit() lifecycle hook. This way bindings are always available on $scope in both
the controller and the link function.
2016-05-17 14:53:59 -07:00
Igor Minar
905f38acb8
build: fix source map paths for npm packages
...
the bundles have source mpas disabled for now because when we downlevel
the esm bundle to es5 tsc doesn't consider the original source map so
we end up with a source map pointing to the esm bundle instead which is
not useful.
2016-05-03 13:36:33 -06:00
Tobias Bosch
43527172ed
chore: don’t shadow `tsconfig.json` used for editors by build specific tsconfig.json
2016-05-02 15:06:46 -07:00
Alex Eagle
3ae856ab8b
build(tsc): Use angular2-template-compiler in place of tsc
...
This lets us down-level Decorators with tsickle and produce .metadata.json
files for users to reference when offline-compiling their app.
2016-05-01 23:40:59 -07:00
Misko Hevery
3e17c99f4e
chore: clang-reformat
2016-05-01 22:59:41 -07:00
Alex Eagle
c4be30d2e8
Revert "build(tsc): Use angular2-template-compiler in place of tsc"
...
This reverts commit 3d25294f706e0fd6224b20372be1e961959c0af8.
2016-05-01 20:51:00 -07:00
Alex Eagle
57240c85a5
build(tsc): Use angular2-template-compiler in place of tsc
...
This gives us tsickle pre-processing of Decorators, and produces
.metadata.json files for users to consume in their offline compilation.
2016-05-01 20:51:00 -07:00
Igor Minar
a66cdb469f
repackaging: all the repackaging changes squashed
2016-05-01 20:51:00 -07:00
Igor Minar
505da6c0a8
repackaging: all the file moves
2016-05-01 20:51:00 -07:00