Revert "feat(router): add angular 1.x router"

This reverts commit fde026a9e4.
This commit is contained in:
Victor Berchet
2015-08-20 08:06:14 -07:00
parent cef51a7e0d
commit 298f1fb6a6
19 changed files with 4 additions and 1977 deletions

View File

@ -76,7 +76,6 @@ module.exports = function makeBrowserTree(options, destinationPath) {
exclude: [
'**/*.cjs',
'benchmarks/e2e_test/**',
'angular1_router/**',
// Exclude ES6 polyfill typings when tsc target=ES6
'angular2/traceur-runtime.d.ts',
'angular2/typings/es6-promise/**'

View File

@ -56,7 +56,7 @@ function stripModulePrefix(relativePath: string): string {
function getSourceTree() {
// Transpile everything in 'modules' except for rtts_assertions.
var tsInputTree = modulesFunnel(['**/*.js', '**/*.ts', '**/*.dart'], ['angular1_router/**/*']);
var tsInputTree = modulesFunnel(['**/*.js', '**/*.ts', '**/*.dart']);
var transpiled = ts2dart(tsInputTree, {
generateLibraryName: true,
generateSourceMap: false,
@ -147,7 +147,7 @@ function getDocsTree() {
var licenses = new MultiCopy('', {
srcPath: 'LICENSE',
targetPatterns: ['modules/*'],
exclude: ['*/rtts_assert', '*/http', '*/upgrade', '*/angular1_router'] // Not in dart.
exclude: ['*/rtts_assert', '*/http', '*/upgrade'], // Not in dart.
});
licenses = stew.rename(licenses, stripModulePrefix);
@ -157,7 +157,7 @@ function getDocsTree() {
relativePath => relativePath.replace(/\.dart\.md$/, '.md'));
// Copy all assets, ignore .js. and .dart. (handled above).
var docs = modulesFunnel(['**/*.md', '**/*.png', '**/*.html', '**/*.css', '**/*.scss'],
['**/*.js.md', '**/*.dart.md', 'angular1_router/**/*']);
['**/*.js.md', '**/*.dart.md']);
var assets = modulesFunnel(['examples/**/*.json']);

View File

@ -23,8 +23,7 @@ module.exports = function makeNodeTree(destinationPath) {
'angular2/test/core/zone/**',
'angular2/test/test_lib/fake_async_spec.ts',
'angular2/test/render/xhr_impl_spec.ts',
'angular2/test/forms/**',
'angular1_router/**'
'angular2/test/forms/**'
]
});