Files
repomix-mirror/.gitignore
Kazuki Yamada a747f4ef49 feat(nix): Package repomix with buildNpmPackage
intent(nix): make `nix run github:yamadashy/repomix` and `nix profile install` work, addressing #416
decision(nix-package): buildNpmPackage from nixpkgs — runs `npm ci --ignore-scripts` then the build script in one shot
decision(version-source): inherit version from package.json via fromJSON instead of hardcoding to keep flake in sync with releases
constraint(npm-deps-hash): npmDepsHash must be regenerated whenever package-lock.json changes — without it the package fixed-output derivation fails
learned(tree-sitter-wasm): the existing `require.resolve('@repomix/tree-sitter-wasms/out/...')` resolves correctly inside Nix's node_modules layout — no extra wrapping needed
learned(buildNpmPackage): default behavior puts everything under $out/lib/node_modules/repomix and symlinks bin/repomix.cjs to $out/bin — the `prepare` script is skipped via --ignore-scripts so the explicit `npm run build` in buildPhase is what produces lib/
2026-04-30 23:48:54 +09:00

70 lines
783 B
Plaintext

# Dependency directories
node_modules/
# Build output
lib/
website/client/.vitepress/dist/
website/client/.vitepress/cache/
website/server/dist/
website/server/.compile-cache/
# Logs
*.log
# OS generated files
.DS_Store
# Editor directories and files
.vscode/
.idea/
# Test coverage
coverage/
test-report.junit.xml
# Temporary files
*.tmp
*.temp
# Repomix output
repomix-output.txt
repomix-output.xml
repomix-output.md
repomix-output.json
repomix-output.*
# ESLint cache
.eslintcache
# yarn
.yarn/
# biome
.biome/
# aider
.aider*
# repomix runner
.repomix/
# repomix references
.claude/skills/repomix-reference-*/
# Agent
/.mcp.json
.agents/local/
.claude/settings.local.json
.claude/worktrees/
# serena
.serena/
# private files
.private/
.env
# Nix
result
result-*