전용 아이콘 바이트를 모두 검증한 뒤 sam-image 서명 API에 결정적 경로로 등록한다. API 반환 경로를 계정과 아이콘 소유 목록에 연결하고 Core에서 바뀐 현재 선택은 보존한다.
32 lines
943 B
JSON
32 lines
943 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",
|
|
"sharp": "^0.35.0"
|
|
},
|
|
"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"
|
|
}
|
|
}
|