mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 00:06:42 +02:00
feat: integrate uload and picture, unify package naming
- Add uload project with apps/web structure
- Reorganize from flat to monorepo structure
- Remove PocketBase binary and local data
- Update to pnpm and @uload/web namespace
- Add picture project to monorepo
- Remove embedded git repository
- Unify all package names to @{project}/{app} schema:
- @maerchenzauber/* (was @storyteller/*)
- @manacore/* (was manacore-*, manacore)
- @manadeck/* (was web, backend, manadeck)
- @memoro/* (was memoro-web, landing, memoro)
- @picture/* (already unified)
- @uload/web
- Add convenient dev scripts for all apps:
- pnpm dev:{project}:web
- pnpm dev:{project}:landing
- pnpm dev:{project}:mobile
- pnpm dev:{project}:backend
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c6c4c5a552
commit
c712a2504a
1031 changed files with 189301 additions and 290 deletions
53
uload/docs/DEPLOYMENT_FIX.md
Normal file
53
uload/docs/DEPLOYMENT_FIX.md
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
# Deployment Fix Summary
|
||||
|
||||
## Problem
|
||||
|
||||
The Docker build was failing with:
|
||||
|
||||
```
|
||||
ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
|
||||
```
|
||||
|
||||
### Root Causes:
|
||||
|
||||
1. Missing `.svelte-kit` directory during build
|
||||
2. Missing `lucide-svelte` dependency
|
||||
|
||||
## Solutions Applied
|
||||
|
||||
### 1. Fixed Dockerfile
|
||||
|
||||
Added SvelteKit sync step before build in `Dockerfile`:
|
||||
|
||||
```dockerfile
|
||||
# Generate .svelte-kit directory first by running vite in prepare mode
|
||||
RUN npx vite build --mode prepare || true
|
||||
# Sync SvelteKit files
|
||||
RUN npx svelte-kit sync
|
||||
```
|
||||
|
||||
### 2. Added Missing Dependency
|
||||
|
||||
```bash
|
||||
npm install lucide-svelte --legacy-peer-deps
|
||||
```
|
||||
|
||||
## Build Status
|
||||
|
||||
✅ Build now completes successfully locally
|
||||
|
||||
## Deployment Commands
|
||||
|
||||
```bash
|
||||
# Build Docker image
|
||||
docker build -t uload .
|
||||
|
||||
# Or deploy directly (if using deployment script)
|
||||
./deploy.sh
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- The accessibility warnings (a11y) are non-breaking and can be addressed later
|
||||
- The build uses `--legacy-peer-deps` flag due to version conflicts in dependencies
|
||||
- The Dockerfile now properly generates all required SvelteKit files before building
|
||||
Loading…
Add table
Add a link
Reference in a new issue