mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
refactor(docs): [SITE-02] generate and validate standalone editor types
This commit is contained in:
1 parent
1a5440a67f
commit
76499e7a3e
30 files changed
+2955
-459
No files matched your search
@@ -0,0 +1,444 @@
|
||||
{
|
||||
"task": "SITE-02",
|
||||
"baseline": "1a5440a67f50c8c1c5c695099bea5ee5d4b0cc77",
|
||||
"node": "24.21.0",
|
||||
"yarn": "1.22.22",
|
||||
"compilers": [
|
||||
"5.9.3",
|
||||
"4.3.5"
|
||||
],
|
||||
"scope": {
|
||||
"generatedDeclarations": 22,
|
||||
"changedDeclarations": [
|
||||
"docs/assets/ts/artplayer-plugin-chapter.d.ts",
|
||||
"docs/assets/ts/artplayer-plugin-vast.d.ts"
|
||||
],
|
||||
"unchangedDeclarations": 20,
|
||||
"totalOutputs": 24,
|
||||
"rootLintExistingWarnings": 1,
|
||||
"packageRuntimeChanged": false,
|
||||
"packagePublicTypesChanged": false,
|
||||
"lockUnchanged": true
|
||||
},
|
||||
"logs": {
|
||||
"reproduction": {
|
||||
"file": "refactor/.cache/editor-before.log",
|
||||
"sha256": "13639bee172bc86c2b8787f325fa251be989c16c1bbf00a0a77636fe591da7fc"
|
||||
},
|
||||
"targeted": {
|
||||
"file": "refactor/.cache/editor-tests-final.log",
|
||||
"sha256": "bdcc879dc19dc25a086442c982f7e9fa091ec011d80e7878dfa9bab222733f85",
|
||||
"exitCode": 0,
|
||||
"pass": 4
|
||||
},
|
||||
"baseline": {
|
||||
"file": "refactor/.cache/editor-baseline.log",
|
||||
"sha256": "c92fcf9cfe1c64dfecb23d44bb37542519b78f7da4318b1c80322a81948949f4",
|
||||
"exitCode": 0,
|
||||
"pass": 522
|
||||
},
|
||||
"browserBefore": {
|
||||
"file": "refactor/.cache/editor-browser.log",
|
||||
"sha256": "07ed1bbb4fdc0ba2f45e8ef659ad8d73bbb1a6ffb1cfee0c212f7bc4829996a3",
|
||||
"exitCode": 1,
|
||||
"pass": 0
|
||||
},
|
||||
"browserAccepted": {
|
||||
"file": "refactor/.cache/editor-browser-verified.log",
|
||||
"sha256": "72784c4ce8f6ce298abc93529d1c2d2dfde1bb4bc582ed889b02ba27ab856b93",
|
||||
"exitCode": 0,
|
||||
"pass": 3
|
||||
},
|
||||
"buildAll": {
|
||||
"file": "refactor/.cache/editor-all-build.log",
|
||||
"sha256": "b3c6a01e75ce9e33ac43e63d90a79c5b3924294985d054ba1ef267b8ab683baf",
|
||||
"exitCode": 0
|
||||
},
|
||||
"readonlyCheck": {
|
||||
"file": "refactor/.cache/editor-readonly-check.log",
|
||||
"sha256": "91e7a45d96d8a86b96d49822ee6284e70e9c4577cc7ac8bc730fbfd2087b3517",
|
||||
"exitCode": 0
|
||||
},
|
||||
"typecheckTools": {
|
||||
"file": "refactor/.cache/editor-types-check.log",
|
||||
"sha256": "713f8f9c2ea18e5da3e50f5e3a943515b4e93e7adb8172025ee31a7d7b566cff",
|
||||
"exitCode": 0
|
||||
},
|
||||
"rootLint": {
|
||||
"file": "refactor/.cache/editor-root-lint.log",
|
||||
"sha256": "5d7ca80241e65fed23117d779a3e1fba0b2281003a304005ea014a0e3cb75cdf",
|
||||
"exitCode": 0
|
||||
},
|
||||
"targetedLint": {
|
||||
"file": "refactor/.cache/editor-final-lint.log",
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"exitCode": 0
|
||||
},
|
||||
"ci": {
|
||||
"file": "refactor/.cache/editor-ci-tests.log",
|
||||
"sha256": "ebc514dfc48afff766aeba32c689a922efa36e8c85fc5d2552ca36f22248c0e5",
|
||||
"exitCode": 0,
|
||||
"pass": 50
|
||||
},
|
||||
"strictToolchainBefore": {
|
||||
"file": "refactor/.cache/editor-toolchain-direct-before.log",
|
||||
"sha256": "23de6d33eafd3123528d9a4f7b3d82131a32ee90e0724eaab8f2446bca9b48da",
|
||||
"exitCode": 1
|
||||
},
|
||||
"strictToolchain": {
|
||||
"file": "refactor/.cache/editor-toolchain.log",
|
||||
"sha256": "3da883e18990c25a4eee9f46febb386fc33b0ea6a25ff748d5c129bb8d16ea85",
|
||||
"exitCode": 0
|
||||
}
|
||||
},
|
||||
"browser": {
|
||||
"file": "refactor/.cache/editor-browser-accepted/report.json",
|
||||
"sha256": "20de4582ac416faa3e69d7a1444018a99e7ba0f00f60a114c5905cee5fdf6ff7",
|
||||
"stats": {
|
||||
"startTime": "2026-09-13T23:16:22.090Z",
|
||||
"duration": 23649.482000000004,
|
||||
"expected": 3,
|
||||
"skipped": 0,
|
||||
"unexpected": 0,
|
||||
"flaky": 0
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"title": "Monaco checks all editor declarations together and runs the Chapter consumer",
|
||||
"project": "chromium",
|
||||
"status": "expected",
|
||||
"attempts": 1,
|
||||
"browser": "153.0.8010.12",
|
||||
"platform": "win32",
|
||||
"errors": [],
|
||||
"result": {
|
||||
"syntax": [],
|
||||
"semantic": [],
|
||||
"declarations": [],
|
||||
"bad": [
|
||||
2322,
|
||||
2322,
|
||||
2322
|
||||
],
|
||||
"name": "artplayerPluginChapter",
|
||||
"ready": true,
|
||||
"instances": 0
|
||||
},
|
||||
"declarationInputs": {
|
||||
"artplayer-plugin-ads.d.ts": "bf128828d5b104fc844a4f134a02162e57472d8c927a50df7b3878f4c5ed7652",
|
||||
"artplayer-plugin-ambilight.d.ts": "9f06ccb7398053dca642ca369aa47f54cbb3e4dd4d5e252e999e59e496d8eee8",
|
||||
"artplayer-plugin-asr.d.ts": "5096f097636c018bc05c497324c271af3fefaebccda7fa3e9cd43b63477704ad",
|
||||
"artplayer-plugin-audio-track.d.ts": "604af2a3790eb7c583ba150c402dca0a3e458469cc74913b51fee2f3d3882541",
|
||||
"artplayer-plugin-auto-thumbnail.d.ts": "f66bba7f633202c2ef359a989269c643b75d91594364f7ed6fb67f9898aeac03",
|
||||
"artplayer-plugin-chapter.d.ts": "d5bd68579659afa44158c894e12372cedd6f958415ced370a65c294550aa828d",
|
||||
"artplayer-plugin-chromecast.d.ts": "0a0b932081cac0efbcedea28dc1077484963b7f406808378704062661a4c0338",
|
||||
"artplayer-plugin-danmuku-mask.d.ts": "06c6e938876edcc0ac2c8dcd1e1be4596b0f056685a3523d4c9836f2f2f90362",
|
||||
"artplayer-plugin-danmuku.d.ts": "e3421bdbdfc6bea1b0b633300350fff1a745d8bc21c1430b6154a23fa3ad0415",
|
||||
"artplayer-plugin-dash-control.d.ts": "c7e3c83f3377b615e503a270af12915dcc82fe3f2cfabdae396632855a27f73f",
|
||||
"artplayer-plugin-document-pip.d.ts": "42faa0a6549149efd01b46c3c59246bd4dc33f2383b63b04e9f5376de29fdb8e",
|
||||
"artplayer-plugin-hls-control.d.ts": "6a623bb6ba4cc0598a3dd1aab5ef7ca4fbae11973a787885eccba10cc7aa2c7c",
|
||||
"artplayer-plugin-jassub.d.ts": "ce713e0a61a81bfc31087ea1a880a99398ef7c2b833e567c91e4e98f5ae6f621",
|
||||
"artplayer-plugin-multiple-subtitles.d.ts": "edb15207df69a695311e849555cf989bfc32da20c2456731b6814de5400567bb",
|
||||
"artplayer-plugin-vast.d.ts": "b21ed9a852b3ec3cc9b409cce08e91905e42abdc1d642acc9b412c33c83287b7",
|
||||
"artplayer-plugin-vtt-thumbnail.d.ts": "d82c0fe08bcf9c60e2a634e9f1fd8ccc75dc8e0ddbfa8262cccaefc9604aa61b",
|
||||
"artplayer-proxy-canvas.d.ts": "83c408e0724a598f9ff32d68d752f39e03feb69ba4f6a49ba02f9d4df898453e",
|
||||
"artplayer-proxy-mediabunny.d.ts": "acbaa0a25f20ac15b3d79db00b3a16167f84452ab58933110f42dcb3262fbd3e",
|
||||
"artplayer-tool-iframe.d.ts": "c06c6819146ba64bd6ee498871d9e19ab5a9e88c9cc7bed2c0c4968fa39dfed7",
|
||||
"artplayer-tool-thumbnail.d.ts": "9b72d10a1fe964d54fcf4774770074058ea739b4f734b52b8f4adebb37fc83e6",
|
||||
"artplayer.d.ts": "652c0fdf605e87203526777a05851bd69c95c1660d5ff29eab19c00967c9a985",
|
||||
"artplayer-i18n.d.ts": "60851e22ea50ed540f1be0f5a110077cdd5e6ab87345a675838f6c6333517405"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Monaco checks all editor declarations together and runs the Chapter consumer",
|
||||
"project": "firefox",
|
||||
"status": "expected",
|
||||
"attempts": 1,
|
||||
"browser": "155.0",
|
||||
"platform": "win32",
|
||||
"errors": [],
|
||||
"result": {
|
||||
"syntax": [],
|
||||
"semantic": [],
|
||||
"declarations": [],
|
||||
"bad": [
|
||||
2322,
|
||||
2322,
|
||||
2322
|
||||
],
|
||||
"name": "artplayerPluginChapter",
|
||||
"ready": true,
|
||||
"instances": 0
|
||||
},
|
||||
"declarationInputs": {
|
||||
"artplayer-plugin-ads.d.ts": "bf128828d5b104fc844a4f134a02162e57472d8c927a50df7b3878f4c5ed7652",
|
||||
"artplayer-plugin-ambilight.d.ts": "9f06ccb7398053dca642ca369aa47f54cbb3e4dd4d5e252e999e59e496d8eee8",
|
||||
"artplayer-plugin-asr.d.ts": "5096f097636c018bc05c497324c271af3fefaebccda7fa3e9cd43b63477704ad",
|
||||
"artplayer-plugin-audio-track.d.ts": "604af2a3790eb7c583ba150c402dca0a3e458469cc74913b51fee2f3d3882541",
|
||||
"artplayer-plugin-auto-thumbnail.d.ts": "f66bba7f633202c2ef359a989269c643b75d91594364f7ed6fb67f9898aeac03",
|
||||
"artplayer-plugin-chapter.d.ts": "d5bd68579659afa44158c894e12372cedd6f958415ced370a65c294550aa828d",
|
||||
"artplayer-plugin-chromecast.d.ts": "0a0b932081cac0efbcedea28dc1077484963b7f406808378704062661a4c0338",
|
||||
"artplayer-plugin-danmuku-mask.d.ts": "06c6e938876edcc0ac2c8dcd1e1be4596b0f056685a3523d4c9836f2f2f90362",
|
||||
"artplayer-plugin-danmuku.d.ts": "e3421bdbdfc6bea1b0b633300350fff1a745d8bc21c1430b6154a23fa3ad0415",
|
||||
"artplayer-plugin-dash-control.d.ts": "c7e3c83f3377b615e503a270af12915dcc82fe3f2cfabdae396632855a27f73f",
|
||||
"artplayer-plugin-document-pip.d.ts": "42faa0a6549149efd01b46c3c59246bd4dc33f2383b63b04e9f5376de29fdb8e",
|
||||
"artplayer-plugin-hls-control.d.ts": "6a623bb6ba4cc0598a3dd1aab5ef7ca4fbae11973a787885eccba10cc7aa2c7c",
|
||||
"artplayer-plugin-jassub.d.ts": "ce713e0a61a81bfc31087ea1a880a99398ef7c2b833e567c91e4e98f5ae6f621",
|
||||
"artplayer-plugin-multiple-subtitles.d.ts": "edb15207df69a695311e849555cf989bfc32da20c2456731b6814de5400567bb",
|
||||
"artplayer-plugin-vast.d.ts": "b21ed9a852b3ec3cc9b409cce08e91905e42abdc1d642acc9b412c33c83287b7",
|
||||
"artplayer-plugin-vtt-thumbnail.d.ts": "d82c0fe08bcf9c60e2a634e9f1fd8ccc75dc8e0ddbfa8262cccaefc9604aa61b",
|
||||
"artplayer-proxy-canvas.d.ts": "83c408e0724a598f9ff32d68d752f39e03feb69ba4f6a49ba02f9d4df898453e",
|
||||
"artplayer-proxy-mediabunny.d.ts": "acbaa0a25f20ac15b3d79db00b3a16167f84452ab58933110f42dcb3262fbd3e",
|
||||
"artplayer-tool-iframe.d.ts": "c06c6819146ba64bd6ee498871d9e19ab5a9e88c9cc7bed2c0c4968fa39dfed7",
|
||||
"artplayer-tool-thumbnail.d.ts": "9b72d10a1fe964d54fcf4774770074058ea739b4f734b52b8f4adebb37fc83e6",
|
||||
"artplayer.d.ts": "652c0fdf605e87203526777a05851bd69c95c1660d5ff29eab19c00967c9a985",
|
||||
"artplayer-i18n.d.ts": "60851e22ea50ed540f1be0f5a110077cdd5e6ab87345a675838f6c6333517405"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Monaco checks all editor declarations together and runs the Chapter consumer",
|
||||
"project": "webkit",
|
||||
"status": "expected",
|
||||
"attempts": 1,
|
||||
"browser": "26.6",
|
||||
"platform": "win32",
|
||||
"errors": [],
|
||||
"result": {
|
||||
"syntax": [],
|
||||
"semantic": [],
|
||||
"declarations": [],
|
||||
"bad": [
|
||||
2322,
|
||||
2322,
|
||||
2322
|
||||
],
|
||||
"name": "artplayerPluginChapter",
|
||||
"ready": true,
|
||||
"instances": 0
|
||||
},
|
||||
"declarationInputs": {
|
||||
"artplayer-plugin-ads.d.ts": "bf128828d5b104fc844a4f134a02162e57472d8c927a50df7b3878f4c5ed7652",
|
||||
"artplayer-plugin-ambilight.d.ts": "9f06ccb7398053dca642ca369aa47f54cbb3e4dd4d5e252e999e59e496d8eee8",
|
||||
"artplayer-plugin-asr.d.ts": "5096f097636c018bc05c497324c271af3fefaebccda7fa3e9cd43b63477704ad",
|
||||
"artplayer-plugin-audio-track.d.ts": "604af2a3790eb7c583ba150c402dca0a3e458469cc74913b51fee2f3d3882541",
|
||||
"artplayer-plugin-auto-thumbnail.d.ts": "f66bba7f633202c2ef359a989269c643b75d91594364f7ed6fb67f9898aeac03",
|
||||
"artplayer-plugin-chapter.d.ts": "d5bd68579659afa44158c894e12372cedd6f958415ced370a65c294550aa828d",
|
||||
"artplayer-plugin-chromecast.d.ts": "0a0b932081cac0efbcedea28dc1077484963b7f406808378704062661a4c0338",
|
||||
"artplayer-plugin-danmuku-mask.d.ts": "06c6e938876edcc0ac2c8dcd1e1be4596b0f056685a3523d4c9836f2f2f90362",
|
||||
"artplayer-plugin-danmuku.d.ts": "e3421bdbdfc6bea1b0b633300350fff1a745d8bc21c1430b6154a23fa3ad0415",
|
||||
"artplayer-plugin-dash-control.d.ts": "c7e3c83f3377b615e503a270af12915dcc82fe3f2cfabdae396632855a27f73f",
|
||||
"artplayer-plugin-document-pip.d.ts": "42faa0a6549149efd01b46c3c59246bd4dc33f2383b63b04e9f5376de29fdb8e",
|
||||
"artplayer-plugin-hls-control.d.ts": "6a623bb6ba4cc0598a3dd1aab5ef7ca4fbae11973a787885eccba10cc7aa2c7c",
|
||||
"artplayer-plugin-jassub.d.ts": "ce713e0a61a81bfc31087ea1a880a99398ef7c2b833e567c91e4e98f5ae6f621",
|
||||
"artplayer-plugin-multiple-subtitles.d.ts": "edb15207df69a695311e849555cf989bfc32da20c2456731b6814de5400567bb",
|
||||
"artplayer-plugin-vast.d.ts": "b21ed9a852b3ec3cc9b409cce08e91905e42abdc1d642acc9b412c33c83287b7",
|
||||
"artplayer-plugin-vtt-thumbnail.d.ts": "d82c0fe08bcf9c60e2a634e9f1fd8ccc75dc8e0ddbfa8262cccaefc9604aa61b",
|
||||
"artplayer-proxy-canvas.d.ts": "83c408e0724a598f9ff32d68d752f39e03feb69ba4f6a49ba02f9d4df898453e",
|
||||
"artplayer-proxy-mediabunny.d.ts": "acbaa0a25f20ac15b3d79db00b3a16167f84452ab58933110f42dcb3262fbd3e",
|
||||
"artplayer-tool-iframe.d.ts": "c06c6819146ba64bd6ee498871d9e19ab5a9e88c9cc7bed2c0c4968fa39dfed7",
|
||||
"artplayer-tool-thumbnail.d.ts": "9b72d10a1fe964d54fcf4774770074058ea739b4f734b52b8f4adebb37fc83e6",
|
||||
"artplayer.d.ts": "652c0fdf605e87203526777a05851bd69c95c1660d5ff29eab19c00967c9a985",
|
||||
"artplayer-i18n.d.ts": "60851e22ea50ed540f1be0f5a110077cdd5e6ab87345a675838f6c6333517405"
|
||||
}
|
||||
}
|
||||
],
|
||||
"beforeArchive": "refactor/.cache/editor-browser-before",
|
||||
"beforeReason": "Directory has 23 .d.ts assets; actual libUris references 22, excluding historical WebSR. Browser test now follows actual loader list."
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"file": "scripts/build-ts.js",
|
||||
"sha256Lf": "1ff2d13f4247bba1818a187eb945a86969f4c4d60245ba5cac8fc0b2b8edd3ba"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-types.mjs",
|
||||
"sha256Lf": "62c6ef8affb5f28b9a9caa9810e3c5e565ca0d25fb031fe0a169beba6a3a1125"
|
||||
},
|
||||
{
|
||||
"file": "scripts/plugin-editor-types.mjs",
|
||||
"sha256Lf": "09b6bdc419e92d6052ba8575aa9b726e7231ca2579578cd91f9b34d1f99b44bc"
|
||||
},
|
||||
{
|
||||
"file": "scripts/tsconfig.docs.json",
|
||||
"sha256Lf": "4398157a60f8be091484d332455745708b999753cad3d7e0dd4a216c818da79e"
|
||||
},
|
||||
{
|
||||
"file": "scripts/tsconfig.editor.json",
|
||||
"sha256Lf": "ce57cedc75093d62f9d62efe1ff24c1d5d0fd157cbe830d082b8cebcf5f0e6a1"
|
||||
},
|
||||
{
|
||||
"file": "package.json",
|
||||
"sha256Lf": "0726e24a97b8107dd7c8effe37202b194d4211a3f06ea9c8c22058029a6d0871"
|
||||
},
|
||||
{
|
||||
"file": "test/editor-types.test.js",
|
||||
"sha256Lf": "2c431f49ca5b7428171ee7f494b48ac72df787c9a0824362855c49fc0c4cdbca"
|
||||
},
|
||||
{
|
||||
"file": "test/browser/editor-declarations.spec.js",
|
||||
"sha256Lf": "33e824e96b2fb385fa99fd384325f9cf660c49eff0afd4fb0234a3a5f4048e00"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/core.ts",
|
||||
"sha256Lf": "0cda0fe093299099c62ae907a6f517f1cb5c49be9085d4c8fb20aed6579a0058"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/dependencies.ts",
|
||||
"sha256Lf": "aa697e095f3e9ea476a2ae625714542f62db47e1257cb69cc5e249277db67f8c"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/generate.ts",
|
||||
"sha256Lf": "6cf6ee27b2032e9e3a4aef949f2b54ba7bf12e40bed473478f63eb82759c8e5a"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/plugin.ts",
|
||||
"sha256Lf": "02dd90a19b75235ac6080aa2088114f3ae51c45567789c7daf2653be63ceee7d"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/README.md",
|
||||
"sha256Lf": "968b7d6b558a5dde76bc004517fa02eaa33d81a1051e34b33f21a112d85aa8a0"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/syntax.ts",
|
||||
"sha256Lf": "d5c7d8f400b3053e1c1a588dab809f5d17e95be88ecb985cbc90f9ffaea3a0e6"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/validation.ts",
|
||||
"sha256Lf": "1b5524844d030ba32df8bb47f1f3963e7df1f0843db61ad1cc7a983db2546517"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/vast-sdk.ts",
|
||||
"sha256Lf": "6da9176284b7a697a922b90befa64263e016f12eef483793cc524bdfc028ad05"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-i18n.d.ts",
|
||||
"sha256Lf": "60851e22ea50ed540f1be0f5a110077cdd5e6ab87345a675838f6c6333517405"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-ads.d.ts",
|
||||
"sha256Lf": "bf128828d5b104fc844a4f134a02162e57472d8c927a50df7b3878f4c5ed7652"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-ambilight.d.ts",
|
||||
"sha256Lf": "9f06ccb7398053dca642ca369aa47f54cbb3e4dd4d5e252e999e59e496d8eee8"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-asr.d.ts",
|
||||
"sha256Lf": "5096f097636c018bc05c497324c271af3fefaebccda7fa3e9cd43b63477704ad"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-audio-track.d.ts",
|
||||
"sha256Lf": "604af2a3790eb7c583ba150c402dca0a3e458469cc74913b51fee2f3d3882541"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-auto-thumbnail.d.ts",
|
||||
"sha256Lf": "f66bba7f633202c2ef359a989269c643b75d91594364f7ed6fb67f9898aeac03"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-chapter.d.ts",
|
||||
"sha256Lf": "d5bd68579659afa44158c894e12372cedd6f958415ced370a65c294550aa828d"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-chromecast.d.ts",
|
||||
"sha256Lf": "0a0b932081cac0efbcedea28dc1077484963b7f406808378704062661a4c0338"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-danmuku-mask.d.ts",
|
||||
"sha256Lf": "06c6e938876edcc0ac2c8dcd1e1be4596b0f056685a3523d4c9836f2f2f90362"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-danmuku.d.ts",
|
||||
"sha256Lf": "e3421bdbdfc6bea1b0b633300350fff1a745d8bc21c1430b6154a23fa3ad0415"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-dash-control.d.ts",
|
||||
"sha256Lf": "c7e3c83f3377b615e503a270af12915dcc82fe3f2cfabdae396632855a27f73f"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-document-pip.d.ts",
|
||||
"sha256Lf": "42faa0a6549149efd01b46c3c59246bd4dc33f2383b63b04e9f5376de29fdb8e"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-hls-control.d.ts",
|
||||
"sha256Lf": "6a623bb6ba4cc0598a3dd1aab5ef7ca4fbae11973a787885eccba10cc7aa2c7c"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-jassub.d.ts",
|
||||
"sha256Lf": "ce713e0a61a81bfc31087ea1a880a99398ef7c2b833e567c91e4e98f5ae6f621"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-multiple-subtitles.d.ts",
|
||||
"sha256Lf": "edb15207df69a695311e849555cf989bfc32da20c2456731b6814de5400567bb"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-vast.d.ts",
|
||||
"sha256Lf": "b21ed9a852b3ec3cc9b409cce08e91905e42abdc1d642acc9b412c33c83287b7"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-vtt-thumbnail.d.ts",
|
||||
"sha256Lf": "d82c0fe08bcf9c60e2a634e9f1fd8ccc75dc8e0ddbfa8262cccaefc9604aa61b"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-proxy-canvas.d.ts",
|
||||
"sha256Lf": "83c408e0724a598f9ff32d68d752f39e03feb69ba4f6a49ba02f9d4df898453e"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-proxy-mediabunny.d.ts",
|
||||
"sha256Lf": "acbaa0a25f20ac15b3d79db00b3a16167f84452ab58933110f42dcb3262fbd3e"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-tool-iframe.d.ts",
|
||||
"sha256Lf": "c06c6819146ba64bd6ee498871d9e19ab5a9e88c9cc7bed2c0c4968fa39dfed7"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-tool-thumbnail.d.ts",
|
||||
"sha256Lf": "9b72d10a1fe964d54fcf4774770074058ea739b4f734b52b8f4adebb37fc83e6"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer.d.ts",
|
||||
"sha256Lf": "652c0fdf605e87203526777a05851bd69c95c1660d5ff29eab19c00967c9a985"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/js/common.js",
|
||||
"sha256Lf": "cc9f7d780cf4f0ffb9aaee75da69e2b2b062f3bac07b4ffc9a75956b2e7cd7af"
|
||||
},
|
||||
{
|
||||
"file": "docs/assets/ts/artplayer-plugin-vast.LICENSE.txt",
|
||||
"sha256Lf": "967db6e5026a2fd3cc24d8a04e5c78859f543d0c0f6d4f9599c103e4e93c9b29"
|
||||
}
|
||||
],
|
||||
"sdk": [
|
||||
{
|
||||
"name": "@glomex/vast-ima-player",
|
||||
"version": "1.21.2",
|
||||
"manifest": {
|
||||
"file": "node_modules\\@glomex\\vast-ima-player\\package.json",
|
||||
"sha256": "c7361321ce792f6830af9eb40e70b7508a75f68290a3c0077e26a6f36daa7097"
|
||||
},
|
||||
"license": {
|
||||
"file": "node_modules\\@glomex\\vast-ima-player\\LICENSE",
|
||||
"sha256": "68b35bb64e6269277318ff4e4ee66a738bdeb83bbcdc7e3c3af85a0bdded8d0b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "@alugha/ima",
|
||||
"version": "2.1.0",
|
||||
"manifest": {
|
||||
"file": "node_modules\\@alugha\\ima\\package.json",
|
||||
"sha256": "0c0f9d2a4cc8ea3f96239b44e4ef764630421998e5de91d05d04e42582b24852"
|
||||
},
|
||||
"license": {
|
||||
"file": "node_modules\\@alugha\\ima\\LICENSE.md",
|
||||
"sha256": "0fe0f6dd9671aecf84ea082cdcd7b3297b75ca942d082b485b94dd3b4dfd648a"
|
||||
}
|
||||
}
|
||||
],
|
||||
"limitations": [
|
||||
"Browser uses repository Monaco, not an entire editor UI/route acceptance.",
|
||||
"VAST is type-only; no ad SDK request, no runtime default behavior decision.",
|
||||
"No full production/runtime or publication matrix rerun, no remote CI or manual Chrome/iab.",
|
||||
"No new dependencies, push or publication."
|
||||
]
|
||||
}
|
||||
@@ -18101,15 +18101,15 @@
|
||||
},
|
||||
{
|
||||
"file": "scripts/build-ts.js",
|
||||
"sha256Lf": "338f3b5b4e4bdcb42c878997d13da6f71ce9842d730f57efece7566124dae9f6"
|
||||
"sha256Lf": "1ff2d13f4247bba1818a187eb945a86969f4c4d60245ba5cac8fc0b2b8edd3ba"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-types.mjs",
|
||||
"sha256Lf": "951d3d40dc7f90034561fd1a3b3015bdb1449593121bb410e3f15e4415547b8b"
|
||||
"sha256Lf": "62c6ef8affb5f28b9a9caa9810e3c5e565ca0d25fb031fe0a169beba6a3a1125"
|
||||
},
|
||||
{
|
||||
"file": "scripts/plugin-editor-types.mjs",
|
||||
"sha256Lf": "429c304ce7c801836a311e76e85f2e6dc0328d599103e39d071a915164b94102"
|
||||
"sha256Lf": "09b6bdc419e92d6052ba8575aa9b726e7231ca2579578cd91f9b34d1f99b44bc"
|
||||
},
|
||||
{
|
||||
"file": "scripts/build-test.js",
|
||||
@@ -18166,6 +18166,34 @@
|
||||
{
|
||||
"file": "scripts/docs-smoke/runtime.ts",
|
||||
"sha256Lf": "9fae3aa1bc6a6ef9728d9a677de9e283d40314022b710b2ecf19a9b951f6291d"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/core.ts",
|
||||
"sha256Lf": "0cda0fe093299099c62ae907a6f517f1cb5c49be9085d4c8fb20aed6579a0058"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/dependencies.ts",
|
||||
"sha256Lf": "aa697e095f3e9ea476a2ae625714542f62db47e1257cb69cc5e249277db67f8c"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/generate.ts",
|
||||
"sha256Lf": "6cf6ee27b2032e9e3a4aef949f2b54ba7bf12e40bed473478f63eb82759c8e5a"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/plugin.ts",
|
||||
"sha256Lf": "02dd90a19b75235ac6080aa2088114f3ae51c45567789c7daf2653be63ceee7d"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/syntax.ts",
|
||||
"sha256Lf": "d5c7d8f400b3053e1c1a588dab809f5d17e95be88ecb985cbc90f9ffaea3a0e6"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/validation.ts",
|
||||
"sha256Lf": "1b5524844d030ba32df8bb47f1f3963e7df1f0843db61ad1cc7a983db2546517"
|
||||
},
|
||||
{
|
||||
"file": "scripts/editor-declarations/vast-sdk.ts",
|
||||
"sha256Lf": "6da9176284b7a697a922b90befa64263e016f12eef483793cc524bdfc028ad05"
|
||||
}
|
||||
],
|
||||
"generationCommands": {
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# SITE-02 编辑器声明生成链
|
||||
|
||||
起点 `1a5440a67f50c8c1c5c695099bea5ee5d4b0cc77`。SITE-SMOKE-01 已完成示例
|
||||
生成半项,本次完成声明生成半项,保留全部父任务范围。原 build:ts 命令、按包
|
||||
参数、声明 URL、i18n 入口和工具 MJS 导入路径继续可用。生产包源码、公开声明、
|
||||
运行时事件/DOM、分发入口与 yarn.lock 未修改。
|
||||
|
||||
## 结构与修复
|
||||
|
||||
- `scripts/editor-declarations/` 包含 TS 的 core/plugin AST 转换、语法检查、
|
||||
VAST SDK 类型闭包、虚拟编译器 host 和生成编排。旧 JS/MJS 文件仅转发,同属
|
||||
严格 checkJs 范围。新模块维护地图、依赖方向和修改命令见该目录 README。
|
||||
- 原 Chapter 文本回退产生 TS2309(default 与 export assignment 混用);
|
||||
VAST 同时产生 TS2304/2552(删除 import 后丢失 Player/PlayerOptions)。
|
||||
测试固定原转换表达式复现,不靠跳过声明检查或 any 替换解决。
|
||||
- 所有 20 个生态库现在统一走语义转换;加 core/i18n 共 22 个加载声明。格式化
|
||||
后以主 TS 5.9.3、旧 TS 4.3.5 整组检查,同时验证命名空间冲突和未解析依赖。
|
||||
生成期间仅作 layout 格式修复;SDK 原方法与 type alias 形状保留,相关 lint
|
||||
豁免限定在自动生成的 SDK 命名空间块。其余 20 份声明内容与起点一致。
|
||||
- VAST 通过单独 type-only 入口收集 @glomex/vast-ima-player 1.21.2 和
|
||||
@alugha/ima 2.1.0。直接 bundle VAST 根声明会因 workspace 链接一并内联核心,
|
||||
因此只 bundle SDK 闭包,再用 AST 放入模块内部 namespace,避免重复核心。
|
||||
原 Window 可选属性、必需回调、SDK 方法/私有成员约束保留;不新增 SDK 全局
|
||||
值或运行时加载。自动生成邻接 LICENSE.txt 保存上游 notices。
|
||||
- 新增 `check:editor-types` 并加入 ci:check;所有选择、声明检查、格式化、
|
||||
notices 和 libUris 生成成功后才写结果。只读检查拒绝缺失/漂移,不写文件。
|
||||
libUris 用 AST 定位唯一数组声明,避免找不到旧正则时静默漏更新;按包构建
|
||||
保持不更新总列表的旧行为。多文件最终写盘本身不承诺事务性。
|
||||
- 无新增依赖或锁变更;复用已固定 dts-bundle-generator 9.5.1、TS、ESLint、glob。
|
||||
两个真实编译器模块的名义类型不同,仅在工具边界适配,测试实际执行旧编译器。
|
||||
|
||||
## 验证与修正过程
|
||||
|
||||
- 4 项编辑器 Node 测试通过:core/ASR 原消费者;Chapter/VAST 旧红新绿、模块
|
||||
导入与全局消费;6 个类型误用分别被拒绝;全部 24 个输出与重生成一致;
|
||||
未知/重复选包及缺失/重复/非数组 libUris 拒绝。
|
||||
- 完整 baseline 522 通过,0 失败/跳过,覆盖旧 MJS 路径上的包类型回归。
|
||||
CI 50 项回归通过;严格 docs-tools 检查、全仓 lint(0 error/1 既有生成
|
||||
声明 warning)、目标 lint 与严格工具链通过。
|
||||
- 三浏览器实际 Monaco 各 1 项,共 3 通过,0 跳过/flaky:实际 common.js 中
|
||||
22 份加载声明一起检查,正例无诊断、三个坏参数各报 TS2322,并运行实际
|
||||
emit 的 Chapter 代码,真实受控媒体 ready 后销毁、实例归零。没有执行 VAST
|
||||
广告 SDK。完整 browser report 和版本/结果摘要见验证 JSON。
|
||||
- 首次浏览器检查失败在 23 vs 22 文件数:目录遗留 artplayer-plugin-websr.d.ts
|
||||
未列入实际 libUris。测试改为按实际加载列表取文件,原资产保留,未通过删除
|
||||
声明消除失败。失败报告已归档。旧资产的整体处置仍属 SITE-07。
|
||||
- 新虚拟 host 的模块正例最初失败,原因是 Windows 根路径尾部分隔符使目录
|
||||
比较不匹配;用 path.resolve 统一后相对导入和全部负例通过。SDK 声明初次
|
||||
layout lint 指出上游签名风格,采用限定范围保留原类型形状,未作语义格式替换。
|
||||
- 一次直接 node 调严格工具链检查被 Yarn 身份检查拒绝;按规定使用 pinned
|
||||
Yarn 重新执行成功,未绕过该门槛。原失败日志保留。
|
||||
|
||||
## 兼容与后续
|
||||
|
||||
本次兼容修正针对编辑器生成声明,生产根类型和 /runtime 类型均保持原内容。
|
||||
Chapter/VAST 编辑器从无效声明变成可严格消费声明,原合法回调和配置不需改写。
|
||||
VAST 初始化默认行为、Auto Thumbnail 首帧、真实设备/SDK、完整文档交互与三轮
|
||||
发布复盘仍开放。SITE-03/04/05 与 EX-03 接续文档产品流程和完整验收。
|
||||
|
||||
未重新执行全仓生产运行时套件或全局发布矩阵;本次变化没有生产源码/锁变更。
|
||||
没有手动 Chrome/iab 会话、远端 CI、推送或发布。构建/验证只证明上述工具与
|
||||
消费者范围。任务单独提交后审计;回退该提交会恢复旧生成链及 Chapter/VAST
|
||||
声明错误,需重新 build:ts,优先对具体回归单独修复。
|
||||
@@ -10,7 +10,8 @@
|
||||
| `yarn lint:fix` | 显式自动修复相同范围 |
|
||||
| `yarn typecheck` | 根/迁移包严格检查、当前与兼容 TS 消费;历史 NodeNext ESM 错误单独核对,见 typechecking.md |
|
||||
| `yarn typecheck:react` / `yarn typecheck:vue` | 原 React TSX / Vue SFC 示例严格检查,ci:check 同时执行对应 lint |
|
||||
| `yarn typecheck:docs-tools` / `yarn check:docs-smoke` | 严格检查 TS 示例生成器及 JS 命令门面;只读核对确定性生成的 readiness smoke,ci:check 执行 |
|
||||
| `yarn typecheck:docs-tools` / `yarn check:docs-smoke` | 严格检查 TS 示例/声明生成器及 JS/MJS 门面;只读核对确定性生成的 readiness smoke,ci:check 执行 |
|
||||
| `yarn check:editor-types` | 只读核对全部编辑器声明、SDK notices 和实际 libUris;主 TS 5.9.3/历史 4.3.5 整组语义检查,ci:check 执行 |
|
||||
| `yarn test:react-consumer` / `yarn test:vue-consumer` | 仓库外 tarball 安装、原框架示例、开发/生产三引擎;browser-smoke 执行并上传独立目录,本地证据不代替远端矩阵 |
|
||||
| `yarn test:unit` | 原播放/DASH 回归、同夹具的新旧公共契约与 JS/TS loader 验证 |
|
||||
| `yarn test:node` | test:unit 加工具链/文档构建回归,保留原 test:playback/test:dash-control 入口 |
|
||||
|
||||
+3
-2
@@ -4,7 +4,7 @@
|
||||
|
||||
基线:`40fcda6a37d0049d42e49c1e64e70d4fd9ba5f7f`。总任务 240 项,范围 22 个包及工作区/示例。
|
||||
|
||||
状态:todo 60 / doing 15 / blocked 0 / done 165 / deferred 0。风险 L/M/H 表示兼容风险,不表示工期。
|
||||
状态:todo 59 / doing 15 / blocked 0 / done 166 / deferred 0。风险 L/M/H 表示兼容风险,不表示工期。
|
||||
|
||||
前置依赖是启动条件;验收是完成条件。任务可以继续拆分,但不能复用或悄悄删除旧 ID。
|
||||
|
||||
@@ -382,7 +382,7 @@
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| SITE-01 | artplayer-vitepress, workspace<br>清点文档/示例/生成链 | BASE-04, BASE-05 | 中英文文档、插件页面、demo URL、编辑器声明与生成目录清单;六类 HTML 入口、prod/libs/code/example 加载行为及移动重定向 | 所有公开 API/插件有对应页面或明确补充任务;核实 BASE-DEMO-01 的历史 thumbnail 插件来源及 29 示例/36 HTML 路径;明确 BASE-05 所记录站点实际分发与未设 private 的 manifest 意图;接续 VENDOR-05/06/07/08 和 BASE-SITE-01/BASE-MEDIA-01,核对字体、Monaco、vConsole、console bundle 与样本来源及分发范围 | M | done |
|
||||
| SITE-SMOKE-01 | artplayer-vitepress, workspace<br>迁移示例生成器并验证真实就绪与清理 | SITE-01 | TS Markdown 解析/生成与浏览器运行模块;旧命令和 URL、稳定实例就绪 smoke、错误与资源清理 | 复现旧 malformed 死循环并保证有限失败;保留全部既有示例内容、生成确定且 check 只读;不再以 100ms 作为成功,验证原生就绪、异常、取消与清理;三浏览器检查,明确延迟交互与全部 233 示例仍需 EX-03 | M | done |
|
||||
| SITE-02 | artplayer-vitepress<br>整理声明与示例生成器 | SITE-01, ENG-04, ENG-06, SITE-SMOKE-01 | build-ts/build-test 生成链的可验证 TS 脚本 | 不靠字符串拼接掩盖声明错误,生成示例有真实断言或仅标 smoke;替换固定 100ms 成功判定,明确异步错误、清理和生成覆盖限制;坏代码块解析必须终止,覆盖 malformed 分支不推进 regexp 的回归 | M | todo |
|
||||
| SITE-02 | artplayer-vitepress<br>整理声明与示例生成器 | SITE-01, ENG-04, ENG-06, SITE-SMOKE-01 | build-ts/build-test 生成链的可验证 TS 脚本 | 不靠字符串拼接掩盖声明错误,生成示例有真实断言或仅标 smoke;替换固定 100ms 成功判定,明确异步错误、清理和生成覆盖限制;坏代码块解析必须终止,覆盖 malformed 分支不推进 regexp 的回归 | M | done |
|
||||
| SITE-03 | artplayer-vitepress<br>整理 i18n/文档/LLM 生成流程 | SITE-02 | build-i18n/build-docs/build-llm/trans-docs 的任务边界和错误处理 | 原命令兼容、生成可复现,翻译步骤不隐式运行远程服务;覆盖移动 loader 失败恢复 define、脚本依赖顺序、localhost/127.0.0.1 Run Code 目标和语言重定向 | M | todo |
|
||||
| SITE-04 | artplayer-vitepress<br>交叉核对逐包持续维护的文档 | CORE-21, SITE-03, PKG-CHAPTER-04, PKG-AMBILIGHT-04, PKG-AUDIO-04, PKG-AUTO-THUMB-04, PKG-VTT-THUMB-04, PKG-HLS-04, PKG-DASH-04, PKG-MULTI-SUB-04, PKG-JASSUB-04, PKG-MASK-04, PKG-ASR-04, PKG-ADS-04, PKG-VAST-04, PKG-CAST-04, PKG-DPIP-04, PKG-CANVAS-04, PKG-IFRAME-04, PKG-TOOL-THUMB-04, PKG-DANMUKU-06, PKG-MB-08 | 已随实现更新的中文/英文 API、包内实现地图、旧 JS 示例及已知能力限制的全包核对 | 未把缺环境的能力写成已验证,静态核对不等待设备任务;最终 demo 仍由 EX-03 验收;按 SITE-01 声明成员/候选标题清单逐项语义核对,补齐缺失的双语插件说明和 Danmuku 英文入口 | M | todo |
|
||||
| SITE-05 | artplayer-vitepress<br>构建文档站和验证链接/示例 | SITE-04, EX-01, EX-02, SITE-07 | VitePress 构建、链接与嵌入 demo 检查 | 文档构建、链接、嵌入路径与声明注入通过;真实完整 demo 保留 EX-03 独立门槛;核对 ENG-PM-01 登记的搜索 peer 范围和真实搜索行为 | M | todo |
|
||||
@@ -608,6 +608,7 @@
|
||||
- PKG-TOOL-THUMB-04: [记录](changes/2026-09-13-PKG-TOOL-THUMB-04-runtime-types.md) [记录](baselines/thumbnail-runtime-types-validation.json) [记录](changes/2026-09-13-PKG-TOOL-THUMB-04-public-types.md) [记录](baselines/thumbnail-public-types-validation.json) [记录](changes/2026-09-13-PKG-TOOL-THUMB-04-emitter.md) [记录](baselines/thumbnail-emitter-validation.json)
|
||||
- SITE-01: [记录](site-inventory.md) [记录](baselines/site-inventory.json) [记录](baselines/site-provenance.json) [记录](baselines/demo-additions.json) [记录](changes/2026-09-14-SITE-01-site-inventory.md) [记录](baselines/site-inventory-validation.json)
|
||||
- SITE-SMOKE-01: [记录](changes/2026-09-14-SITE-SMOKE-01-documentation-smoke.md) [记录](baselines/docs-smoke-validation.json) [记录](scripts/docs-smoke.test.mjs)
|
||||
- SITE-02: [记录](changes/2026-09-14-SITE-02-editor-declarations.md) [记录](baselines/editor-declarations-validation.json) [记录](changes/2026-09-14-SITE-SMOKE-01-documentation-smoke.md)
|
||||
- SITE-07: [记录](site-inventory.md) [记录](baselines/site-provenance.json)
|
||||
- EX-01: [记录](changes/2026-09-14-EX-01-react-consumer.md) [记录](baselines/react-consumer-validation.json) [记录](scripts/react-consumer.mjs)
|
||||
- EX-02: [记录](changes/2026-09-14-EX-02-vue-consumer.md) [记录](baselines/vue-consumer-validation.json) [记录](scripts/vue-consumer.mjs)
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
# 进度与证据
|
||||
|
||||
## SITE-02 编辑器声明生成链完成
|
||||
|
||||
build:ts 与 core/plugin 转换器完成 TS 模块拆分,原 JS/MJS 命令/导入路径保留。
|
||||
修复 Chapter/VAST 文本回退产生的冲突导出与 SDK 类型丢失;22 份实际加载声明
|
||||
在内存格式化后用主 TS 5.9.3/旧 TS 4.3.5 整组检查,通过才写文件。其余 20 份
|
||||
声明与起点一致,生产源码/公开类型/锁不变。VAST SDK 类型保留私有命名空间与
|
||||
原签名,生成上游 notices;新增只读 check:editor-types 接入 CI。4 项编辑器
|
||||
测试、522 项 baseline、50 项 CI 回归、严格工具链/工具类型/lint 通过(根 lint
|
||||
1 条既有 warning)。三浏览器实际 Monaco 检查 22 份声明、拒绝坏参数并执行
|
||||
Chapter emit 的 ready/destroy,3 项通过。VAST 仅验类型,未执行广告。
|
||||
见[变更](changes/2026-09-14-SITE-02-editor-declarations.md)和
|
||||
[验证](baselines/editor-declarations-validation.json)。当前 240 项:166 done、
|
||||
15 doing、59 todo。下一步 SITE-03 站点/移动加载与编辑器流程;VAST 默认行为、
|
||||
Auto Thumbnail 首帧及插件最终验收保持开放。独立本地提交,无推送或发布。
|
||||
|
||||
## SITE-SMOKE-01 示例生成器与就绪检查完成
|
||||
|
||||
从 SITE-02 拆出文档示例工具,TS parser/generator/runtime 与严格检查的原 JS
|
||||
|
||||
@@ -78,7 +78,7 @@ export function captureSiteInventory() {
|
||||
pages: demo.pages,
|
||||
baselinePaths: { examplesAdded: demo.examples.filter(row => !historical.examples.some(old => old.source === row.source)).map(row => row.source), examplesRemoved: historical.examples.filter(row => !demo.examples.some(now => now.source === row.source)).map(row => row.source), htmlAdded: demo.pages.filter(row => !historical.pages.some(old => old.source === row.source)).map(row => row.source), htmlRemoved: historical.pages.filter(row => !demo.pages.some(now => now.source === row.source)).map(row => row.source) },
|
||||
editorDeclarations: [...read('docs/assets/js/common.js').matchAll(/'\.\/assets\/ts\/([^']+\.d\.ts)'/g)].map(match => ({ file: `docs/assets/ts/${match[1]}`, exists: fs.existsSync(path.join(root, 'docs/assets/ts', match[1])), owner: 'SITE-02' })),
|
||||
scripts: [...scriptFiles, ...files('scripts/docs-smoke').filter(file => file.endsWith('.ts'))].map(file => ({ file, sha256Lf: hash(read(file)) })),
|
||||
scripts: [...scriptFiles, ...files('scripts/docs-smoke').filter(file => file.endsWith('.ts')), ...files('scripts/editor-declarations').filter(file => file.endsWith('.ts'))].map(file => ({ file, sha256Lf: hash(read(file)) })),
|
||||
generationCommands: Object.fromEntries(Object.entries(json('package.json').scripts).filter(([name]) => /^(?:build:(?:types|ts|test|i18n|docs|llm|all)|ci:build)$/.test(name))),
|
||||
siteManifest: json('packages/artplayer-vitepress/package.json'),
|
||||
assets,
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
SITE-SMOKE-01 后续已将 build:test 拆为 TS 解析、生成和浏览器运行模块,新增
|
||||
确定性 examples.json 和 readonly check,替换 100ms done 为实例 ready/错误/清理。
|
||||
以下 SITE-01 的旧生成器问题属于历史发现;当前维护入口见
|
||||
[docs-smoke README](../scripts/docs-smoke/README.md)。声明生成仍归 SITE-02。
|
||||
[docs-smoke README](../scripts/docs-smoke/README.md)。SITE-02 后续已将声明生成
|
||||
迁到 `scripts/editor-declarations/`:全部 22 份加载声明整组验证,Chapter/VAST
|
||||
不再走删除 import 的文本回退。见[模块说明](../scripts/editor-declarations/README.md)。
|
||||
以下 SITE-01 对这些旧生成问题的描述是历史发现,站点/编辑器交互仍需后续验收。
|
||||
|
||||
SITE-01 在 `d62ab13a35c756ea567c426d4fbe00d893dd7e2b` 后核对当前源码。
|
||||
可重跑清单见 [site-inventory.json](baselines/site-inventory.json);它登记
|
||||
|
||||
+6
-2
@@ -4138,11 +4138,15 @@
|
||||
"ENG-06",
|
||||
"SITE-SMOKE-01"
|
||||
],
|
||||
"status": "todo",
|
||||
"status": "done",
|
||||
"risk": "M",
|
||||
"deliverable": "build-ts/build-test 生成链的可验证 TS 脚本",
|
||||
"acceptance": "不靠字符串拼接掩盖声明错误,生成示例有真实断言或仅标 smoke;替换固定 100ms 成功判定,明确异步错误、清理和生成覆盖限制;坏代码块解析必须终止,覆盖 malformed 分支不推进 regexp 的回归",
|
||||
"evidence": []
|
||||
"evidence": [
|
||||
"changes/2026-09-14-SITE-02-editor-declarations.md",
|
||||
"baselines/editor-declarations-validation.json",
|
||||
"changes/2026-09-14-SITE-SMOKE-01-documentation-smoke.md"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "SITE-03",
|
||||
|
||||
Reference in new issue
Block a user