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 cdc30b3 commit 84c9b44
Show file tree
Hide file tree
Showing 30 changed files with 5,670 additions and 7,567 deletions.
41 changes: 18 additions & 23 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,51 +8,38 @@
"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",
{
"prefix": "app",
"style": "kebab-case",
"type": "element"
"type": "attribute",
"prefix": "tiptap",
"style": "camelCase"
}
],
"@angular-eslint/directive-selector": [
"@angular-eslint/component-selector": [
"error",
{
"prefix": "app",
"style": "camelCase",
"type": "attribute"
"type": "element",
"prefix": "tiptap",
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.spec.ts"
],
"rules": {
"max-classes-per-file": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
"plugin:@angular-eslint/template/recommended",
"plugin:@angular-eslint/template/accessibility"
],
"rules": {}
},
Expand All @@ -65,6 +52,14 @@
"rules": {
"no-console": "off"
}
},
{
"files": [
"*.spec.ts"
],
"rules": {
"max-classes-per-file": "off"
}
}
]
}
15 changes: 6 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,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 @@ -88,12 +88,9 @@
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
"sourceMap": true
}
},
"defaultConfiguration": "production"
Expand All @@ -102,18 +99,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
Loading

0 comments on commit 84c9b44

Please sign in to comment.