feat(core): implement robust db:reset with content snapshotting

This commit is contained in:
MichalC
2026-09-04 00:05:00 +02:00
parent 2e782c431a
commit bbd55793e1
9 changed files with 1658 additions and 516 deletions
+2 -1
View File
@@ -15,7 +15,8 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
"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"
"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"
},
"dependencies": {
"@intecion/ipal-kit": "^1.1.2",