Files
S. EsmaeiliandClaude Haiku 5.5 10e453e4be build: ship pre-built API bundle; images copy output instead of installing
- API: `pnpm build` bundles dist/ into apps/api/.output (esbuild), with
  Linux musl native packages for sharp and argon2 kept alongside
- docker/api.Dockerfile copies that output; no pnpm install on the server
- add dist/migrate.js (prisma migrate deploy equivalent, same
  _prisma_migrations table and lock) so the Prisma CLI is not needed at runtime
- pnpm-workspace: supportedArchitectures for linux/x64/musl
- admin: apps/admin/.env.production sets VITE_SITE_URL for the production build
- drop NPM_REGISTRY / SITE_URL build args from compose and .env.example
- gitignore: anchor node_modules rules so pre-built node_modules are committed
- README: describe the pre-built deploy flow

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-24 14:41:31 +03:30

45 lines
1.2 KiB
JavaScript

import { createRequire as __bundleCreateRequire } from "node:module"; const require = __bundleCreateRequire(import.meta.url);
import {
EventStreamCodec,
EventStreamMarshaller,
EventStreamMarshaller2,
EventStreamSerde,
HeaderMarshaller,
Int64,
MessageDecoderStream,
MessageEncoderStream,
SmithyMessageDecoderStream,
SmithyMessageEncoderStream,
eventStreamSerdeProvider,
eventStreamSerdeProvider2,
getChunkedStream,
getMessageUnmarshaller,
getUnmarshalledStream,
init_event_streams,
iterableToReadableStream,
readableStreamToIterable,
resolveEventStreamSerdeConfig
} from "./chunk-6UPY3HEI.js";
import "./chunk-T6GW54FI.js";
init_event_streams();
export {
EventStreamCodec,
EventStreamMarshaller2 as EventStreamMarshaller,
EventStreamSerde,
HeaderMarshaller,
Int64,
MessageDecoderStream,
MessageEncoderStream,
SmithyMessageDecoderStream,
SmithyMessageEncoderStream,
EventStreamMarshaller as UniversalEventStreamMarshaller,
eventStreamSerdeProvider2 as eventStreamSerdeProvider,
getChunkedStream,
getMessageUnmarshaller,
getUnmarshalledStream,
iterableToReadableStream,
readableStreamToIterable,
resolveEventStreamSerdeConfig,
eventStreamSerdeProvider as universalEventStreamSerdeProvider
};