mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
test(ci): [CI-TYPES-01] validate installed Audio and HLS types
This commit is contained in:
1 parent
210484c443
commit
00c131bff1
16 files changed
+1246
-12
No files matched your search
@@ -44,6 +44,14 @@ mute the main video. Destroying ArtPlayer releases the plugin's audio and subscr
|
||||
retained plugin updates become inert. See [ARCHITECTURE.md](ARCHITECTURE.md) for module
|
||||
ownership, compatibility decisions and regression commands.
|
||||
|
||||
Installed declaration regression: run
|
||||
`yarn test:package --include=artplayer-plugin-audio-track` from the repository root.
|
||||
This builds and installs tarballs outside the repository, then checks root,
|
||||
legacy and `/runtime` calls from `test/types/audio-track.ts` in five compiler
|
||||
modes, including every invalid call. See
|
||||
[consumer maintenance](../../scripts/consumers/README.md); media synchronization
|
||||
and browser validation remain separate.
|
||||
|
||||
## License
|
||||
|
||||
MIT © Harvey Zhao
|
||||
@@ -13,6 +13,14 @@ The guides describe this refactor branch; its fixes have not yet been published.
|
||||
|
||||
[https://artplayer.org](https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control)
|
||||
|
||||
Installed declaration regression: run
|
||||
`yarn test:package --include=artplayer-plugin-hls-control` from the repository root.
|
||||
The isolated tarball consumer checks root/legacy imports, extracted option types,
|
||||
custom track generics, formatter arguments and invalid calls in five compiler
|
||||
modes using `test/types/hls-control.ts`. See
|
||||
[consumer maintenance](../../scripts/consumers/README.md); real HLS playback and
|
||||
SDK combinations remain separate validation gates.
|
||||
|
||||
## License
|
||||
|
||||
MIT © Harvey Zhao
|
||||
Reference in new issue
Block a user