Skip to content

docs: use correct package name @openuidev/react-ui in Storybook import snippets#593

Merged
ankit-thesys merged 1 commit into
thesysdev:mainfrom
ankit-thesys:fix/storybook-import-package-name
Jun 2, 2026
Merged

docs: use correct package name @openuidev/react-ui in Storybook import snippets#593
ankit-thesys merged 1 commit into
thesysdev:mainfrom
ankit-thesys:fix/storybook-import-package-name

Conversation

@ankit-thesys
Copy link
Copy Markdown
Contributor

What

Fixes the package name shown in Storybook docs "import" snippets across @openuidev/react-ui. 42 story files referenced @openui-ui/react-ui — a package that does not exist on npm — instead of the real name @openuidev/react-ui (per packages/react-ui/package.json).

Closes #592.

Why

The wrong name lives in each story's parameters.docs.description.component code block — the import snippet shown on the component's autodocs page. It's documentation-only: the stories' real imports use relative paths, so nothing changes at build or runtime. But anyone copying the import line from Storybook gets a non-resolvable package.

Change

  • Replaced @openui-ui/react-ui@openuidev/react-ui in 42 *.stories.tsx files under packages/react-ui/src.
  • Mechanical string-only change (1 line per file); no code, props, or formatting touched.
  • Scope is entirely within packages/react-ui — there were zero occurrences of @openui-ui anywhere else in the repo.

Verification

# 0 remaining occurrences in source
grep -rn "@openui-ui" packages/react-ui/src        # → none

pnpm --filter @openuidev/react-ui format:check     # All matched files use Prettier code style
pnpm --filter @openuidev/react-ui lint:check       # 0 errors

🤖 Generated with Claude Code

The docs.description.component import snippets in 42 react-ui story
files referenced @openui-ui/react-ui, which is not a published package.
Replace with the correct name @openuidev/react-ui.

Documentation-only change scoped to packages/react-ui; story code uses
relative imports, so there is no runtime or build behavior change.

Closes thesysdev#592

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ankit-thesys ankit-thesys requested a review from i-subham23 June 2, 2026 13:00
@ankit-thesys ankit-thesys merged commit 8a7b491 into thesysdev:main Jun 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: fix incorrect package name @openui-ui/react-ui@openuidev/react-ui in Storybook import snippets

2 participants