diff --git a/.gitignore b/.gitignore index e3e3d29..fcf7540 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ data/ *.db-wal *.db-shm .cache/ +.pnpm-store/ diff --git a/biome.json b/biome.json index b7a838f..f11b995 100644 --- a/biome.json +++ b/biome.json @@ -1,7 +1,19 @@ { "$schema": "https://biomejs.dev/schemas/2.6.7/schema.json", "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, - "files": { "includes": ["**", "!dist", "!data", "!openspec", "!.agents", "!.claude", "!.peppa"] }, + "files": { + "includes": [ + "**", + "!dist", + "!data", + "!openspec", + "!.agents", + "!.claude", + "!.peppa", + "!.cache", + "!.pnpm-store" + ] + }, "formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 100 }, "linter": { "enabled": true, "rules": { "preset": "recommended" } }, "assist": { "enabled": true, "actions": { "source": { "organizeImports": "on" } } } diff --git a/scripts/ci.sh b/scripts/ci.sh index ace3a6e..986a6fd 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -11,6 +11,8 @@ PNPM_VERSION=10.18.0 root="$(cd "$(dirname "$0")/.." && pwd)" cache="$root/.cache/ci" export PATH="$cache/pnpm/bin:$cache/node/bin:$PATH" +# Store pnpm — в кэше, а не в рабочей копии (иначе его сканирует Biome). +export npm_config_store_dir="${npm_config_store_dir:-$cache/pnpm-store}" node_ok() { command -v node >/dev/null 2>&1 &&