# Database files - NEVER publish data/ **/data/ **/db.json # VS Code extension test runtime (large binary, not needed in npm package) app/vscode-extension/ **/data/ **/db.json # Source code (pre-built app/ is published instead) # # NOTE (#3578 / #3821-review): package.json "files" is the source of truth for what # ships. It now allowlists the backend source closure the MCP server needs at runtime # (open-sse/, src/lib, src/server, ...) and OVERRIDES the broad src/ + open-sse/ excludes # below — npm honors files[] over .npmignore for inclusion. These lines are kept only as # intent/back-stop: if files[] is ever trimmed back to specific paths, they must NOT be # allowed to re-hide the MCP closure (that would silently reintroduce the --mcp # ERR_MODULE_NOT_FOUND #3578 fixed). The closure gate in # tests/unit/mcp-published-files-closure-3578.test.ts asserts the real `npm pack` output # in both directions (closure present + zero test files), catching such a regression. src/ open-sse/ docs/ tests/ cloud/ images/ logs/ scripts/ # Co-located tests must never ship even when their parent dir is allowlisted by files[]. # (Primary guard is the "!**/*.test.*" negations in package.json files[]; this is defense # in depth for any nested dir the allowlist pulls in.) **/__tests__/ **/*.test.ts **/*.test.tsx **/*.test.js **/*.test.mjs **/*.spec.ts **/*.spec.tsx # Config/dev files *.md !README.md .gitignore .git/ .github/ .husky/ .vscode/ .agents/ .env* app/.env app/.env* eslint.config.mjs prettier.config.mjs postcss.config.mjs next.config.mjs tsconfig.json tsconfig.typecheck-core.json tsconfig.typecheck-noimplicit-core.json playwright.config.ts vitest.config.ts next-env.d.ts llm.txt # Docker docker-compose*.yml Dockerfile .dockerignore # Misc AGENTS.md bun.lock # Build artifacts (pre-built goes inside app/) /.next/ /node_modules/ # Ignore large binary files and other build directories *.tgz *.AppImage *.deb *.rpm electron/ app/electron/ app/vscode-extension/ # Subprojects clipr/ omnirouteCloud/ omnirouteSite/ vscode-extension/ # Root-level underscore-prefixed directories (private/draft — never publish) /_*/ app/_*/ app/coverage/ app/logs/ app/tests/ # Consistent with .gitignore and .dockerignore .DS_Store .idea/ .config/ .data/ .omnivscodeagent/ .omc/ *.sqlite-* *.tsbuildinfo security-analysis/ .analysis/ antigravity-manager-analysis/ .sisyphus/ .plans/ app.__qa_backup/ .app-build-backup-*/ .gitnexus .worktrees .next-playwright/ test-results/ playwright-report/ blob-report/ coverage/ @omniroute/