mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 14:46:43 +02:00
fix(credit-operations): export TypeScript source directly
Allows Vite/SvelteKit to import the package without a prior build step, matching the pattern used by other shared packages like shared-credit-ui. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3c6253a84b
commit
c21347351a
2 changed files with 7 additions and 10 deletions
|
|
@ -51,8 +51,8 @@ COPY packages/credit-operations ./packages/credit-operations
|
|||
# Copy manacore web
|
||||
COPY apps/manacore/apps/web ./apps/manacore/apps/web
|
||||
|
||||
# Install dependencies (ignore scripts to prevent premature builds)
|
||||
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --frozen-lockfile --ignore-scripts
|
||||
# Install dependencies
|
||||
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --frozen-lockfile
|
||||
|
||||
# Build shared packages that need building
|
||||
WORKDIR /app/packages/shared-vite-config
|
||||
|
|
@ -64,9 +64,6 @@ RUN pnpm build || true
|
|||
WORKDIR /app/packages/shared-error-tracking
|
||||
RUN pnpm build
|
||||
|
||||
WORKDIR /app/packages/credit-operations
|
||||
RUN pnpm build
|
||||
|
||||
# Build the web app
|
||||
WORKDIR /app/apps/manacore/apps/web
|
||||
RUN pnpm exec svelte-kit sync
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue