Upgraded all libraries, switched to npm, upgraded angular and jdk21
Locusworks Team/portal-webapp/pipeline/head There was a failure building this commit

This commit is contained in:
iparenteau committed 2026-09-04 15:22:35 -05:00
1 parent c2f8e20fad
commit a6df549919
335 files changed
+10923 -12700

No files matched your search

+23 -12
View File
@@ -1,12 +1,23 @@
Portal Client
==
The portal_client contains all the client side html, javascript, and css files that will be presented to the user
Yarn
======
Yarn is the the new package manager used with node.js in replacement of `npm` it uses the same package.json file.
To download a new client side library use the command `yarn add <package_name> --save` This will add the files to the `node_modules` library.
Next include the appropriate file into the `assets.js` file inside `portal_client` to make sure it will be injected into the `index.html` file during run time.
The `assets.js` file specifies all the vendor libraries that have to be included into the client code during build.
# Portal client
The portal UI is an Angular 22.1 standalone application built with Angular CLI and npm.
## Development
Use Node.js 24.15 or newer in the Node 24 release line and npm 12:
```shell
npm ci
npm start
```
The development server serves the client locally. API and WebSocket requests target the Spring application under `/portal`.
## Verification and production build
```shell
npm test
npm run build
```
The production build is emitted to `dist`. Maven performs `npm ci`, runs the tests and build, then packages `dist` under `/portal/client/` in the Spring Boot application.