Ship third-party license texts in plugin ZIPs (#345) #346
No reviewers
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#346
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "345-plugin-zip-license-texts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the pre-publication license-audit finding: the drawio, excalidraw, and mermaid plugin ZIPs redistribute third-party material without the required license texts.
licenses/THIRD-PARTY-NOTICES.txtin every affected ZIP, generated from the esbuild metafile (new shared helperpackages/plugins/third-party-licenses.mjs) — derived from what actually lands inplugin.js, so it cannot drift. It already caughtzodin the drawio controller bundle.LICENSEextracted from the pinned tarball into the ZIP (Apache-2.0 §4(a)); guard heals pre-#345 vendor caches; CI fast path unchanged.licenses/(Excalidraw MIT, per-font OFL-1.1/MIT with each font’s own copyright line, attribution table inFONT-NOTICES.md) — upstream ships none.Verified locally: all three ZIPs build and contain the
licenses/entries (drawio 2690 files / 27.3 MiB, excalidraw 305 files / 15.6 MiB);pnpm lintandpnpm typecheckgreen. Offline-build (M28) unaffected: notices generation reads only node_modules.Closes #345