fix build issues

This commit is contained in:
Will Freeman
2025-12-04 19:41:24 -07:00
parent 7b9b0a7244
commit 667b801f0f
6 changed files with 331 additions and 1473 deletions

View File

@@ -1,9 +1,14 @@
# Stage 1: Build the frontend
FROM docker.io/node:18 AS frontend-build
FROM docker.io/node:22 AS frontend-build
WORKDIR /app/frontend
COPY webapp/package*.json ./
RUN npm install
COPY webapp ./
COPY webapp/tsconfig*.json ./
COPY webapp/env.d.ts ./
COPY webapp/vite.config.ts ./
COPY webapp/index.html ./
COPY webapp/public ./public/
COPY webapp/src ./src/
RUN npm run build
# Stage 2: Build the Scala app

1777
webapp/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"build": "vite build",
"build-with-typecheck": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force"

View File

@@ -7,6 +7,8 @@
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "es2020",
"lib": ["es2020", "dom"],
"moduleResolution": "bundler",
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]

View File

@@ -7,5 +7,8 @@
{
"path": "./tsconfig.app.json"
}
]
],
"compilerOptions": {
"skipLibCheck": true
}
}

View File

@@ -11,9 +11,11 @@
"composite": true,
"noEmit": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"target": "es2020",
"lib": ["es2020", "dom"],
"module": "ESNext",
"moduleResolution": "Bundler",
"types": ["node"]
"moduleResolution": "bundler",
"types": ["node"],
"skipLibCheck": true
}
}