From 11e3314581bf8e924c629cae94f6926246c5d123 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Aug 2026 21:50:53 +0000 Subject: [PATCH] docs(plugin-tree): add the `## License` section the other 36 published READMEs carry (#3664) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `packages/plugin-tree/README.md` was the only one of the 38 published packages that had a README but no `## License` section. Census over origin/main: - 38 published (non-private) packages - 37 have a README (`sdui-parser` has none — out of scope, see #3647) - 36 of those 37 carry `## License`; plugin-tree was the sole omission The section is copied verbatim from the dominant form, 32 of the 36: ## License MIT — see [LICENSE](./LICENSE). The four minority spellings are `MIT` (types, react-runtime) and `MIT © ObjectStack Inc.` (plugin-timeline, plugin-chatbot). The issue suggested plugin-timeline as the exemplar, but that form is 1-of-36 and carries no `./LICENSE` link at all — the majority form is both the convention and the one that gives the link gate something to check. Position matches too: final section, as in 34 of the 36 (plugin-view and types continue past it). This also closes the gap #3664 identified: `check-doc-links.mjs` scan root 7 (`packages/*/README.md`, `disk` rule) resolves relative hrefs as repository paths, so the new `./LICENSE` link is now mechanically checked against the file PR #3662 landed. Previously the README linked nothing, which is exactly why the #3622/#3649 dead-link sweep could not detect the missing LICENSE — no link, no dead link. Verified the new link is load-bearing rather than vacuously green: temporarily removing `packages/plugin-tree/LICENSE` turns the gate red with `packages/plugin-tree/README.md:50 -> ./LICENSE` (exit 1); restoring it returns `Links are valid across 7 scan roots` (exit 0). No changeset: documentation-only, matching the precedent of PR #3662 (which added this same package's LICENSE, likewise shipped in the tarball) and PR #3688 (36 package READMEs), neither of which carried one. Fixes #3664 Claude-Session: https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt Co-authored-by: Claude --- packages/plugin-tree/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/plugin-tree/README.md b/packages/plugin-tree/README.md index cb94a47c67..f734448874 100644 --- a/packages/plugin-tree/README.md +++ b/packages/plugin-tree/README.md @@ -44,3 +44,7 @@ It registers two component types via the `ComponentRegistry`: Records whose parent is missing (or points outside the result set) are kept as roots, so nothing is silently dropped. + +## License + +MIT — see [LICENSE](./LICENSE).