Skip to content

Commit

Permalink
feat: upgrade to Angular 16
Browse files Browse the repository at this point in the history
Closes #1428
Closes #1429
Closes #1430

BREAKING CHANGE: Major Angular version bump. No API changes to the library.
  • Loading branch information
willsoto authored May 31, 2023
1 parent d052ea1 commit 050fd7e
Show file tree
Hide file tree
Showing 7 changed files with 2,120 additions and 1,251 deletions.
45 changes: 18 additions & 27 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,37 @@
"overrides": [
{
"files": ["*.ts"],
"parserOptions": {
"project": ["tsconfig.json", "e2e/tsconfig.json"],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates",
"prettier"
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
"@angular-eslint/directive-selector": [
"error",
{
"accessibility": "explicit"
"type": "attribute",
"prefix": "x",
"style": "camelCase"
}
],
"@typescript-eslint/quotes": [
"@angular-eslint/component-selector": [
"error",
"double",
{
"avoidEscape": true
"type": "element",
"prefix": "x",
"style": "kebab-case"
}
],
"brace-style": ["error", "1tbs"],
"dot-notation": "off",
"id-blacklist": "off",
"id-match": "off",
"no-empty-function": "off",
"no-shadow": "error",
"no-underscore-dangle": "off",
"no-unused-expressions": "error",
"prefer-arrow/prefer-arrow-functions": "off"
]
}
},
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"extends": [
"plugin:@angular-eslint/template/recommended",
"plugin:@angular-eslint/template/accessibility"
],
"rules": {}
}
]
Expand Down
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
}
},
"cli": {
"schematicCollections": ["@angular-eslint/schematics"],
"packageManager": "pnpm",
"analytics": false
"analytics": false,
"schematicCollections": ["@angular-eslint/schematics"]
}
}
41 changes: 21 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,34 +45,34 @@
]
},
"devDependencies": {
"@angular-devkit/build-angular": "15.2.8",
"@angular-eslint/builder": "15.2.1",
"@angular-eslint/eslint-plugin": "15.2.1",
"@angular-eslint/eslint-plugin-template": "15.2.1",
"@angular-eslint/schematics": "15.2.1",
"@angular-eslint/template-parser": "15.2.1",
"@angular/cli": "15.2.8",
"@angular/common": "15.2.9",
"@angular/compiler": "15.2.9",
"@angular/compiler-cli": "15.2.9",
"@angular/core": "15.2.9",
"@angular/forms": "15.2.9",
"@angular/language-service": "15.2.9",
"@angular/platform-browser": "15.2.9",
"@angular/platform-browser-dynamic": "15.2.9",
"@angular/router": "15.2.9",
"@angular-devkit/build-angular": "16.0.3",
"@angular-eslint/builder": "16.0.3",
"@angular-eslint/eslint-plugin": "16.0.3",
"@angular-eslint/eslint-plugin-template": "16.0.3",
"@angular-eslint/schematics": "16.0.3",
"@angular-eslint/template-parser": "16.0.3",
"@angular/cli": "16.0.3",
"@angular/common": "16.0.3",
"@angular/compiler": "16.0.3",
"@angular/compiler-cli": "16.0.3",
"@angular/core": "16.0.3",
"@angular/forms": "16.0.3",
"@angular/language-service": "16.0.3",
"@angular/platform-browser": "16.0.3",
"@angular/platform-browser-dynamic": "16.0.3",
"@angular/router": "16.0.3",
"@commitlint/config-conventional": "17.6.5",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/jasmine": "4.3.2",
"@types/jasminewd2": "2.0.10",
"@types/node": "18.16.16",
"@typescript-eslint/eslint-plugin": "5.59.8",
"@typescript-eslint/parser": "5.59.8",
"@typescript-eslint/eslint-plugin": "5.59.7",
"@typescript-eslint/parser": "5.59.7",
"chartist": "1.3.0",
"commitlint": "17.6.5",
"core-js": "3.30.2",
"eslint": "8.41.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsdoc": "39.9.1",
Expand Down Expand Up @@ -100,6 +100,7 @@
},
"packageManager": "[email protected]",
"volta": {
"node": "18.16.0"
"node": "18.16.0",
"pnpm": "8.6.0"
}
}
Loading

0 comments on commit 050fd7e

Please sign in to comment.