Skip to content

Commit 2cd9ce5

Browse files
authored
update to ng 16 (#62)
1 parent ec9d6cd commit 2cd9ce5

File tree

3 files changed

+64
-53
lines changed

3 files changed

+64
-53
lines changed

.eslintrc.json

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"root": true,
3-
"ignorePatterns": ["projects/**/*"],
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
46
"overrides": [
57
{
6-
"files": ["*.ts"],
8+
"files": [
9+
"*.ts"
10+
],
711
"extends": [
812
"eslint:recommended",
913
"plugin:prettier/recommended",
@@ -30,19 +34,26 @@
3034
]
3135
}
3236
},
33-
// NOTE: WE ARE NOT APPLYING PRETTIER IN THIS OVERRIDE, ONLY @ANGULAR-ESLINT/TEMPLATE
3437
{
35-
"files": ["*.html"],
36-
"extends": ["plugin:@angular-eslint/template/recommended"],
38+
"files": [
39+
"*.html"
40+
],
41+
"extends": [
42+
"plugin:@angular-eslint/template/recommended"
43+
],
3744
"rules": {}
3845
},
39-
// NOTE: WE ARE NOT APPLYING @ANGULAR-ESLINT/TEMPLATE IN THIS OVERRIDE, ONLY PRETTIER
4046
{
41-
"files": ["*.html"],
42-
"excludedFiles": ["*inline-template-*.component.html"],
43-
"extends": ["plugin:prettier/recommended"],
47+
"files": [
48+
"*.html"
49+
],
50+
"excludedFiles": [
51+
"*inline-template-*.component.html"
52+
],
53+
"extends": [
54+
"plugin:prettier/recommended"
55+
],
4456
"rules": {
45-
// NOTE: WE ARE OVERRIDING THE DEFAULT CONFIG TO ALWAYS SET THE PARSER TO ANGULAR (SEE BELOW)
4657
"prettier/prettier": [
4758
"error",
4859
{

package.json

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -20,50 +20,50 @@
2020
},
2121
"private": false,
2222
"dependencies": {
23-
"@angular/animations": "^15.2.10",
24-
"@angular/cdk": "^15.2.9",
25-
"@angular/common": "^15.2.10",
26-
"@angular/compiler": "^15.2.10",
27-
"@angular/core": "^15.2.10",
28-
"@angular/forms": "^15.2.10",
29-
"@angular/material": "^15.2.9",
30-
"@angular/platform-browser": "^15.2.10",
31-
"@angular/platform-browser-dynamic": "^15.2.10",
32-
"@angular/router": "^15.2.10",
23+
"@angular/animations": "^16.2.12",
24+
"@angular/cdk": "^16.2.12",
25+
"@angular/common": "^16.2.12",
26+
"@angular/compiler": "^16.2.12",
27+
"@angular/core": "^16.2.12",
28+
"@angular/forms": "^16.2.12",
29+
"@angular/material": "^16.2.12",
30+
"@angular/platform-browser": "^16.2.12",
31+
"@angular/platform-browser-dynamic": "^16.2.12",
32+
"@angular/router": "^16.2.12",
3333
"@ng-icons/core": "24",
3434
"@ng-icons/material-icons": "24",
3535
"date-fns": "^2.29.3",
3636
"material-icons": "^1.13.1",
37-
"postcss": "^8.4.20",
38-
"rxjs": "^7.8.0",
37+
"postcss": "^8.4.32",
38+
"rxjs": "^7.8.1",
3939
"tslib": "^2.4.0",
40-
"zone.js": "~0.11.7"
40+
"zone.js": "~0.13.3"
4141
},
4242
"devDependencies": {
43-
"@angular-devkit/build-angular": "^15.2.10",
44-
"@angular-eslint/builder": "^15.2.1",
45-
"@angular-eslint/eslint-plugin": "^15.2.1",
46-
"@angular-eslint/eslint-plugin-template": "^15.2.1",
47-
"@angular-eslint/schematics": "^15.2.1",
48-
"@angular-eslint/template-parser": "^15.2.1",
49-
"@angular/cli": "^15.2.10",
50-
"@angular/compiler-cli": "^15.2.10",
51-
"@types/jasmine": "~3.10.0",
52-
"@types/node": "^12.11.1",
53-
"@typescript-eslint/eslint-plugin": "^5.43.0",
54-
"@typescript-eslint/parser": "^5.43.0",
55-
"autoprefixer": "^10.4.13",
56-
"eslint": "^8.28.0",
57-
"jasmine-core": "~4.0.0",
43+
"@angular-devkit/build-angular": "^16.2.10",
44+
"@angular-eslint/builder": "^16.3.1",
45+
"@angular-eslint/eslint-plugin": "^16.3.1",
46+
"@angular-eslint/eslint-plugin-template": "^16.3.1",
47+
"@angular-eslint/schematics": "^16.3.1",
48+
"@angular-eslint/template-parser": "^16.3.1",
49+
"@angular/cli": "^16.2.10",
50+
"@angular/compiler-cli": "^16.2.12",
51+
"@types/jasmine": "~5.1.4",
52+
"@types/node": "^18.19.3",
53+
"@typescript-eslint/eslint-plugin": "^5.59.2",
54+
"@typescript-eslint/parser": "^5.59.2",
55+
"autoprefixer": "^10.4.16",
56+
"eslint": "^8.39.0",
57+
"jasmine-core": "~5.1.1",
5858
"karma": "~6.3.0",
59-
"karma-chrome-launcher": "~3.1.0",
60-
"karma-coverage": "~2.2.0",
61-
"karma-jasmine": "~4.0.0",
62-
"karma-jasmine-html-reporter": "~1.7.0",
63-
"ng-packagr": "^15.2.2",
59+
"karma-chrome-launcher": "~3.2.0",
60+
"karma-coverage": "~2.2.1",
61+
"karma-jasmine": "~5.1.0",
62+
"karma-jasmine-html-reporter": "~2.1.0",
63+
"ng-packagr": "^16.2.3",
6464
"prettier": "^2.8.3",
6565
"prettier-eslint": "^15.0.1",
66-
"sass": "^1.57.1",
67-
"typescript": "~4.8.4"
66+
"sass": "^1.69.5",
67+
"typescript": "~5.1.6"
6868
}
6969
}

projects/ng-mat-components/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"version": "0.0.0-PLACEHOLDER",
44
"license": "Apache-2.0",
55
"peerDependencies": {
6-
"@angular/common": "^14.0.0",
7-
"@angular/core": "^14.0.0",
8-
"@angular/material": "^14.0.0",
6+
"@angular/common": "^16.0.0",
7+
"@angular/core": "^16.0.0",
8+
"@angular/material": "^16.0.0",
99
"date-fns": "^2.29.3"
1010
},
1111
"dependencies": {
12-
"tslib": "^2.3.0"
12+
"tslib": "^2.6.2"
1313
},
1414
"repository": {
1515
"type": "git",
@@ -18,9 +18,9 @@
1818
"homepage": "https://github.com/fullstack-devops/ng-mat-components",
1919
"description": "Central component repo for angular applications",
2020
"engines": {
21-
"node": ">= 16.0.0",
22-
"npm": ">= 8.0.0",
23-
"yarn": ">= 1.13.0"
21+
"node": ">= 18.0.0",
22+
"npm": ">= 9.8.0",
23+
"yarn": ">= 1.22.0"
2424
},
2525
"bugs": {
2626
"url": "https://github.com/fullstack-devops/ng-mat-components/issues"
@@ -40,4 +40,4 @@
4040
"sass": "./styles/fonts/_roboto.scss"
4141
}
4242
}
43-
}
43+
}

0 commit comments

Comments
 (0)