Skip to content

Commit 8204aea

Browse files
committed
Upgrade dependencies and switch to ngcc
1 parent 28fb080 commit 8204aea

File tree

3 files changed

+1229
-1185
lines changed

3 files changed

+1229
-1185
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"url": "git+https://github.com/fabiandev/css-animator.git"
88
},
99
"scripts": {
10-
"build": "node_modules/.bin/ngc -p tsconfig-aot.json && gulp build",
11-
"build:docs": "node_modules/.bin/ngc -p tsconfig-aot.json && gulp build:example"
10+
"build": "node_modules/.bin/ngcc --properties es2015 browser module main -p tsconfig-aot.json && gulp build",
11+
"build:docs": "node_modules/.bin/ngcc --properties es2015 browser module main -p tsconfig-aot.json && gulp build:example"
1212
},
1313
"main": "index.js",
1414
"keywords": [
@@ -20,22 +20,22 @@
2020
"css",
2121
"animate.css"
2222
],
23-
"author": "Fabian Pirklbauer <hi@fabiandev.io>",
23+
"author": "Fabian Leutgeb <hi@fabiandev.io>",
2424
"license": "MIT",
2525
"bugs": {
2626
"url": "https://github.com/fabiandev/css-animator/issues"
2727
},
2828
"homepage": "https://github.com/fabiandev/css-animator#readme",
2929
"dependencies": {},
3030
"devDependencies": {
31-
"@angular/animations": "^8.1.0",
32-
"@angular/common": "^8.1.0",
33-
"@angular/compiler": "^8.1.0",
34-
"@angular/compiler-cli": "^8.1.0",
35-
"@angular/core": "^8.1.0",
36-
"@angular/platform-browser": "^8.1.0",
37-
"@angular/platform-browser-dynamic": "^8.1.0",
38-
"@angular/platform-server": "^8.1.0",
31+
"@angular/animations": "^11.0.2",
32+
"@angular/common": "^11.0.2",
33+
"@angular/compiler": "^11.0.2",
34+
"@angular/compiler-cli": "^11.0.2",
35+
"@angular/core": "^11.0.2",
36+
"@angular/platform-browser": "^11.0.2",
37+
"@angular/platform-browser-dynamic": "^11.0.2",
38+
"@angular/platform-server": "^11.0.2",
3939
"@types/core-js": "^2.5.2",
4040
"animate.css": "^3.5.2",
4141
"del": "^5.0.0",
@@ -53,10 +53,10 @@
5353
"rxjs": "^6.5.2",
5454
"source-map-loader": "^0.2.1",
5555
"ts-loader": "^6.0.4",
56-
"typescript": ">=3.4.0 <3.5.0",
56+
"typescript": "4.0.x",
5757
"webpack": "^4.35.3",
5858
"webpack-angular-externals": "^1.0.2",
5959
"webpack-stream": "^5.2.1",
60-
"zone.js": "^0.9.1"
60+
"zone.js": "~0.10.3"
6161
}
6262
}

tsconfig-aot.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@
3434
"src/css-animator/index.ts"
3535
],
3636
"angularCompilerOptions": {
37-
"genDir": "aot",
38-
"skipMetadataEmit" : false
37+
"genDir": "aot",
38+
"skipMetadataEmit" : false,
39+
"enableIvy": true,
40+
"allowEmptyCodegenFiles": true,
41+
"fullTemplateTypeCheck": true,
42+
"strictInjectionParameters": true
3943
}
4044
}

0 commit comments

Comments
 (0)