feat(registry): 同步算力插件固定发布契约 (#42)

This commit is contained in:
yige authored and GitHub committed 2026-12-03 10:41:20 +08:00
1 parent bd10c618b8
commit 8918a8f6d7
5 files changed
+325 -8

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ test('根格式仍为4.2,作者Schema保持主仓固定字节,合成fixtures
assert.equal(root.version,'4.2.0')
assert.equal(readFileSync(join(source,'SCHEMA_VERSION'),'utf8').trim(),'4.2.0')
assert.equal(root.stats.webBundles,undefined)
assert.equal(createHash('sha256').update(readFileSync(join(source,'schemas/registry-entry.v4.3.schema.json'))).digest('hex'),'95afcffce0c985215685554ec8b3f5e3012036bf2c4ecc4214c23e4eff895b10')
assert.equal(createHash('sha256').update(readFileSync(join(source,'schemas/registry-entry.v4.3.schema.json'))).digest('hex'),'27a7f86b82f5d88bfe1eae2d083540359ed8f2fccffa8f3d040fdc58d0cf3900')
for (const id of readdirSync(join(source,'fixtures/authoring/entries'))) assert.equal(existsSync(join(source,'entries',id)),false,id)
})
test('静态与带服务合成目录三文件保持App语义,两个validator同样通过',() => {