2
0
Эх сурвалжийг харах

🔧 chore(config): update allowed commands and test script

- add "pnpm run db:backup:latest:*" to allowed bash commands in claude settings
- simplify test script to only run api tests by removing components tests
- remove redundant components tests execution from main test command
yourname 2 сар өмнө
parent
commit
008539422a

+ 2 - 1
.claude/settings.local.json

@@ -25,7 +25,8 @@
       "Bash(npx playwright open:*)",
       "Bash(npx playwright codegen:*)",
       "Bash(pnpm run)",
-      "Bash(node:*)"
+      "Bash(node:*)",
+      "Bash(pnpm run db:backup:latest:*)"
     ],
     "deny": [],
     "ask": []

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "build:client": "vite build --outDir dist/client --manifest",
     "build:server": "vite build --ssr src/server/index.tsx --outDir dist/server",
     "start": "PORT=8080 cross-env NODE_ENV=production node server",
-    "test": "npm run test:api && npm run test:components",
+    "test": "npm run test:api",
     "test:coverage": "npm run test:api:coverage && npm run test:components:coverage",
     "test:api": "vitest",
     "test:components": "vitest --config=vitest.config.components.ts",