chore: convert to Turborepo + npm workspaces monorepo
- Move React/Vite frontend to apps/web/ (@budgetwise/web)
- Add apps/appwrite/ (@budgetwise/appwrite) to source-control the
Appwrite backend: declarative schema in appwrite.json (5 collections),
CLI-based deploy.sh for containerized use, functions/ dir for future
Appwrite Functions
- Add turbo.json for task orchestration (build, deploy, dev)
- Replace .gitlab-ci.yml with Woodpecker CI pipelines in .woodpecker/:
web-production.yml — push to main → build + rsync to prod
web-staging.yml — push to staging → build + rsync to staging
web-preview.yml — PR open → deploy to {pr}.{domain}; PR close → cleanup
appwrite.yml — schema changes in apps/appwrite/ → CLI deploy
- All secrets injected via Woodpecker CI (no committed .env files)
This commit is contained in:
23
.gitignore
vendored
23
.gitignore
vendored
@@ -1,12 +1,29 @@
|
||||
# Dependencies
|
||||
node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# Turbo cache
|
||||
.turbo
|
||||
|
||||
# Build outputs
|
||||
apps/web/dist
|
||||
apps/web/dist-ssr
|
||||
|
||||
# Local env files — never commit
|
||||
.env
|
||||
.env.local
|
||||
.env.production
|
||||
.env.staging
|
||||
.env.preview
|
||||
apps/**/.env
|
||||
apps/**/.env.local
|
||||
apps/**/.env.production
|
||||
apps/**/.env.staging
|
||||
apps/**/.env.preview
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
*.pem
|
||||
|
||||
# Coverage
|
||||
coverage
|
||||
*.local
|
||||
|
||||
Reference in New Issue
Block a user