mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-08 18:05:10 +00:00
670a429168
* fix(fleet): resolve getSenchoVersion crash in Docker containers Replace the runtime __dirname walk (which fails in Docker because the root package.json is absent from the final image) with a build-time version injection. A prebuild script reads the root package.json and generates src/generated/version.ts with the version baked in as a constant. The compiled output carries the correct version regardless of the container's filesystem layout. Retains a filesystem walk fallback for dev environments where the prebuild hook may not have run. * fix(fleet): skip postinstall version generation when script is absent The Docker prod-deps stage copies only package.json (no source files) before running npm ci --omit=dev. The postinstall hook now checks for the script file before executing, so it no-ops in stages where scripts/generate-version.js has not been copied.
64 lines
762 B
Plaintext
64 lines
762 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Environment Variables (CRITICAL: Never commit secrets)
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Build Outputs
|
|
dist/
|
|
|
|
# Sencho User Data & Mocks
|
|
data/
|
|
mock_data/
|
|
docker/
|
|
sencho.json
|
|
|
|
# OS Generated Files
|
|
.DS_Store
|
|
Thumbs.db
|
|
Desktop.ini
|
|
ehthumbs.db
|
|
|
|
# IDE / Editors
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
*.sublime-project
|
|
*.sublime-workspace
|
|
|
|
# Testing
|
|
test-results/
|
|
e2e/report/
|
|
html-report/
|
|
.coverage/
|
|
coverage/
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Claude Code
|
|
.claude/
|
|
plans/
|
|
CLAUDE.md
|
|
MANUAL_STEPS.md
|
|
docs/superpowers/
|
|
|
|
# Playwright MCP
|
|
.playwright-mcp/
|
|
|
|
# Frontend build output (served by backend)
|
|
backend/public/
|
|
|
|
# Auto-generated files
|
|
backend/cookies.txt
|
|
backend/src/generated/version.ts
|
|
|
|
# Local-only projects (separate repos)
|
|
demo-video/
|
|
website/
|