chore(): cleanup unused modules

This commit is contained in:
Adam Bradley
2016-07-11 23:00:45 -05:00
parent 10179c351d
commit 91f66d8972
5 changed files with 4 additions and 24 deletions

View File

@ -38,24 +38,17 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
// Configure file reading
readFilesProcessor.basePath = path.resolve(__dirname, '../..');
readTypeScriptModules.sourceFiles = [
'angular2/angular2.ts',
'angular2/router.ts'
'angular2/angular2.ts'
];
readTypeScriptModules.basePath = path.resolve(path.resolve(__dirname, '../../modules'));
createTypeDefinitionFile.typeDefinitions = [
{
id: 'angular2/angular2',
modules: {
'angular2/angular2': 'angular2/angular2',
}
},
{
id: 'angular2/router',
modules: {
'angular2/router': 'angular2/router'
}
}
}
];
})

View File

@ -22,6 +22,7 @@ module.exports = function(config) {
'dist/bundles/ionic.system.js',
{ pattern: 'node_modules/@angular/**/*.js', included: false},
{ pattern: 'dist/tests/**/*.spec.js', included: false },
// { pattern: 'dist/tests/components/nav/**/*.spec.js', included: false },
{ pattern: 'src/**/*.js', included: false },
'scripts/karma/test-main.js'
],

View File

@ -36,10 +36,6 @@ System.config({
main: 'index.js',
defaultExtension: 'js'
},
'@angular/upgrade': {
main: 'index.js',
defaultExtension: 'js'
},
'@angular/platform-browser': {
main: 'index.js',
defaultExtension: 'js'
@ -47,10 +43,6 @@ System.config({
'@angular/platform-browser-dynamic': {
main: 'index.js',
defaultExtension: 'js'
},
'@angular/platform-server': {
main: 'index.js',
defaultExtension: 'js'
}
}
});

View File

@ -17,9 +17,6 @@ module.exports = {
'angular2/common': {
commonjs2: ['angular2', 'common']
},
'angular2/router' : {
commonjs2: ['angular2', 'router']
},
'angular2/http': {
commonjs2: ['angular2', 'http']
},

View File

@ -43,7 +43,6 @@ import { Searchbar } from '../components/searchbar/searchbar';
import { Nav } from '../components/nav/nav';
import { NavPop } from '../components/nav/nav-pop';
import { NavPush } from '../components/nav/nav-push';
import { NavRouter } from '../components/nav/nav-router';
import { NavbarTemplate, Navbar } from '../components/navbar/navbar';
import { ShowWhen, HideWhen } from '../components/show-hide-when/show-hide-when';
@ -113,7 +112,6 @@ import { ShowWhen, HideWhen } from '../components/show-hide-when/show-hide-when'
* - Navbar
* - NavPush
* - NavPop
* - NavRouter
* - IdRef
* - ShowWhen
* - HideWhen
@ -195,7 +193,6 @@ export const IONIC_DIRECTIVES: any[] = [
NavPush,
NavPop,
NavRouter,
ShowWhen,
HideWhen