mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 01:56:16 -08:00
`tools/release/capture-navigation.ts` had grown to 567 counted lines, past the 400-line rule, which failed `release-tools:lint` and — because the file was not in the baseline — the max-lines baseline test on master and on every PR branched from it. The 19 named setup actions are now grouped by subject over one leaf module of shared page helpers: - `capture-navigation-helpers.ts`: playlist-id registry, dialog handling, navigation moves, `settleUi` - `capture-navigation-setup-actions.ts`: add-playlist dialogs, settings sections, remote control - `capture-navigation-portal-actions.ts`: portal catalogs, live lists, alternative sources (the two identical live-category flows share one helper) - `capture-navigation-download-actions.ts`: the download manager shots - `capture-navigation.ts`: the `runAction` dispatcher, theme switching and the re-exported API the seeding driver and the capture script import Actions call their siblings directly instead of recursing through `runAction`, so no module depends on the dispatcher. The action vocabulary is unchanged (same 19 names, same waits and timeouts); every file is under 300 lines and the new modules are listed in the `release-tools` lint target. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
53 lines
3.0 KiB
JSON
53 lines
3.0 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"name": "release-tools",
|
|
"projectType": "library",
|
|
"sourceRoot": "tools/release",
|
|
"targets": {
|
|
"test": {
|
|
"executor": "nx:run-commands",
|
|
"cache": true,
|
|
"inputs": [
|
|
"{workspaceRoot}/tools/release/release-notes.mjs",
|
|
"{workspaceRoot}/tools/release/release-notes-render.mjs",
|
|
"{workspaceRoot}/tools/release/release-notes-blog.mjs",
|
|
"{workspaceRoot}/tools/release/release-announcements.mjs",
|
|
"{workspaceRoot}/tools/release/verify-draft-release.mjs",
|
|
"{workspaceRoot}/tools/release/highlight-cards.mjs",
|
|
"{workspaceRoot}/tools/release/generate-highlight-cards.mjs",
|
|
"{workspaceRoot}/tools/release/extract-changelog-section.mjs",
|
|
"{workspaceRoot}/tools/release/check-release-note-gate.mjs",
|
|
"{workspaceRoot}/tools/release/build-release-notes.mjs",
|
|
"{workspaceRoot}/tools/release/screenshot-guards.mjs",
|
|
"{workspaceRoot}/tools/release/screenshots.manifest.json",
|
|
"{workspaceRoot}/.github/workflows/build-and-make.yaml",
|
|
"{workspaceRoot}/tools/release/release-notes.test.mjs",
|
|
"{workspaceRoot}/tools/release/release-note-gate.test.mjs",
|
|
"{workspaceRoot}/tools/release/build-release-notes.test.mjs",
|
|
"{workspaceRoot}/tools/release/release-announcements.test.mjs",
|
|
"{workspaceRoot}/tools/release/verify-draft-release.test.mjs",
|
|
"{workspaceRoot}/tools/release/highlight-cards.test.mjs",
|
|
"{workspaceRoot}/tools/release/screenshot-guards.test.mjs"
|
|
],
|
|
"options": {
|
|
"command": "node --test tools/release/release-notes.test.mjs tools/release/release-note-gate.test.mjs tools/release/build-release-notes.test.mjs tools/release/release-announcements.test.mjs tools/release/verify-draft-release.test.mjs tools/release/highlight-cards.test.mjs tools/release/screenshot-guards.test.mjs",
|
|
"cwd": "{workspaceRoot}"
|
|
}
|
|
},
|
|
"lint": {
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/eslint.config.mjs",
|
|
"{workspaceRoot}/tools/eslint-rules/**/*",
|
|
"{workspaceRoot}/tools/eslint/**/*"
|
|
],
|
|
"command": "eslint \"tools/release/*.mjs\" \"tools/release/capture-release-screenshots.ts\" \"tools/release/capture-app-driver.ts\" \"tools/release/capture-navigation.ts\" \"tools/release/capture-navigation-helpers.ts\" \"tools/release/capture-navigation-setup-actions.ts\" \"tools/release/capture-navigation-portal-actions.ts\" \"tools/release/capture-navigation-download-actions.ts\" \"tools/release/capture-network-gate.ts\" \"tools/release/capture-tmdb-check.ts\""
|
|
}
|
|
},
|
|
"tags": [
|
|
"scope:tools",
|
|
"domain:release",
|
|
"type:tool"
|
|
]
|
|
}
|