- Add Next.js app structure with base configs, linting, and formatting - Implement LiveKit Meet page, types, and utility functions - Add Docker, Compose, and deployment scripts for backend and token server - Provide E2E and smoke test scaffolding with Puppeteer and Playwright helpers - Include CSS modules and global styles for UI - Add postMessage and studio integration utilities - Update package.json with dependencies and scripts for development and testing
19 lines
534 B
Bash
Executable File
19 lines
534 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Run prisma generate if @prisma/client not present or if prisma schema changed
|
|
if [ ! -d node_modules/@prisma/client ]; then
|
|
echo "[entrypoint] @prisma/client not found — running 'npx prisma generate'"
|
|
npx prisma generate --schema=./prisma/schema.prisma || true
|
|
else
|
|
echo "[entrypoint] @prisma/client present — skipping prisma generate"
|
|
fi
|
|
|
|
# Allow passing custom command, otherwise default to node dist/index.js
|
|
if [ "$#" -eq 0 ]; then
|
|
exec node dist/index.js
|
|
else
|
|
exec "$@"
|
|
fi
|
|
|