Skip to content

Commit 33f20df

Browse files
committed
Migrate to ionic 5 angular 9
1 parent 0fe6e19 commit 33f20df

File tree

13 files changed

+14613
-216
lines changed

13 files changed

+14613
-216
lines changed

README.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

angular.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"build": {
1515
"builder": "@angular-devkit/build-angular:browser",
1616
"options": {
17+
"aot": true,
1718
"outputPath": "www",
1819
"index": "src/index.html",
1920
"main": "src/main.ts",
@@ -63,10 +64,20 @@
6364
"type": "initial",
6465
"maximumWarning": "2mb",
6566
"maximumError": "5mb"
67+
},
68+
{
69+
"type": "anyComponentStyle",
70+
"maximumWarning": "6kb"
6671
}
6772
]
6873
},
6974
"ci": {
75+
"budgets": [
76+
{
77+
"type": "anyComponentStyle",
78+
"maximumWarning": "6kb"
79+
}
80+
],
7081
"progress": false
7182
}
7283
}
@@ -128,7 +139,9 @@
128139
"tsconfig.spec.json",
129140
"e2e/tsconfig.json"
130141
],
131-
"exclude": ["**/node_modules/**"]
142+
"exclude": [
143+
"**/node_modules/**"
144+
]
132145
}
133146
},
134147
"e2e": {
@@ -174,7 +187,8 @@
174187
}
175188
},
176189
"cli": {
177-
"defaultCollection": "@ionic/angular-toolkit"
190+
"defaultCollection": "@ionic/angular-toolkit",
191+
"analytics": false
178192
},
179193
"schematics": {
180194
"@ionic/angular-toolkit:component": {
@@ -184,4 +198,4 @@
184198
"styleext": "scss"
185199
}
186200
}
187-
}
201+
}

config.xml

Lines changed: 0 additions & 102 deletions
This file was deleted.

e2e/src/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ describe('new App', () => {
99

1010
it('should be blank', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toContain('The world is your oyster.');
12+
expect(page.getParagraphText()).toContain('Start with Ionic UI Components');
1313
});
1414
});

ionic.config.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"name": "ionic-peer",
3-
"integrations": {
4-
"cordova": {}
5-
},
3+
"integrations": {},
64
"type": "angular"
75
}

0 commit comments

Comments
 (0)