Skip to content

Commit 9a9f7b4

Browse files
authored
Ng 20 (#1362)
BREAKING CHANGE: Updating Angular to v20, using signals and making it zoneless
1 parent cd3a80e commit 9a9f7b4

File tree

19 files changed

+6207
-7934
lines changed

19 files changed

+6207
-7934
lines changed

.eslintrc.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
"@angular-eslint/no-pipe-impure": "error",
2929
"@angular-eslint/no-queries-metadata-property": "error",
3030
"@angular-eslint/prefer-output-readonly": "error",
31-
"@angular-eslint/prefer-standalone": "warn",
31+
"@angular-eslint/prefer-standalone": "off",
3232
"@angular-eslint/use-component-selector": "error",
3333
"@angular-eslint/use-component-view-encapsulation": "error",
34-
"@typescript-eslint/ban-types": [
34+
"@angular-eslint/prefer-inject": "off",
35+
"@typescript-eslint/no-restricted-types": [
3536
"error",
3637
{
3738
"types": {
@@ -216,7 +217,7 @@
216217
"@typescript-eslint/no-var-requires": "error",
217218
"@typescript-eslint/prefer-readonly": "error",
218219
"@typescript-eslint/promise-function-async": "error",
219-
"@typescript-eslint/quotes": [
220+
"quotes": [
220221
"error",
221222
"single",
222223
{

angular.json

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:application",
18+
"builder": "@angular/build:application",
1919
"options": {
2020
"outputPath": {
2121
"base": "dist/hyperdash-angular-app"
@@ -61,7 +61,7 @@
6161
"defaultConfiguration": ""
6262
},
6363
"serve": {
64-
"builder": "@angular-devkit/build-angular:dev-server",
64+
"builder": "@angular/build:dev-server",
6565
"options": {
6666
"buildTarget": "hyperdash-angular-app:build"
6767
},
@@ -72,7 +72,7 @@
7272
}
7373
},
7474
"extract-i18n": {
75-
"builder": "@angular-devkit/build-angular:extract-i18n",
75+
"builder": "@angular/build:extract-i18n",
7676
"options": {
7777
"buildTarget": "hyperdash-angular-app:build"
7878
}
@@ -98,7 +98,7 @@
9898
"prefix": "lib",
9999
"architect": {
100100
"build": {
101-
"builder": "@angular-devkit/build-angular:ng-packagr",
101+
"builder": "@angular/build:ng-packagr",
102102
"options": {
103103
"tsConfig": "projects/hyperdash-angular/tsconfig.lib.json",
104104
"project": "projects/hyperdash-angular/ng-package.json"
@@ -125,5 +125,31 @@
125125
"cli": {
126126
"schematicCollections": ["@angular-eslint/schematics"],
127127
"analytics": false
128+
},
129+
"schematics": {
130+
"@schematics/angular:component": {
131+
"type": "component"
132+
},
133+
"@schematics/angular:directive": {
134+
"type": "directive"
135+
},
136+
"@schematics/angular:service": {
137+
"type": "service"
138+
},
139+
"@schematics/angular:guard": {
140+
"typeSeparator": "."
141+
},
142+
"@schematics/angular:interceptor": {
143+
"typeSeparator": "."
144+
},
145+
"@schematics/angular:module": {
146+
"typeSeparator": "."
147+
},
148+
"@schematics/angular:pipe": {
149+
"typeSeparator": "."
150+
},
151+
"@schematics/angular:resolver": {
152+
"typeSeparator": "."
153+
}
128154
}
129155
}

0 commit comments

Comments
 (0)