mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
refactor(core): [CORE-21] generate compatible public and editor declarations
This commit is contained in:
1 parent
ee895a558f
commit
faaa3e8c2d
123 files changed
+31305
-1712
No files matched your search
@@ -14,6 +14,8 @@ test('Package checks reject missing files, missing wildcard exports and internal
|
||||
for (const missing of files)
|
||||
assert.throws(() => checkFiles(manifest, files.filter(file => file !== missing)), /Missing/)
|
||||
assert.throws(() => checkFiles(manifest, [...files, 'package/tsconfig.json']), /tsconfig/)
|
||||
for (const source of ['src/internal.ts', 'public/artplayer.ts', 'node_modules/private/index.js'])
|
||||
assert.throws(() => checkFiles(manifest, [...files, `package/${source}`]), /Source\/dependencies/)
|
||||
assert.throws(() => checkFiles(manifest, files, ['package/dist/old.js']), /Historical/)
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user