mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
Extends the release tooling around the .changes notes pipeline: - New optional `highlight:` frontmatter field marks a release's headline changes (max 80 chars, rejected on `type: internal`). - `--format telegram` renders a paste-ready plain-text post guaranteed to fit the 4096-character limit (highlights lead, the rest collapses into a counter); `--format reddit` renders markdown with a suggested title line, a Highlights section, and a collapsed change list. Both are stdout dry runs and must run before `--consume`. - The blog scaffold uses the highlight as a ready section heading instead of a TODO, and highlight notes without screenshots get their own section. - `release:verify:draft` waits for the v* tag build via `gh run watch`, then checks draft status, the authored body, and the complete 27-asset set (verified against a real full matrix build). Read-only; publishing stays manual. - `release:cards:generate` renders branded 1200x630 highlight cards (with a framed mock-server screenshot strip when the note names one, purely typographic otherwise) plus a release hero card into dist/, matching the website palette. Copying into the website tree stays a manual act. Docs: .changes/README.md, release-notes and release-cut skills (both copies byte-identical). No release note: release tooling only, no runtime behavior change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
52 lines
2.7 KiB
JSON
52 lines
2.7 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-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-network-gate.ts\" \"tools/release/capture-tmdb-check.ts\""
|
|
}
|
|
},
|
|
"tags": [
|
|
"scope:tools",
|
|
"domain:release",
|
|
"type:tool"
|
|
]
|
|
}
|