Repository navigation
Add yarn xds shortcut and fix no-args exit code - #456
Merged
Merged
Conversation
Commander exits with code 1 when no subcommand is given, which causes yarn to print error noise. Add a default action that shows help cleanly. Also add a root-level yarn xds script.
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
josephfarina
marked this pull request as ready for review
March 5, 2026 19:33
cixzhang
pushed a commit
that referenced
this pull request
Apr 26, 2026
cixzhang
pushed a commit
that referenced
this pull request
Jun 21, 2026
cixzhang
pushed a commit
that referenced
this pull request
Jun 21, 2026
cixzhang
added a commit
that referenced
this pull request
Nov 9, 2026
…9969) * docs(useLinkify): add hook docs and a comment-thread example block A HookDoc next to the hook source (usage, text and options params covering patterns/hasBuiltins, the ReactNode[] return, best practices), so astryx hook useLinkify and astryx search return it, and a template block naming useLinkify in exampleFor: the issue's scenario, a short comment thread in plain text where the URL and the email address become Links and a custom issue-reference pattern turns #123/#456 into tracker links, while a comment without matches stays plain. Removing the hook call removes every link, per INV28. A jsdom test asserts the four hrefs (url, mailto, two issue links) and that the plain note renders no anchor. Closes #9560 * Merge remote-tracking branch 'origin/main' into l3-9969 * docs(useLinkify): register the routes, fix the changeset, correct the global-flag and overlap wording Adds the hook doc and example to the ShadCN route lock and the sandbox export routes, gives the changeset its frontmatter and contributor credit, says a non-global pattern never finishes rendering when the text matches, and says the earliest match wins with custom patterns winning only at the same start. Drops a test assertion that could never fail. * test(cli): useLinkify now opens its own hook doc The recorded resolution for useLinkify moves from Link.doc.mjs to the new useLinkify.doc.mjs, as other hook-doc additions have done. Co-authored-by: Cindy Zhang <[email protected]>
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.
Summary
yarn xdsscript to rootpackage.jsonso the CLI can be invoked from the repo root without global installationTest plan
yarn xds— shows help, no error outputyarn xds component Button --brief— works correctlynpx vitest run packages/cli)