angular-cn/modules/angular2
Alex Eagle 2a70f4e4c7 fix(typings): Don't expose typing dependencies to users.
This resolves Duplicate Identifier issues seen by many users,
at the expense of more typings installation required in some
cases.

Removes the quickstart hack of placing all needed dependencies
typings files in our distribution. Removes dependencies on
nodejs from angular2/core.

Fixes #5973
Fixes #5807
Fixes #6266

Angular now depends on es6-promise and es6-collections
(and a handful of manual typings) rather than all of es6-shim.

Fixes #5242

We previously had an undocumented breaking change, this is now
documented in this commit.

Fixes #6817

BREAKING CHANGE:

Transitive typings are no longer included in the distribution.
You may need to install typings in your project using
http://github.com/typings/typings

Users now must rely on getting typings from:
- one of the peerDependencies, such as rxjs, which exposes
  typings via the moduleResolution=node mechanism.
  (see https://github.com/Microsoft/TypeScript/wiki/Typings-for-npm-packages)
  This happens automatically.
- Using --target ES5 now requires manual installation of
  es6-promise and es6-collections typings.
- Using some angular APIs may introduce a dependency on eg. nodejs
  or jasmine, and those typings need manual installation as well.

Closes #6267
2016-02-04 22:42:40 +00:00
..
animate cleanup(testing): create top level files for mocks 2015-11-24 19:29:52 +00:00
docs docs(cheatsheet): change as to name in routing section 2016-02-02 11:43:29 -08:00
examples feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00
http cleanup(testing): create top level files for mocks 2015-11-24 19:29:52 +00:00
manual_typings fix(typings): Don't expose typing dependencies to users. 2016-02-04 22:42:40 +00:00
platform feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00
router fix(router): export ROUTER_LINK_DSL_PROVIDER and hide MockPopStateEvent 2015-12-15 09:45:00 -08:00
src fix(typings): Don't expose typing dependencies to users. 2016-02-04 22:42:40 +00:00
test fix(compiler): fix interpolation regexp 2016-02-03 15:21:55 +00:00
web_worker fix(compiler): remove AppRootUrl 2015-12-12 00:58:56 +00:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md chore(build): remove es5build.js 2015-11-06 18:22:57 +00:00
angular2.dart fix(web_workers): support @AngularEntrypoint in web workers 2016-01-13 17:55:01 +00:00
animate.ts feat(animate): adds basic support for CSS animations on enter and leave 2015-09-14 17:37:09 +00:00
bootstrap.ts feat(dart/transform): Introduce @AngularEntrypoint() 2015-12-01 13:34:29 -08:00
bootstrap_static.ts feat(dart/transform): Introduce @AngularEntrypoint() 2015-12-01 13:34:29 -08:00
common.ts refactor(core): move directives, pipes, and forms into common 2015-11-05 23:00:32 +00:00
compiler.ts fix(compiler): remove AppRootUrl 2015-12-12 00:58:56 +00:00
core.dart chore(tests): fix broken linker integration test and fix DebugNode export 2016-01-29 14:29:49 -08:00
core.ts chore(tests): fix broken linker integration test and fix DebugNode export 2016-01-29 14:29:49 -08:00
http.ts docs(http.ts): Fix MockBackend examples using backend.connections observer 2016-02-03 05:58:40 -08:00
instrumentation.ts cleanup(tooling): move tooling to the browser platform and rename profile into instrumentation 2015-11-24 19:29:52 +00:00
package.json build(broccoli): convert dependencies to peerDependencies in all package.json templates 2015-12-08 11:52:26 -08:00
pubspec.yaml test(dart/transform): Update dependencies & fix Dart tests 2016-01-14 00:29:03 +00:00
router.ts feat(WebWorker): Add Router Support for WebWorker Apps 2016-01-26 21:07:12 -08:00
testing.ts chore(test): remove deprecated RootTestComponent 2015-12-02 15:00:55 -08:00
testing_internal.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
tsconfig.json fix(setup): set tsconfig so that it works in editors 2015-11-09 08:43:15 -08:00
tsd.json chore(typings): use mainline DefinitelyTyped repo rather than a fork. 2016-02-04 22:42:40 +00:00
upgrade.ts chore(ngUpgrade): Move into Angular2 2015-10-31 20:48:27 -07:00

README.js.md

Angular2

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js

This package contains different sources for different users:

  1. The files located in the root folder can be consumed using CommonJS.
  2. The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:
    • dev/: a development version that includes runtime type assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /ts are the TypeScript source files.

License: Apache MIT 2.0