Skip to content

Commit c296bb4

Browse files
committed
refactor: update to Angular 15
1 parent 13a43fe commit c296bb4

20 files changed

+4003
-13292
lines changed

AngularFrontend/.vscode/extensions.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

AngularFrontend/.vscode/launch.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

AngularFrontend/.vscode/tasks.json

Lines changed: 0 additions & 42 deletions
This file was deleted.

AngularFrontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AngularFrontend
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.2.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.6.
44

55
## Development server
66

AngularFrontend/angular.json

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
"projects": {
66
"AngularFrontend": {
77
"projectType": "application",
8-
"schematics": {},
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss"
11+
}
12+
},
913
"root": "",
1014
"sourceRoot": "src",
1115
"prefix": "app",
@@ -16,15 +20,11 @@
1620
"outputPath": "dist/angular-frontend",
1721
"index": "src/index.html",
1822
"main": "src/main.ts",
19-
"polyfills": "src/polyfills.ts",
23+
"polyfills": ["zone.js"],
2024
"tsConfig": "tsconfig.app.json",
21-
"assets": [
22-
"src/favicon.ico",
23-
"src/assets"
24-
],
25-
"styles": [
26-
"src/styles.css"
27-
],
25+
"inlineStyleLanguage": "scss",
26+
"assets": ["src/favicon.ico", "src/assets"],
27+
"styles": ["src/styles.scss"],
2828
"scripts": []
2929
},
3030
"configurations": {
@@ -41,12 +41,6 @@
4141
"maximumError": "4kb"
4242
}
4343
],
44-
"fileReplacements": [
45-
{
46-
"replace": "src/environments/environment.ts",
47-
"with": "src/environments/environment.prod.ts"
48-
}
49-
],
5044
"outputHashing": "all"
5145
},
5246
"development": {
@@ -81,17 +75,11 @@
8175
"test": {
8276
"builder": "@angular-devkit/build-angular:karma",
8377
"options": {
84-
"main": "src/test.ts",
85-
"polyfills": "src/polyfills.ts",
78+
"polyfills": ["zone.js", "zone.js/testing"],
8679
"tsConfig": "tsconfig.spec.json",
87-
"karmaConfig": "karma.conf.js",
88-
"assets": [
89-
"src/favicon.ico",
90-
"src/assets"
91-
],
92-
"styles": [
93-
"src/styles.css"
94-
],
80+
"inlineStyleLanguage": "scss",
81+
"assets": ["src/favicon.ico", "src/assets"],
82+
"styles": ["src/styles.scss"],
9583
"scripts": []
9684
}
9785
}

0 commit comments

Comments
 (0)