Skip to content

Commit 5c91333

Browse files
committed
feat(package): migrate to ng12
BREAKING CHANGE: ng12
1 parent 6329569 commit 5c91333

File tree

6 files changed

+1801
-723
lines changed

6 files changed

+1801
-723
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:10-browsers
5+
- image: circleci/node:12-browsers
66
environment:
77
JOBS: 1
88
steps:

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages": [
33
"packages/@ngx-meta/*"
44
],
5-
"version": "9.0.0",
5+
"version": "12.0.0",
66
"npmClient": "yarn",
77
"command": {
88
"publish": {

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
"release": "standard-version"
3131
},
3232
"devDependencies": {
33-
"@angular/common": "^9.1.0",
34-
"@angular/compiler": "^9.1.0",
35-
"@angular/compiler-cli": "^9.1.0",
36-
"@angular/core": "^9.1.0",
37-
"@angular/platform-browser": "^9.1.0",
38-
"@angular/platform-browser-dynamic": "^9.1.0",
39-
"@angular/router": "^9.1.0",
33+
"@angular/common": "^12.0.3",
34+
"@angular/compiler": "^12.0.3",
35+
"@angular/compiler-cli": "^12.0.3",
36+
"@angular/core": "^12.0.3",
37+
"@angular/platform-browser": "^12.0.3",
38+
"@angular/platform-browser-dynamic": "^12.0.3",
39+
"@angular/router": "^12.0.3",
4040
"@commitlint/cli": "^8.3.5",
4141
"@commitlint/config-conventional": "^8.3.4",
4242
"@types/jest": "^23.3.14",
@@ -52,19 +52,19 @@
5252
"lerna": "^3.20.2",
5353
"lint-staged": "^10.0.0",
5454
"lodash": "^4.17.15",
55-
"ng-packagr": "^9.0.0",
55+
"ng-packagr": "^12.0.3",
5656
"prettier": "1.19.1",
5757
"prettier-tslint": "^0.4.2",
5858
"reflect-metadata": "^0.1.13",
5959
"request": "^2.88.2",
6060
"rimraf": "^3.0.2",
61-
"rxjs": "~6.5.4",
61+
"rxjs": "~6.6.7",
6262
"ts-node": "^8.9.0",
6363
"tsickle": "^0.38.0",
6464
"tslint": "^5.20.1",
6565
"tslint-config-prettier": "^1.18.0",
66-
"typescript": "~3.8.3",
67-
"zone.js": "^0.10.2"
66+
"typescript": "~4.2.4",
67+
"zone.js": "~0.11.4"
6868
},
6969
"husky": {
7070
"hooks": {

packages/@ngx-meta/core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ngx-meta/core",
3-
"version": "9.0.0",
3+
"version": "12.0.0",
44
"description": "Dynamic page title & meta tags utility for Angular (w/server-side rendering)",
55
"repository": {
66
"type": "git",
@@ -27,10 +27,10 @@
2727
},
2828
"homepage": "https://github.com/fulls1z3/ngx-meta/tree/master/packages/@ngx-meta/core#readme",
2929
"peerDependencies": {
30-
"@angular/core": ">=9.0.0 <10.0.0",
31-
"@angular/platform-browser": ">=9.0.0 <10.0.0",
32-
"@angular/platform-browser-dynamic": ">=9.0.0 <10.0.0",
33-
"@angular/router": ">=9.0.0 <10.0.0",
30+
"@angular/core": ">=12.0.0 <13.0.0",
31+
"@angular/platform-browser": ">=12.0.0 <13.0.0",
32+
"@angular/platform-browser-dynamic": ">=12.0.0 <13.0.0",
33+
"@angular/router": ">=12.0.0 <13.0.0",
3434
"rxjs": ">=6.0.0"
3535
},
3636
"publishConfig": {

tools/build/tsconfig.package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@
2121
"es2015",
2222
"dom"
2323
]
24+
},
25+
"angularCompilerOptions": {
26+
"skipTemplateCodegen": true,
27+
"strictMetadataEmit": true,
28+
"enableResourceInlining": true,
29+
"enableIvy": false
2430
}
2531
}

0 commit comments

Comments
 (0)