Frontend: Page title fix

This commit is contained in:
Wayne
2025-08-03 12:26:09 +03:00
parent be3127136f
commit a18e34a486
5 changed files with 12 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ COPY package.json pnpm-workspace.yaml pnpm-lock.yaml* ./
COPY packages/backend/package.json ./packages/backend/
COPY packages/frontend/package.json ./packages/frontend/
COPY packages/types/package.json ./packages/types/
COPY packages/frontend/svelte.config.js ./packages/frontend/
# Install all dependencies. Use --shamefully-hoist to create a flat node_modules structure
RUN pnpm install --shamefully-hoist --frozen-lockfile --prod=false
@@ -20,9 +21,7 @@ RUN pnpm install --shamefully-hoist --frozen-lockfile --prod=false
COPY . .
# Build packages in order.
RUN pnpm --filter @open-archiver/types build
RUN pnpm --filter @open-archiver/backend build
RUN pnpm --filter @open-archiver/frontend build
RUN pnpm build
# 2. Production Stage: Install only production dependencies and copy built artifacts
FROM node:22-alpine AS production

View File

@@ -3,7 +3,7 @@
"private": true,
"scripts": {
"dev": "dotenv -- pnpm --filter \"./packages/*\" --parallel dev",
"build": "pnpm --filter \"./packages/*\" --parallel build",
"build": "pnpm --filter \"./packages/*\" build",
"start": "dotenv -- pnpm --filter \"./packages/*\" --parallel start",
"start:workers": "dotenv -- concurrently \"pnpm --filter @open-archiver/backend start:ingestion-worker\" \"pnpm --filter @open-archiver/backend start:indexing-worker\" \"pnpm --filter @open-archiver/backend start:sync-scheduler\"",
"start:workers:dev": "dotenv -- concurrently \"pnpm --filter @open-archiver/backend start:ingestion-worker:dev\" \"pnpm --filter @open-archiver/backend start:indexing-worker:dev\" \"pnpm --filter @open-archiver/backend start:sync-scheduler:dev\"",

View File

@@ -64,6 +64,10 @@
);
</script>
<svelte:head>
<title>Archived emails - OpenArchiver</title>
</svelte:head>
<div class="mb-4 flex items-center justify-between">
<h1 class="text-2xl font-bold">Archived Emails</h1>
{#if ingestionSources.length > 0}

View File

@@ -125,6 +125,10 @@
}
</script>
<svelte:head>
<title>Ingestion sources - OpenArchiver</title>
</svelte:head>
<div class="">
<div class="mb-4 flex items-center justify-between">
<h1 class="text-2xl font-bold">Ingestion Sources</h1>

View File

@@ -11,8 +11,7 @@
"strict": true,
"moduleResolution": "bundler",
"module": "preserve"
},
"exclude": ["svelte.config.js"]
}
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
//