mirror of
https://github.com/LogicLabs-OU/OpenArchiver.git
synced 2026-04-06 00:31:57 +02:00
types package path reference
This commit is contained in:
@@ -19,8 +19,10 @@ RUN pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||
# Copy the rest of the source code
|
||||
COPY . .
|
||||
|
||||
# Build the entire project
|
||||
RUN pnpm exec tsc --build tsconfig.build.json
|
||||
# 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
|
||||
|
||||
# 2. Production Stage: Install only production dependencies and copy built artifacts
|
||||
FROM node:22-alpine AS production
|
||||
|
||||
@@ -9,8 +9,10 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
}
|
||||
"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
|
||||
//
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true
|
||||
"isolatedModules": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@open-archiver/types": ["packages/types/src"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user