Skip to content

Commit

Permalink
Core Refactor - migrate to secondary entrypoints to optimize the bund…
Browse files Browse the repository at this point in the history
…le size (#1625)

* feat(demo): Convert all components, directives and pipes to standalone

* feat(demo): Remove unnecessary NgModule classes

* fix(core/language): TranslateModule call forRoot only once with provideRootTranslation

* feat: migrate to angular standalone components (#1556)

BREAKING CHANGE: IgoLanguageModule don't import TranslateModule.forRoot
defaultLanguageLoader is not exported anymore
BREAKING CHANGE: 'provideDefaultLanguageLoader' and 'provideLanguageLoader' are replaced by 'DEFAULT_LANGUAGE_LOADER' and set directly inside the TranslationConfig

* build(packagr): keep only one config

* feat(core): split in submodule for bundle optimization BREAKING CHANGES
- refact(compression): convert and move to utils packages BREAKING CHANGE

* build(clean-exports): account all keys in the exports object
  • Loading branch information
alecarn authored Mar 8, 2024
1 parent eb3761d commit 4aeca83
Show file tree
Hide file tree
Showing 336 changed files with 1,182 additions and 7,848 deletions.
18 changes: 9 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
},
"configurations": {
"production": {
"project": "packages/auth/ng-package.prod.json",
"project": "packages/auth/ng-package.json",
"tsConfig": "packages/auth/tsconfig.lib.prod.json"
}
}
Expand Down Expand Up @@ -291,7 +291,7 @@
},
"configurations": {
"production": {
"project": "packages/common/ng-package.prod.json",
"project": "packages/common/ng-package.json",
"tsConfig": "packages/common/tsconfig.lib.prod.json"
}
}
Expand Down Expand Up @@ -319,7 +319,7 @@
},
"core": {
"root": "packages/core",
"sourceRoot": "packages/core/src",
"sourceRoot": "packages/core",
"projectType": "library",
"prefix": "igo",
"schematics": {
Expand All @@ -337,15 +337,15 @@
},
"configurations": {
"production": {
"project": "packages/core/ng-package.prod.json",
"project": "packages/core/ng-package.json",
"tsConfig": "packages/core/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "packages/core/src/test.ts",
"main": "packages/core/test.ts",
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "packages/core/tsconfig.spec.json",
"karmaConfig": "packages/core/karma.conf.js",
Expand Down Expand Up @@ -383,7 +383,7 @@
},
"configurations": {
"production": {
"project": "packages/geo/ng-package.prod.json",
"project": "packages/geo/ng-package.json",
"tsConfig": "packages/geo/tsconfig.lib.prod.json"
}
}
Expand Down Expand Up @@ -423,7 +423,7 @@
},
"configurations": {
"production": {
"project": "packages/utils/ng-package.prod.json",
"project": "packages/utils/ng-package.json",
"tsConfig": "packages/utils/tsconfig.lib.prod.json"
}
}
Expand Down Expand Up @@ -469,7 +469,7 @@
},
"configurations": {
"production": {
"project": "packages/context/ng-package.prod.json",
"project": "packages/context/ng-package.json",
"tsConfig": "packages/context/tsconfig.lib.prod.json"
}
}
Expand Down Expand Up @@ -515,7 +515,7 @@
},
"configurations": {
"production": {
"project": "packages/integration/ng-package.prod.json",
"project": "packages/integration/ng-package.json",
"tsConfig": "packages/integration/tsconfig.lib.prod.json"
}
}
Expand Down
Loading

0 comments on commit 4aeca83

Please sign in to comment.