Skip to content

Commit b7534f1

Browse files
committed
feature(upgrade): upgrade ng-sortgrid to Angular 10
BREAKING CHANGE: upgrade ng-sortgrid to Angular 10
1 parent 067f724 commit b7534f1

File tree

11 files changed

+6460
-7936
lines changed

11 files changed

+6460
-7936
lines changed

angular.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@
6868
"projects/ng-sortgrid/src/lib/ngsg.css",
6969
"node_modules/@fortawesome/fontawesome-free/css/all.css"
7070
],
71-
"scripts": [],
72-
"es5BrowserSupport": true
71+
"scripts": []
7372
},
7473
"configurations": {
7574
"production": {

package-lock.json

Lines changed: 6297 additions & 7858 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -23,50 +23,50 @@
2323
},
2424
"private": true,
2525
"dependencies": {
26-
"@angular/animations": "~9.0.2",
27-
"@angular/common": "~9.0.2",
28-
"@angular/compiler": "~9.0.2",
29-
"@angular/core": "~9.0.2",
30-
"@angular/forms": "~9.0.2",
31-
"@angular/platform-browser": "~9.0.2",
32-
"@angular/platform-browser-dynamic": "~9.0.2",
33-
"@angular/router": "~9.0.2",
34-
"core-js": "^2.5.4",
35-
"rxjs": "~6.5.4",
36-
"tslib": "^1.10.0",
37-
"zone.js": "~0.10.2"
26+
"@angular/animations": "~10.0.12",
27+
"@angular/common": "~10.0.12",
28+
"@angular/compiler": "~10.0.12",
29+
"@angular/core": "~10.0.12",
30+
"@angular/forms": "~10.0.12",
31+
"@angular/platform-browser": "~10.0.12",
32+
"@angular/platform-browser-dynamic": "~10.0.12",
33+
"@angular/router": "~10.0.12",
34+
"core-js": "^3.6.5",
35+
"rxjs": "~6.6.2",
36+
"tslib": "^2.0.0",
37+
"zone.js": "~0.11.1"
3838
},
3939
"devDependencies": {
40-
"@angular-devkit/build-angular": "~0.900.3",
41-
"@angular-devkit/build-ng-packagr": "~0.900.3",
42-
"@angular/cli": "~9.0.3",
43-
"@angular/compiler-cli": "~9.0.2",
44-
"@angular/language-service": "~9.0.2",
45-
"@fortawesome/fontawesome-free": "^5.8.1",
46-
"@semantic-release/changelog": "^3.0.1",
47-
"@semantic-release/git": "^7.0.6",
48-
"@types/jasmine": "~2.8.8",
49-
"@types/jasminewd2": "~2.0.3",
50-
"@types/node": "^12.11.1",
51-
"codecov": "^3.7.1",
52-
"codelyzer": "^5.1.2",
53-
"copyfiles": "^2.1.0",
54-
"husky": "^1.3.1",
55-
"jasmine-core": "~2.99.1",
56-
"jasmine-spec-reporter": "~4.2.1",
57-
"karma": "~4.0.0",
58-
"karma-chrome-launcher": "~2.2.0",
59-
"karma-coverage-istanbul-reporter": "~2.0.1",
60-
"karma-jasmine": "~1.1.2",
61-
"karma-jasmine-html-reporter": "^0.2.2",
62-
"lint-staged": "^8.1.5",
63-
"ng-packagr": "^9.0.0",
64-
"prettier": "^1.16.4",
65-
"protractor": "~5.4.0",
66-
"ts-node": "~7.0.0",
67-
"tsickle": "^0.38.0",
68-
"tslint": "~5.11.0",
69-
"typescript": "^3.7.4"
40+
"@angular-devkit/build-angular": "~0.1000.7",
41+
"@angular-devkit/build-ng-packagr": "~0.1000.7",
42+
"@angular/cli": "~10.0.7",
43+
"@angular/compiler-cli": "~10.0.12",
44+
"@angular/language-service": "~10.0.12",
45+
"@fortawesome/fontawesome-free": "^5.14.0",
46+
"@semantic-release/changelog": "^5.0.1",
47+
"@semantic-release/git": "^9.0.0",
48+
"@types/jasmine": "~3.5.13",
49+
"@types/jasminewd2": "~2.0.8",
50+
"@types/node": "^14.6.0",
51+
"codecov": "^3.7.2",
52+
"codelyzer": "^6.0.0",
53+
"copyfiles": "^2.3.0",
54+
"husky": "^4.2.5",
55+
"jasmine-core": "~3.5.0",
56+
"jasmine-spec-reporter": "~5.0.0",
57+
"karma": "~5.0.0",
58+
"karma-chrome-launcher": "~3.1.0",
59+
"karma-coverage-istanbul-reporter": "~3.0.2",
60+
"karma-jasmine": "~3.3.0",
61+
"karma-jasmine-html-reporter": "^1.5.0",
62+
"lint-staged": "^10.2.13",
63+
"ng-packagr": "^10.0.0",
64+
"prettier": "^2.1.1",
65+
"protractor": "~7.0.0",
66+
"ts-node": "~9.0.0",
67+
"tsickle": "^0.39.1",
68+
"tslint": "~6.1.0",
69+
"typescript": "^3.9.0"
7070
},
7171
"husky": {
7272
"hooks": {
File renamed without changes.

projects/ng-sortgrid-demo/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/app",
55
"types": []

projects/ng-sortgrid-demo/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/spec",
55
"types": [

projects/ng-sortgrid/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
55
"target": "es2015",

projects/ng-sortgrid/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/spec",
55
"types": [

tsconfig.base.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"downlevelIteration": true,
6+
"outDir": "./dist/out-tsc",
7+
"sourceMap": true,
8+
"declaration": false,
9+
"module": "es2020",
10+
"moduleResolution": "node",
11+
"emitDecoratorMetadata": true,
12+
"experimentalDecorators": true,
13+
"importHelpers": true,
14+
"target": "es2015",
15+
"typeRoots": [
16+
"node_modules/@types"
17+
],
18+
"lib": [
19+
"es2018",
20+
"dom"
21+
],
22+
"paths": {
23+
"ng-sortgrid": [
24+
"dist/ng-sortgrid"
25+
],
26+
"ng-sortgrid/*": [
27+
"dist/ng-sortgrid/*"
28+
]
29+
}
30+
}
31+
}

tsconfig.json

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,23 @@
1+
/*
2+
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
3+
It is not intended to be used to perform a compilation.
4+
5+
To learn more about this file see: https://angular.io/config/solution-tsconfig.
6+
*/
17
{
2-
"compileOnSave": false,
3-
"compilerOptions": {
4-
"baseUrl": "./",
5-
"downlevelIteration": true,
6-
"outDir": "./dist/out-tsc",
7-
"sourceMap": true,
8-
"declaration": false,
9-
"module": "esnext",
10-
"moduleResolution": "node",
11-
"emitDecoratorMetadata": true,
12-
"experimentalDecorators": true,
13-
"importHelpers": true,
14-
"target": "es2015",
15-
"typeRoots": [
16-
"node_modules/@types"
17-
],
18-
"lib": [
19-
"es2018",
20-
"dom"
21-
],
22-
"paths": {
23-
"ng-sortgrid": [
24-
"dist/ng-sortgrid"
25-
],
26-
"ng-sortgrid/*": [
27-
"dist/ng-sortgrid/*"
28-
]
8+
"files": [],
9+
"references": [
10+
{
11+
"path": "./projects/ng-sortgrid/tsconfig.lib.json"
12+
},
13+
{
14+
"path": "./projects/ng-sortgrid/tsconfig.spec.json"
15+
},
16+
{
17+
"path": "./projects/ng-sortgrid-demo/tsconfig.app.json"
18+
},
19+
{
20+
"path": "./projects/ng-sortgrid-demo/tsconfig.spec.json"
2921
}
30-
}
22+
]
3123
}

0 commit comments

Comments
 (0)