Skip to content

Commit 714f4a6

Browse files
committed
fix(angular): aot
1 parent 0ad9c86 commit 714f4a6

File tree

4 files changed

+13862
-19
lines changed

4 files changed

+13862
-19
lines changed

angular/package-lock.json

Lines changed: 2830 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@
4242
"@ionic/core": "4.0.0-alpha.5"
4343
},
4444
"devDependencies": {
45-
"@angular/common": "^6.0.0-rc.3",
46-
"@angular/compiler": "^6.0.0-rc.3",
47-
"@angular/compiler-cli": "^6.0.0-rc.3",
48-
"@angular/core": "^6.0.0-rc.3",
49-
"@angular/forms": "^6.0.0-rc.3",
50-
"@angular/platform-browser": "^6.0.0-rc.3",
51-
"@angular/platform-browser-dynamic": "^6.0.0-rc.3",
52-
"@angular/router": "^6.0.0-rc.3",
45+
"@angular/common": "^6.0.0",
46+
"@angular/compiler": "^6.0.0",
47+
"@angular/compiler-cli": "^6.0.0",
48+
"@angular/core": "^6.0.0",
49+
"@angular/forms": "^6.0.0",
50+
"@angular/platform-browser": "^6.0.0",
51+
"@angular/platform-browser-dynamic": "^6.0.0",
52+
"@angular/router": "^6.0.0",
5353
"chalk": "^2.3.2",
5454
"execa": "^0.10.0",
5555
"fs-extra": "^5.0.0",
5656
"glob": "7.1.2",
5757
"inquirer": "^5.2.0",
5858
"listr": "^0.13.0",
59-
"rxjs": "^6.0.0-terrific-rc.3",
59+
"rxjs": "^6.0.0",
6060
"semver": "^5.5.0",
6161
"tslint": "^5.8.0",
6262
"tslint-ionic-rules": "0.0.14",

angular/src/module.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { CommonModule } from '@angular/common';
44
import * as c from './directives';
55
import * as d from './directives/proxies';
66
import * as p from './providers';
7-
import { setupConfig } from '@ionic/core';
87

98
const DECLARATIONS = [
109
// proxies
@@ -129,17 +128,11 @@ const PROVIDERS = [
129128
imports: [CommonModule]
130129
})
131130
export class IonicModule {
132-
static forRoot(config?: { [key: string]: any }): ModuleWithProviders {
131+
static forRoot(_config?: { [key: string]: any }): ModuleWithProviders {
133132
return {
134133
ngModule: IonicModule,
135134
providers: [
136135
...PROVIDERS,
137-
{ provide: p.ConfigToken, useValue: config },
138-
{
139-
provide: p.Config,
140-
useFactory: setupConfig,
141-
deps: [p.ConfigToken, p.Platform]
142-
}
143136
]
144137
};
145138
}

core/package-lock.json

Lines changed: 11022 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)