Skip to content

Commit 2ee04ad

Browse files
authored
upgrade angular to v10. (#432)
* upgrade to angular 10 * upgrade demo to angular 10 * add angular 10 keywords
1 parent d99e34a commit 2ee04ad

File tree

3 files changed

+25
-26
lines changed

3 files changed

+25
-26
lines changed

demo/src/tsconfig.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,15 @@
44
"emitDecoratorMetadata": true,
55
"experimentalDecorators": true,
66
"noEmitHelpers" :true,
7-
"lib": ["es6", "dom"],
8-
"types": [
9-
"webpack",
10-
],
7+
"lib": ["es2017", "dom"],
118
"mapRoot": "./",
12-
"module": "es6",
9+
"module": "es2020",
1310
"moduleResolution": "node",
1411
"outDir": "../temp/out-tsc",
1512
"sourceMap": true,
16-
"target": "es5",
13+
"target": "es2015",
1714
"typeRoots": [
1815
"../node_modules/@types"
1916
]
2017
}
21-
}
18+
}

package.json

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-froala-wysiwyg-base",
33
"version": "3.2.1-1",
4-
"description": "Angular 4, 5, 6, 7, 8 and 9 bindings for Froala WYSIWYG HTML rich text editor",
4+
"description": "Angular 4, 5, 6, 7, 8, 9 and 10 bindings for Froala WYSIWYG HTML rich text editor",
55
"main": "bundles/angular-froala-wysiwyg.umd.js",
66
"typings": "index.d.ts",
77
"module": "index.js",
@@ -26,13 +26,15 @@
2626
"angular7",
2727
"angular8",
2828
"angular9",
29+
"angular10",
2930
"ng2",
3031
"ng4",
3132
"ng5",
3233
"ng6",
3334
"ng7",
3435
"ng8",
3536
"ng9",
37+
"ng10",
3638
"froala",
3739
"html",
3840
"text",
@@ -56,18 +58,18 @@
5658
"peerDependencies": {},
5759
"devDependencies": {
5860
"lite-server": "^2.5.4",
59-
"@angular-devkit/build-angular": "~0.11.0",
60-
"@angular/cli": "^7.1.4",
61-
"@angular/common": "^7.2.0",
62-
"@angular/compiler": "^7.2.0",
63-
"@angular/compiler-cli": "^7.2.0",
64-
"@angular/core": "^7.2.0",
65-
"@angular/forms": "^7.2.0",
66-
"@angular/http": "^7.2.0",
67-
"@angular/language-service": "^7.2.0",
68-
"@angular/platform-browser": "^7.2.0",
69-
"@angular/platform-browser-dynamic": "^7.2.0",
70-
"@angular/router": "^7.2.0",
61+
"@angular-devkit/build-angular": "^0.1000.7",
62+
"@angular/cli": "^10.0.7",
63+
"@angular/common": "^10.0.11",
64+
"@angular/compiler": "^10.0.11",
65+
"@angular/compiler-cli": "^10.0.11",
66+
"@angular/core": "^10.0.11",
67+
"@angular/forms": "^10.0.11",
68+
"@angular/language-service": "^10.0.11",
69+
"@angular/platform-browser": "^10.0.11",
70+
"@angular/platform-browser-dynamic": "^10.0.11",
71+
"@angular/router": "^10.0.11",
72+
"core-js": "^2.6.11",
7173
"@types/marked": "0.0.28",
7274
"@types/node": "7.0.0",
7375
"@types/tapable": "^1.0.4",
@@ -77,7 +79,7 @@
7779
"rxjs": "^6.3.3",
7880
"rxjs-compat": "^6.3.2",
7981
"ts-helpers": "^1.1.1",
80-
"typescript": "3.2.4",
81-
"zone.js": "^0.8.26"
82+
"typescript": "^3.9.7",
83+
"zone.js": "~0.10.2"
8284
}
8385
}

src/tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"outDir": "../dist",
4-
"target": "es5",
5-
"module": "es2015",
4+
"target": "es2015",
5+
"module": "es2020",
66
"moduleResolution": "node",
77
"emitDecoratorMetadata": true,
88
"experimentalDecorators": true,
@@ -16,7 +16,7 @@
1616
"noUnusedLocals": false,
1717
"noUnusedParameters": false,
1818
"allowSyntheticDefaultImports": true,
19-
"lib": ["dom", "es6"]
19+
"lib": ["dom", "es2017"]
2020
},
2121
"exclude": [
2222
"node_modules"
@@ -29,4 +29,4 @@
2929
"strictMetadataEmit": true,
3030
"skipTemplateCodegen": true
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)