Skip to content

Add @latest to all npx @openuidev/cli commands#373

Draft
zahlekhan wants to merge 1 commit intomainfrom
cursor/openui-command-latest-cddf
Draft

Add @latest to all npx @openuidev/cli commands#373
zahlekhan wants to merge 1 commit intomainfrom
cursor/openui-command-latest-cddf

Conversation

@zahlekhan
Copy link
Copy Markdown
Contributor

What

Fixed the issue where running npx @openuidev/cli without the @latest tag fails with "openui: command not found". This ensures users can successfully run CLI commands as documented.

Changes

  • Updated CLI README.md to include @latest in all install examples and generate commands
  • Updated all documentation files (system-prompts.mdx, standard-library.mdx, genui.mdx, from-scratch.mdx, nextjs.mdx, react-ui.mdx) to use @latest
  • Updated package.json scripts in examples to use @latest
  • Updated OpenUiGeneratesSchema.tsx visual component to show @latest in command example

Test Plan

  • Not applicable (documentation fix only)

Users can verify by running:

npx @openuidev/cli@latest --help

Checklist

  • I linked a related issue, if applicable (Slack thread)
  • I updated docs/README when needed
  • I considered backwards compatibility (additive change only)

Slack Thread

Open in Web Open in Cursor 

- Update CLI README with @latest for install and generate examples
- Update all documentation files to include @latest in CLI commands
- Update package.json scripts to use @latest
- Update OpenUiGeneratesSchema.tsx with @latest

Fixes issue where npx @openuidev/cli fails without @latest tag

Co-authored-by: Zahle Khan <zahle@thesys.dev>
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.

2 participants