Skip to content

Commit 7b03166

Browse files
authored
Frontend upgrade to angular v18 (#192)
1 parent 1bdf7e8 commit 7b03166

20 files changed

+7439
-6486
lines changed

.github/workflows/maven-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ jobs:
3838
uses: actions/setup-java@v4
3939
with:
4040
java-version: '17'
41-
distribution: 'zulu'
41+
distribution: 'temurin'
42+
43+
- name: Set up Node.js 20.x
44+
uses: actions/setup-node@v4
45+
with:
46+
node-version: 20.x
4247

4348
- name: Build with Maven
4449
env:

frank-doc-frontend/angular.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515
"prefix": "app",
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
1919
"options": {
20-
"outputPath": "dist",
20+
"outputPath": {
21+
"base": "dist"
22+
},
2123
"index": "src/index.html",
22-
"main": "src/main.ts",
2324
"polyfills": ["zone.js"],
2425
"tsConfig": "tsconfig.app.json",
2526
"inlineStyleLanguage": "scss",
@@ -30,7 +31,8 @@
3031
"src/xml/xsd"
3132
],
3233
"styles": ["src/styles.scss"],
33-
"scripts": []
34+
"scripts": [],
35+
"browser": "src/main.ts"
3436
},
3537
"configurations": {
3638
"production": {
@@ -49,9 +51,7 @@
4951
"outputHashing": "all"
5052
},
5153
"development": {
52-
"buildOptimizer": false,
5354
"optimization": false,
54-
"vendorChunk": true,
5555
"extractLicenses": false,
5656
"sourceMap": true,
5757
"namedChunks": true,
@@ -69,19 +69,19 @@
6969
"builder": "@angular-devkit/build-angular:dev-server",
7070
"configurations": {
7171
"production": {
72-
"browserTarget": "frank-doc-frontend:build:production"
72+
"buildTarget": "frank-doc-frontend:build:production"
7373
},
7474
"development": {
75-
"browserTarget": "frank-doc-frontend:build:development",
76-
"proxyConfig": "src/proxy.conf.mjs"
75+
"proxyConfig": "src/proxy.conf.mjs",
76+
"buildTarget": "frank-doc-frontend:build:development"
7777
}
7878
},
7979
"defaultConfiguration": "development"
8080
},
8181
"extract-i18n": {
8282
"builder": "@angular-devkit/build-angular:extract-i18n",
8383
"options": {
84-
"browserTarget": "frank-doc-frontend:build"
84+
"buildTarget": "frank-doc-frontend:build"
8585
}
8686
},
8787
"test": {

0 commit comments

Comments
 (0)