Initialize pnpm monorepo with Docker Compose for PostgreSQL
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
|||||||
|
# Dependencies
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Build output
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
|
||||||
|
# Environment variables (all paths)
|
||||||
|
**/.env
|
||||||
|
**/.env.*
|
||||||
|
!**/.env.example
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
||||||
|
# OS
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Coverage
|
||||||
|
coverage/
|
||||||
|
|
||||||
|
# Prisma
|
||||||
|
/generated/prisma
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Uploads
|
||||||
|
uploads/
|
||||||
|
|
||||||
|
# Claude
|
||||||
|
.claude/
|
||||||
|
CLAUDE.md
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"singleQuote": true,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"semi": true,
|
||||||
|
"printWidth": 100,
|
||||||
|
"tabWidth": 2
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:15-alpine
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: admin
|
||||||
|
POSTGRES_PASSWORD: development_password
|
||||||
|
POSTGRES_DB: tehriehlbudget
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
volumes:
|
||||||
|
- pgdata:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
pgdata:
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"name": "tehriehlbudget",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": true,
|
||||||
|
"description": "Self-hosted personal finance application",
|
||||||
|
"scripts": {
|
||||||
|
"dev:frontend": "pnpm --filter tehriehlbudget-frontend dev",
|
||||||
|
"dev:backend": "pnpm --filter tehriehlbudget-backend start:dev",
|
||||||
|
"build:frontend": "pnpm --filter tehriehlbudget-frontend build",
|
||||||
|
"build:backend": "pnpm --filter tehriehlbudget-backend build",
|
||||||
|
"test": "pnpm --filter tehriehlbudget-backend test && pnpm --filter tehriehlbudget-frontend test",
|
||||||
|
"test:backend": "pnpm --filter tehriehlbudget-backend test",
|
||||||
|
"test:frontend": "pnpm --filter tehriehlbudget-frontend test",
|
||||||
|
"test:coverage": "pnpm --filter tehriehlbudget-backend test:cov && pnpm --filter tehriehlbudget-frontend test:coverage",
|
||||||
|
"lint": "pnpm --filter tehriehlbudget-backend lint && pnpm --filter tehriehlbudget-frontend lint",
|
||||||
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
||||||
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,md}\""
|
||||||
|
},
|
||||||
|
"pnpm": {
|
||||||
|
"onlyBuiltDependencies": [
|
||||||
|
"@nestjs/core",
|
||||||
|
"@prisma/engines",
|
||||||
|
"prisma",
|
||||||
|
"unrs-resolver"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Generated
+10475
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
|||||||
|
packages:
|
||||||
|
- "tehriehlbudget-frontend"
|
||||||
|
- "tehriehlbudget-backend"
|
||||||
Reference in New Issue
Block a user