Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
**/*.md
**/dist
29 changes: 11 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build And Test
on:
push:
branches:
- '**'
- "**"
pull_request:
branches:
- 'dev'
- "dev"

jobs:
build-and-test:
Expand All @@ -15,27 +15,20 @@ jobs:
- name: Check out code
uses: actions/checkout@v5

- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Cache dependencies
uses: actions/cache@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
path: |
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

- name: Use corepack
run: corepack enable
node-version: "24"
cache: "pnpm"

- name: Install Dependencies
run: yarn install --immutable
run: pnpm install --frozen-lockfile

- name: Lint
run: yarn lint:check
run: pnpm lint:check

- name: Build
run: yarn build
run: pnpm build
2 changes: 0 additions & 2 deletions .yarnrc.yml

This file was deleted.

14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM node:22 AS build-stage
WORKDIR /app

FROM node:24-alpine AS build-stage
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ENV NODE_ENV=production
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0

RUN corepack enable
WORKDIR /app

COPY . .
RUN yarn install --immutable
COPY . /app
RUN pnpm install --frozen-lockfile
RUN pnpm run build

RUN yarn build
RUN cp /app/cfg/settings.js.example /app/cfg/settings.js

FROM nginx:alpine-slim AS production-stage
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@
"dependencies": {
"@fontsource/roboto": "5.2.6",
"@mdi/font": "7.4.47",
"axios": "^1.11.0",
"axios": "^1.13.1",
"moment": "^2.30.1",
"pinia": "^3.0.3",
"vis-data": "^8.0.1",
"vis-timeline": "^8.3.0",
"vue": "^3.5.18",
"vis-data": "^8.0.3",
"vis-timeline": "^8.3.1",
"vue": "^3.5.22",
"vue-recaptcha-v3": "^2.0.1",
"vuetify": "^3.9.4"
"vuetify": "^3.10.8"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.2",
"@types/node": "^22.17.1",
"@types/node": "^22.19.0",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/compiler-sfc": "^3.5.18",
"@vue/compiler-sfc": "^3.5.22",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/tsconfig": "^0.7.0",
"eslint": "^9.33.0",
"eslint-plugin-vue": "^10.4.0",
"jiti": "^2.5.1",
"eslint": "^9.39.1",
"eslint-plugin-vue": "^10.5.1",
"jiti": "^2.6.1",
"npm-run-all2": "^8.0.4",
"prettier": "^3.6.2",
"sass-embedded": "^1.90.0",
"typescript": "~5.9.2",
"unplugin-auto-import": "^20.0.0",
"unplugin-vue-components": "^29.0.0",
"sass-embedded": "^1.93.3",
"typescript": "~5.9.3",
"unplugin-auto-import": "^20.2.0",
"unplugin-vue-components": "^29.2.0",
"unplugin-vue-inspector": "^2.3.2",
"unplugin-vue-router": "^0.15.0",
"vite": "^7.1.1",
"vite-plugin-inspect": "^11.3.2",
"vite-plugin-vue-devtools": "^8.0.0",
"vite-plugin-vue-layouts-next": "^1.0.0",
"vite": "^7.1.12",
"vite-plugin-inspect": "^11.3.3",
"vite-plugin-vue-devtools": "^8.0.3",
"vite-plugin-vue-layouts-next": "^1.2.0",
"vite-plugin-vuetify": "^2.1.2",
"vue-eslint-parser": "^10.2.0",
"vue-router": "^4.5.1",
"vue-tsc": "^3.0.5"
"vue-router": "^4.6.3",
"vue-tsc": "^3.1.3"
},
"packageManager": "yarn@4.10.3"
"packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c"
}
Loading