중앙 이전 기록 스키마와 버전 정규화기를 도입하고, 재실행 시 현행 계정 상태를 보존한다. 카카오 인증 뒤 이관 비밀번호를 1회 설정하는 흐름과 비카카오 계정용 안전한 CLI 복구 경로를 추가한다.
31 lines
915 B
JSON
31 lines
915 B
JSON
{
|
|
"name": "@sammo-ts/legacy-db-migration",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"bin": {
|
|
"sammo-migrate-legacy-db": "./dist/cli.mjs"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown src/cli.ts --no-config --format esm --out-dir dist --dts --sourcemap --target node22 --platform node",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"test": "vitest run --config vitest.config.ts",
|
|
"typecheck": "pnpm -w tsc7 -b tools/legacy-db-migration/tsconfig.json",
|
|
"migrate": "tsx src/cli.ts"
|
|
},
|
|
"dependencies": {
|
|
"@sammo-ts/common": "workspace:*",
|
|
"mariadb": "3.5.3",
|
|
"pg": "^8.16.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.2.0",
|
|
"@types/pg": "^8.21.0",
|
|
"tsdown": "^0.22.14",
|
|
"tsx": "^4.23.12",
|
|
"typescript": "6.0.3",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|