@ionic/angular 8.8.12-dev.11782342444.186b6e9c → 8.8.12-dev.11782931922.18ba507c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/angular",
3
- "version": "8.8.12-dev.11782342444.186b6e9c",
3
+ "version": "8.8.12-dev.11782931922.18ba507c",
4
4
  "description": "Angular specific wrappers for @ionic/core",
5
5
  "keywords": [
6
6
  "ionic",
@@ -38,13 +38,13 @@
38
38
  "types": "./types/ionic-angular-common.d.ts",
39
39
  "default": "./fesm2022/ionic-angular-common.mjs"
40
40
  },
41
- "./standalone": {
42
- "types": "./types/ionic-angular-standalone.d.ts",
43
- "default": "./fesm2022/ionic-angular-standalone.mjs"
41
+ "./lazy": {
42
+ "types": "./types/ionic-angular-lazy.d.ts",
43
+ "default": "./fesm2022/ionic-angular-lazy.mjs"
44
44
  }
45
45
  },
46
46
  "dependencies": {
47
- "@ionic/core": "8.8.12-dev.11782342444.186b6e9c",
47
+ "@ionic/core": "8.8.12-dev.11782931922.18ba507c",
48
48
  "ionicons": "^8.0.13",
49
49
  "jsonc-parser": "^3.0.0",
50
50
  "tslib": "^2.3.0"
@@ -7,8 +7,8 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
7
7
  const utility_1 = require("@schematics/angular/utility");
8
8
  const workspace_1 = require("@schematics/angular/utility/workspace");
9
9
  const ast_1 = require("../utils/ast");
10
- const config_1 = require("./../utils/config");
11
- const package_1 = require("./../utils/package");
10
+ const config_1 = require("../utils/config");
11
+ const package_1 = require("../utils/package");
12
12
  function addIonicAngularToPackageJson() {
13
13
  return (host) => {
14
14
  (0, package_1.addPackageToPackageJson)(host, 'dependencies', '@ionic/angular', 'latest');
@@ -61,7 +61,7 @@ function addProvideIonicAngular(projectName, projectSourceRoot) {
61
61
  return (host) => {
62
62
  const appConfig = `${projectSourceRoot}/app/app.config.ts`;
63
63
  if (host.exists(appConfig)) {
64
- return (0, utility_1.addRootProvider)(projectName, ({ code, external }) => code `${external('provideIonicAngular', '@ionic/angular/standalone')}({})`);
64
+ return (0, utility_1.addRootProvider)(projectName, ({ code, external }) => code `${external('provideIonicAngular', '@ionic/angular')}({})`);
65
65
  }
66
66
  return host;
67
67
  };
@@ -56,7 +56,7 @@ function getSourceFile(host, path) {
56
56
  function addIonicModuleImportToNgModule(host, modulePath) {
57
57
  const recorder = host.beginUpdate(modulePath);
58
58
  const moduleSource = getSourceFile(host, modulePath);
59
- const ionicModuleChange = (0, ast_utils_1.insertImport)(moduleSource, modulePath, 'IonicModule', '@ionic/angular');
59
+ const ionicModuleChange = (0, ast_utils_1.insertImport)(moduleSource, modulePath, 'IonicModule', '@ionic/angular/lazy');
60
60
  (0, change_1.applyToUpdateRecorder)(recorder, [ionicModuleChange]);
61
61
  const metadataChange = (0, ast_utils_1.addSymbolToNgModuleMetadata)(moduleSource, modulePath, 'imports', 'IonicModule.forRoot({})');
62
62
  (0, change_1.applyToUpdateRecorder)(recorder, metadataChange);