Skip to content

Commit 1a79274

Browse files
TKusselpaolaklein
andauthored
EUCAIM Frontend release (#19)
* feat: tooltip option 1 option using small icon to display tooltip text * fix: wrong line * chore(ci): update dev ci to new ci pipeline by using default arguments for push-to and target * refactor: tooltip text added longer tooltip text Co-authored-by: Tobias Kussel <TKussel@users.noreply.github.com> * fix: npm audit updated all high and medium severity vulnerabilities. (Svelte had to be updated which needed an aditional <tbody> in ResultTable, and some other things for lint to pass) * fix: fixes for vite * fix: use cookie ^1.1.1 for security issue SvelteKit 2.49.2 has cookie 0.6.0 wich has a security issue. The cookie inside the SvelteKit will probably be updated with version 3, then this workaround is no longer needed. see: sveltejs/kit#12767 * fix: remove unused css Co-authored-by: Tobias Kussel <TKussel@users.noreply.github.com> * chore: remove unused variables (#17) * chore: remove unused variables * fix: npm audit for lens verify new code * fix: reset changes to package-lock.json --------- Co-authored-by: Tobias Kussel <tobias.kussel@dkfz-heidelberg.de> * feat(backend): Make sites optional for spot backend (#12) * chore: update Svelte and related dependencies (#16) * chore: update Svelte and related dependencies Bump Svelte to version 5.46.4 and update @sveltejs/kit and devalue to their latest versions. * fix: for run npm ci * fix: add spot sites to env for dev environment (#20) * fix: use package-lock in dockerfile and copy node_modules (#21) --------- Co-authored-by: Klein <paola.klein@dkfz-heidelberg.de> Co-authored-by: paola klein <56866655+paolaklein@users.noreply.github.com>
1 parent 236aa9d commit 1a79274

File tree

16 files changed

+1032
-2238
lines changed

16 files changed

+1032
-2238
lines changed

.github/workflows/docker-develop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
image-name: "samply/eucaim-frontend"
2525
build-args: |
2626
TARGET_ENVIRONMENT=staging
27-
build-platforms: "linux/amd64"
28-
push-to: dockerhub
27+
# build-platforms: "linux/amd64"
28+
# push-to: dockerhub
2929
# This passes the secrets from calling workflow to the called workflow
3030
secrets:
3131
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no -- commitlint --edit $1
4+
npx.cmd --no -- commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npm run lint
1+
npm.cmd run lint

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM node:lts as build
22
ARG TARGET_ENVIRONMENT="staging"
33
WORKDIR /usr/src/app
44
RUN sh -c '[ -z "$http_proxy" ] || ( npm config set proxy $http_proxy; npm config set https-proxy $http_proxy )'
5-
COPY package.json ./
6-
RUN npm install
5+
COPY package*.json ./
6+
RUN npm ci
77
COPY ./vite.config.ts ./svelte.config.js ./
88
COPY ./src ./src
99
COPY ./static ./static
@@ -15,7 +15,8 @@ FROM node:lts AS deploy
1515
WORKDIR /app
1616

1717
COPY --from=build /usr/src/app/build build/
18-
COPY --from=build /usr/src/app/package.json .
18+
COPY --from=build /usr/src/app/package*.json .
19+
COPY --from=build /usr/src/app/node_modules ./node_modules
1920

2021
EXPOSE 3000
2122

env.default

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ BEAM_APP_ID=app1.$PROXY_ID
55
BEAM_SECRET=App1Secret
66
# BIND_ADDR=0.0.0.0:8100
77
RUST_LOG=info
8-
CORS_ORIGIN=*
8+
CORS_ORIGIN=127.0.0.1:5173
9+
SITES=proxy1,proxy2

0 commit comments

Comments
 (0)