Skip to content

Commit 4e0241a

Browse files
authored
Merge pull request #4 from ionic-team/v5-migration
Migration: Angular 9 and Ionic 5
2 parents 0e5d410 + 55d395d commit 4e0241a

26 files changed

Lines changed: 9464 additions & 7958 deletions

angular.json

Lines changed: 11 additions & 0 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
}

capacitor.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"appId": "io.ionic.pg.ng.cap",
3-
"appName": "Photo Gallery Ng Cap",
2+
"appId": "io.ionic.demo.pg.cap.ng",
3+
"appName": "Photo Gallery Cap Ng",
44
"bundledWebRuntime": false,
55
"npmClient": "npm",
66
"webDir": "www",

ios/App/App.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,13 +344,16 @@
344344
baseConfigurationReference = FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */;
345345
buildSettings = {
346346
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
347+
CODE_SIGN_IDENTITY = "Apple Development";
347348
CODE_SIGN_STYLE = Automatic;
349+
DEVELOPMENT_TEAM = 9YN2HU59K8;
348350
INFOPLIST_FILE = App/Info.plist;
349351
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
350352
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
351353
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
352-
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.pg.ng.cap;
354+
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.demo.pg.cap.ng;
353355
PRODUCT_NAME = "$(TARGET_NAME)";
356+
PROVISIONING_PROFILE_SPECIFIER = "";
354357
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG USE_PUSH";
355358
SWIFT_VERSION = 4.2;
356359
TARGETED_DEVICE_FAMILY = "1,2";
@@ -362,12 +365,15 @@
362365
baseConfigurationReference = AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */;
363366
buildSettings = {
364367
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
368+
CODE_SIGN_IDENTITY = "Apple Development";
365369
CODE_SIGN_STYLE = Automatic;
370+
DEVELOPMENT_TEAM = 9YN2HU59K8;
366371
INFOPLIST_FILE = App/Info.plist;
367372
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
368373
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
369-
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.pg.ng.cap;
374+
PRODUCT_BUNDLE_IDENTIFIER = io.ionic.demo.pg.cap.ng;
370375
PRODUCT_NAME = "$(TARGET_NAME)";
376+
PROVISIONING_PROFILE_SPECIFIER = "";
371377
SWIFT_ACTIVE_COMPILATION_CONDITIONS = USE_PUSH;
372378
SWIFT_VERSION = 4.2;
373379
TARGETED_DEVICE_FAMILY = "1,2";

ios/App/App/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
8-
<string>Photo Gallery Ng Cap</string>
8+
<string>Photo Gallery Ng Cap</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

ios/App/App/capacitor.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"appId": "io.ionic.pg.ng.cap",
3-
"appName": "Photo Gallery Ng Cap",
2+
"appId": "io.ionic.demo.pg.cap.ng",
3+
"appName": "Photo Gallery Cap Ng",
44
"bundledWebRuntime": false,
55
"npmClient": "npm",
66
"webDir": "www",

0 commit comments

Comments
 (0)