Skip to content

Commit d2aa012

Browse files
committed
ref(angular): remove unnecessary devdependencies, minor review changes
1 parent 337991f commit d2aa012

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

packages/angular/angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* To learn more about this file see: https://angular.io/guide/workspace-config */
12
{
23
"$schema": "../../node_modules/@angular/cli/lib/config/schema.json",
34
"version": 1,

packages/angular/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@
4444
"@angular/cli": "~10.2.4",
4545
"@angular/compiler-cli": "~10.2.5",
4646
"@types/node": "^12.11.1",
47-
"codelyzer": "^6.0.0",
4847
"ng-packagr": "^10.1.0",
4948
"ts-node": "~8.3.0",
50-
"tslint": "~6.1.0",
5149
"typescript": "~4.0.2",
5250
"zone.js": "~0.10.2"
5351
},

packages/angular/tsconfig.ngc.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
"strictMetadataEmit": true,
1818
"enableResourceInlining": true,
1919
// As per Angular 10, the recommendation from the library creation guide
20-
// is to disable compilation for Ivy in production builds to ensure
21-
// compatibility with Angular 10.
22-
// For Angular 11-13 applications, ngcc and the Angular linker ensure that
23-
// the library code is processed to match the specific Angular runtime version.
20+
// is to disable compilation for the Ivy rendering engine in production builds
21+
// to ensure compatibility with Angular 10.
22+
// For Angular 11-13 applications, ngcc and the Angular linker convert the compiled JS
23+
// at application compile time into an Ivy-compatible version which is then further used in
24+
// the build process. This ensures compatibility with newer Angular versions than the one
25+
// that was used to initially compile the library (Angular 10 in our case).
2426
"enableIvy": false
2527
}
2628
}

0 commit comments

Comments
 (0)