yakconsole → @yakcloud/ds-sdk 추출(11 모듈): - enums.ts: 상태/타입 리터럴 유니온 SSOT(값 배열 + type) - dto/: cluster·service·deployment·account·domain (비밀필드 제외, publicService 계약 동형) - bind-env.ts: BIND_ENV_VARS 9종(MONGODB..ORACLE) + SERVICE_DEFAULT_PORT + bindEnvPrefix/bindEnvKeys - schemas.ts: zod(생성/검증 body + DTO), api-codes.ts: ApiCode 유니온 + CODE_STATUS - zod ^4.4.3(소스 정합), 리프 규칙 준수(react/prisma/next/서버 import 0) 검증: 적대적 Verify=SHIP, bind-env 9종 Python _bind_env_for parity 완전 일치, 누출 0, tsc --noEmit 통과(strict+noUncheckedIndexedAccess+verbatimModuleSyntax). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
31 lines
733 B
JSON
31 lines
733 B
JSON
{
|
|
"name": "@yakcloud/backup-core",
|
|
"version": "0.0.0",
|
|
"description": "백업 계약(신규 전체): 백업대상·스케줄·restore-verification. v1 계약은 M5 랜딩(현재 빈 스켈레톤).",
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://gitea.yakenator.io/api/packages/yakcloud/npm/"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -b",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src",
|
|
"test": "echo \"(no tests yet)\""
|
|
},
|
|
"dependencies": {
|
|
"zod": "^4.4.3"
|
|
}
|
|
}
|