X Tutup
Skip to content

chore: re-arrange sources to better reflect npm package and import paths #3713

@jeffbcross

Description

@jeffbcross

See this comment for details.

Essentially, the folder structure should be updated to look like this:

- modules/
--- angular2/
----- core/
----- forms/
----- http/...
----- router/...
----- web-worker/...
--- benchmarks/...
--- benchmarks_external/...
--- benchpress/...
--- examples/...
--- material2/...
--- rtts_assert/... (deprecated)
--- transforms/...

TODO:

  • Move docs outside of angular2.
  • Break test_lib and mocks into separate bundle-specific test folders, http_test, core_test, router_test.
  • Add Breaking Change notes to commits
  • Release ts2dart with updated paths chore: update facade paths to new paths in core dart-archive/ts2dart#266
  • Remove superfluous top-level exports
  • Add new public API exports to respective files/bundles.
  • Clean up the decorators spec to not leak between specs angular2/test/core/util/decorators spec "should not apply decorators from the prototype chain".
  • Manually test npm version of benchpress after all changes (it depends on di)
  • Test angular.io to make sure correct paths are reflected
  • Maybe re-write all angular2/angular2 imports to be more specific.
  • Update test paths to reflect src
  • Consolidate exports in src folders (to reduce redundancy between core and core_no_render exports).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup