Files
registry/package.json
T
yigeandClaude Opus 5.5 80e0ff0355 merge: 同步 main 并改用已合入的作者契约
main 已在 #16 合入受主仓固定的 4.3 作者 Schema(95afcff…)和校验逻辑,因此保留其字节,不再引入本分支的候选 Schema(29ece0b…)。

- 删除 application-release-contract.mjs:它要求所有条目声明 definitionPath,会拒绝已上架的 definitionSource: manifest 条目;其余检查 main 已覆盖,仅把 definitionPath 规范路径检查移入 application-contract.mjs。
- 保留 webBundles 统计,并在 authored-release 测试样本中声明,与客户端 checkout 校验一致。
- 测试不再写死条目数,并增加 CLI 校验入口与作者 Schema 摘要断言。
- README 合并到现有作者契约章节,移除已过时的候选说明。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:52:40 +08:00

18 lines
545 B
JSON

{
"name": "@desirecore/registry",
"version": "4.2.0",
"private": true,
"description": "Validated catalog data for the DesireCore Registry",
"type": "module",
"scripts": {
"validate": "node scripts/validate-registry.mjs",
"test": "node --test scripts/validate-registry.test.mjs scripts/native-app.test.mjs scripts/plugin-contract.test.mjs scripts/authored-release.test.mjs scripts/application-authoring.test.mjs && npm run validate"
},
"devDependencies": {
"ajv": "8.20.0"
},
"engines": {
"node": ">=20"
}
}