feat: derive component catalog from exact package tags - #597
Open
pontiac358 wants to merge 1 commit into
Open
Conversation
pontiac358
requested review from
dgaponov,
imsitnikov and
stepanenkoxx
as code owners
February 25, 2026 09:23
Collaborator
|
@dgaponov take a look plz |
dgaponov
force-pushed
the
feature/auto-import-component-docs
branch
3 times, most recently
from
August 12, 2026 15:14
d4049b0 to
30acf33
Compare
Co-authored-by: pontiac358 <pontiac358@gmail.com>
dgaponov
force-pushed
the
feature/auto-import-component-docs
branch
from
August 13, 2026 18:03
30acf33 to
1ec7024
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
@gravity-ui/*versions from installed packages instead of npm range strings;src/components/<PascalCase>/README.mdin each matching immutablev<version>GitHub tag;README-ru.mdloading with the existing English fallback;The catalog does not read or depend on
build/docs/INDEX.mdordist/docs/INDEX.md. Nested components, labs, hooks, and legacy lowercase directories remain explicit.Generation fails without overwriting the previous catalog when GitHub rejects a request or returns a missing/truncated tree.
Validation
npm run test— 7 unit/integration/negative testsnpm run typechecknpm run lint— 0 errors (existing repository warnings only)npm run build/components/uikit/avatar-stackand/components/uikit/table-column-setupArchitecture and extension rules are documented in
docs/component-catalog.md.