docs(smartui): use @latest for SmartUI CLI install commands (TE-22391) - #3313
docs(smartui): use @latest for SmartUI CLI install commands (TE-22391)#3313chaitanyas-maker wants to merge 1 commit into
Conversation
Tag all SmartUI CLI install commands with @latest and replace the stale 4.1.54-beta.0 pins in the HyperExecute SmartUI Capture onboarding page with @latest. The capture command ships in stable 4.1.77, so the prerelease pin is no longer required. Refs TE-22391 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H5pDePdJgs3Ms7qpjKc4kU
Review: clean — approve40 files, 77 lines, all inside The one substantive change is verified safe
The page uses Coverage is completeGrepped the head ref for No stale prose left behind: no remaining npm syntax is correct in the multi-package cases ( Non-blocking notes1. The real (pre-existing, separate) issue is that 2. PR description counts are slightly off. The body says "70 occurrences, 39 files" for item 1, but the diff shows 33 files for that portion. Cosmetic — the diff itself is right. 3. Merge expectations. |
|
Thanks for the review. Actioned all three notes. 1.
|
| files | occurrences | |
|---|---|---|
docs/smartui-* |
33 | |
docs/hyperexecute-* |
7 | |
| Total | 40 | 77 |
Item 2 (the beta pin) is 1 of those hyperexecute-* files with 7 occurrences, so item 1 is the other 39 files with 70 occurrences. That reconciles to the 40 files / 77 lines in the diff header. Same numbers from gh pr view 3313 --json files.
Since the split isn't obvious from the filenames, I've reworded that heading in the description to show the breakdown rather than leaving a bare "39 files".
3. @latest being a no-op
Agreed, and no change needed — this is the same point the description makes under "Important caveat on impact". Only the beta-pin removal changes what a user actually gets; the reported "users on old CLI" issue is the sample-repo manifests and lockfiles, covered by the companion PRs under TE-22391.
Summary
Part of TE-22391.
Tags every SmartUI CLI install command in the docs with
@latest, and removes a stale prerelease pin that was handing users a CLI 23 minor versions behind.Changes
1.
@lateston all install commands (70 occurrences, 39 files: 33docs/smartui-*+ 6docs/hyperexecute-*)Includes
smartui-selenium-java-sdk.md:110, the page named on the ticket. After this change all 86 install commands across the docs readnpm install [-g] @lambdatest/smartui-cli@latest.2. Removed the
4.1.54-beta.0pin (7 occurrences, 1 file: the 7thdocs/hyperexecute-*file)hyperexecute-smart-ui-capture-onboarding.mdinstructed users to install@lambdatest/smartui-cli@4.1.54-beta.0and presented it as the recommended install. Current stable is 4.1.77, so every reader of that page was pinned to an old prerelease.I verified the pin is no longer needed before removing it.
captureis a registered command in the stable 4.1.77 package:Scope note
The diff is 77 changed lines across 40 files, and every changed line is an install command inside a fenced code block. No prose, links, frontmatter, or sidebar entries were touched.
Important caveat on impact
@latesthere is a documentation improvement, not a functional fix.npm install <package>with no version specifier already resolves to thelatestdist-tag, so item 1 above installs exactly what it installed before:Item 2, the beta pin, is a real fix.
The actual cause of users landing on an outdated CLI is the dependency manifests in the sample repositories, where caret ranges capped below major 4 and stale committed lockfiles were resolving to CLI 2.x and 3.x. That is addressed in 19 companion PRs across the sample repos, also under TE-22391.
🤖 Generated with Claude Code
https://claude.ai/code/session_01H5pDePdJgs3Ms7qpjKc4kU