chore(core): add kill command to db:reset and document operations context

This commit is contained in:
MichalC
2026-09-04 00:13:42 +02:00
parent bbd55793e1
commit f652a41349
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
"test": "pnpm run test:int && pnpm run test:e2e",
"test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" playwright test --config=playwright.config.ts",
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts",
"db:reset": "rm -f dev.db && cross-env NODE_OPTIONS=--no-deprecation payload run ./scripts/seed.ts"
"db:reset": "lsof -ti:3000 | xargs kill -9 2>/dev/null || true; rm -f dev.db && cross-env NODE_OPTIONS=--no-deprecation payload run ./scripts/seed.ts"
},
"dependencies": {
"@intecion/ipal-kit": "^1.1.2",