refactor: 重组目录结构,脚本收进 scripts/,配置独立成 config/
根目录原来平铺了构建脚本、运行器配置、两个 .cmd 启动器和一份中文名的 实跑报告,四类东西混在一起,新人分不清哪个是源码、哪个是产物。这次按 职责分层重排: - 构建与检查脚本收进 scripts/:build.mjs、check.mjs - 一键启动器收进 scripts/:start-headless.cmd、start-dev.cmd - 运行器配置独立成 config/runner.config.mjs(日常调参不用重新 build) - 真机测试收进 dev/tests/:real-cdp / real-test / real-e2e / real-run - 运行报告改成 ASCII 名并移入 docs/reports/run-report-v203.md - v2.0.x 时期的 7 份原始抓取片段归档到 docs/archive/v2.0-snapshots/, docs/evidence/ 只留当前版本的有效证据 - 测试每次重新生成的 3 张截图(e2e-01-after-login、e2e-02-playing、 real-chrome-login)移出仓库并加入 .gitignore,改写到 .run-tmp/screenshots/; docs/screenshots/ 只保留手工挑选的 5 张展示图 路径修正:build.mjs 的 ROOT 上跳一级;dev/tests/ 四个脚本 ROOT 上跳两级、 对 runner/browser.mjs 的引用改 ../../;runner/config.mjs 默认配置文件路径改 config/runner.config.mjs;两个 .cmd 的 cd 改为仓库根、start-dev.cmd 指向 dev/serve.mjs;package.json 全部 npm scripts 同步;README、dev/README、证据 文件与源码注释里的路径一并更新。 顺带修掉测试里硬编码的 v2.7.0 断言:版本号改为从 package.json 读取。 验证:npm run build(104798 字节 / 102.3 KB)、npm run check(24/24)、 npm run test:real:headless(24/24 通过)。
This commit is contained in:
1 parent
ae117222df
commit
c1e883d67f
32 files changed
+148
-125
No files matched your search
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"activeTag": "LI",
|
||||
"activeClass": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16 liactive",
|
||||
"activeLiIndex": 1,
|
||||
"leafCount": 8,
|
||||
"leafIdx": 0,
|
||||
"activeLiText": "视频2025-05-29--1",
|
||||
"nextLeafText": "视频2025-05-29--2",
|
||||
"nextLeafHand": true,
|
||||
"oldFindIdx": 0,
|
||||
"oldNextText": "视频2025-05-29--1",
|
||||
"items": [
|
||||
{
|
||||
"i": 0,
|
||||
"cls": "",
|
||||
"directUl": true,
|
||||
"anyUl": true,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": true,
|
||||
"text": "第1章:先期产品质量策划\n视频2025-05-29--1\n视频2025-05-29--2\n视频2025-05-29--3"
|
||||
},
|
||||
{
|
||||
"i": 1,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16 liactive",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": true,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-29--1"
|
||||
},
|
||||
{
|
||||
"i": 2,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-29--2"
|
||||
},
|
||||
{
|
||||
"i": 3,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-29--3"
|
||||
},
|
||||
{
|
||||
"i": 4,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-29--4"
|
||||
},
|
||||
{
|
||||
"i": 5,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-30--1"
|
||||
},
|
||||
{
|
||||
"i": 6,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-30--2"
|
||||
},
|
||||
{
|
||||
"i": 7,
|
||||
"cls": "",
|
||||
"directUl": true,
|
||||
"anyUl": true,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "第2章:控制计划培训\n视频2025-05-30--3\n视频2025-05-30--4"
|
||||
},
|
||||
{
|
||||
"i": 8,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-30--3"
|
||||
},
|
||||
{
|
||||
"i": 9,
|
||||
"cls": "hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16",
|
||||
"directUl": false,
|
||||
"anyUl": false,
|
||||
"hand": true,
|
||||
"activeSelf": false,
|
||||
"hasActive": false,
|
||||
"text": "视频2025-05-30--4"
|
||||
}
|
||||
],
|
||||
"activeHtml": "<li class=\"hand font-w400 textcolorop6 linozj mb4 font-size-14 lh22 ml16 mr16 liactive\"><div class=\"ml24 flex-center flex-space-between\"><span class=\"yxtf-tooltip ulcdsdk-ellipsis-2 ulcdsdk-break item\" aria-describedby=\"yxtf-tooltip-2494\" tabindex=\"0\"><span class=\"tag-type mr6\">视频</span>2025-05-29--1</span><svg aria-hidden=\"true\" class=\"yxt-svg-icon mr14 ml14 hand\" style=\"display: inline-block; width: 20px; height: 20px;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M20 0H0v20h20z\"></path><path fill=\"currentColor\" fil"
|
||||
}
|
||||
Reference in new issue
Block a user