feat(contracts): UniversalRow 契约 v1 冻结 + 守卫 + 测试

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-20 18:15:47 +08:00
parent 5e4524e2fb
commit 857389e68b
6 changed files with 91 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"name": "@sf/contracts",
"version": "0.1.0",
"description": "SiteForge 跨源契约:UniversalRow 统一中间格式(契约冻结,变更须升版)",
"type": "module",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run"
}
}