mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
build(layer2+3): propagate .build/+dist/ to Docker/Electron/CI; codify light deploy; docs
Layer 3: Dockerfile COPY .next/standalone -> .build/next/standalone (+cache mount); electron stage -> .build/electron-standalone + extraResources; CI asserts dist/server.js; eslint ignores .build/**+dist/**. Layer 2: deploy-vps-* skills use build:release + rsync(dist) -> remote app/ + pm2 restart + BUILD_SHA verify (drop npm-i-g/legacy-peer-deps/manual-wreq). Docs (RELEASE_CHECKLIST/CONTRIBUTING/AGENTS/CHANGELOG) describe src/+.build/+dist/ layout. Verified: docker build exit 0 + health 200; electron stage OK; no stale build-output refs.
This commit is contained in:
@@ -38,11 +38,13 @@ const eslintConfig = [
|
||||
// Global ignores — keep ESLint scoped to source files only
|
||||
{
|
||||
ignores: [
|
||||
// Next.js build output
|
||||
// Next.js build output (distDir now .build/next; keep .next for legacy)
|
||||
".next/**",
|
||||
".build/**",
|
||||
"src/.next/**",
|
||||
"out/**",
|
||||
"build/**",
|
||||
"dist/**",
|
||||
"coverage/**",
|
||||
"next-env.d.ts",
|
||||
// Scripts and binaries
|
||||
@@ -65,12 +67,9 @@ const eslintConfig = [
|
||||
// Playwright test output
|
||||
"playwright-report/**",
|
||||
"test-results/**",
|
||||
// Subdirectory .next build output (app/ subdir)
|
||||
// Legacy app/ and QA backup dirs (renamed to dist/ in Layer 1)
|
||||
"app/**",
|
||||
"app/.next/**",
|
||||
"app/bin/**",
|
||||
"app.__qa_backup/**",
|
||||
"app/app.__qa_backup/**",
|
||||
// CLI package copy directory
|
||||
"clipr/**",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user