Skip to content

Commit

Permalink
feat: upgrade to angular v17
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Mar 5, 2024
1 parent e1486c4 commit af7294e
Show file tree
Hide file tree
Showing 17 changed files with 6,311 additions and 7,793 deletions.
21 changes: 8 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,27 @@
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"pegasus",
"pegasus/typescript",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/component-selector": [
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "app",
"style": "kebab-case",
"type": "element"
"style": "camelCase"
}
],
"@angular-eslint/directive-selector": [
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "app",
"style": "camelCase",
"type": "attribute"
"style": "kebab-case"
}
]
}
Expand All @@ -44,7 +38,8 @@
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
"plugin:@angular-eslint/template/recommended",
"plugin:@angular-eslint/template/accessibility"
],
"rules": {}
},
Expand Down
15 changes: 6 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/demo",
"index": "projects/demo/src/index.html",
"main": "projects/demo/src/main.ts",
"browser": "projects/demo/src/main.ts",
"polyfills": [
"zone.js"
],
Expand Down Expand Up @@ -93,12 +93,9 @@
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
"sourceMap": true
}
},
"defaultConfiguration": "production"
Expand All @@ -107,18 +104,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "demo:build:production"
"buildTarget": "demo:build:production"
},
"development": {
"browserTarget": "demo:build:development"
"buildTarget": "demo:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "demo:build"
"buildTarget": "demo:build"
}
},
"test": {
Expand Down

0 comments on commit af7294e

Please sign in to comment.