mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-10-31 02:01:51 +08:00
java headers are generated and enforced by spotless licenseHeader from the root copyright file; the typescript surfaces had no such control - dc3-cli carried zero headers across 32 files and dc3-web was missing one hand-written file: - add scripts/add-license-header.mjs (shared by both packages) that reads the same root copyright and emits block comments for ts and html-comment headers for vue, with a --check mode for ci - wire headers / headers:check npm scripts; unplugin-generated ambient d.ts files are exempt (the generator owns their file head) - backfill all 32 dc3-cli sources and operation.ts / type.d.ts verified: headers:check green on both packages, cli 67/67 tests + build + lint, web 687/687 tests + lint + format