Skip to content

fix(smartui): install SmartUI CLI 4.1.77 by default (TE-22391) - #16

Open
chaitanyas-maker wants to merge 1 commit into
LambdaTest:mainfrom
chaitanyas-maker:fix/te-22391-smartui-cli-latest
Open

fix(smartui): install SmartUI CLI 4.1.77 by default (TE-22391)#16
chaitanyas-maker wants to merge 1 commit into
LambdaTest:mainfrom
chaitanyas-maker:fix/te-22391-smartui-cli-latest

Conversation

@chaitanyas-maker

@chaitanyas-maker chaitanyas-maker commented Jul 29, 2026

Copy link
Copy Markdown

Summary

Part of TE-22391.

Users following this sample could end up on an outdated SmartUI CLI, which is a known cause of visual rendering issues and a recurring source of support tickets.

What was wrong

Running npm install in this repository resolved @lambdatest/smartui-cli to 2.0.3, not the current 4.1.77, because package.json already said latest, but the committed package-lock.json pinned 2.0.3 and won.

Note that this is not visible from the README. The README install command was already correct; the stale version came from the dependency manifest.

Changes

  • package.json: pin @lambdatest/smartui-cli to ^4.1.77
  • package-lock.json: regenerated so npm ci stays consistent with the manifest. The only direct dependency that moves is @lambdatest/smartui-cli; the rest of the diff is transitive resolution.

Verification

npm install --dry-run, before and after this change:

before:  add @lambdatest/smartui-cli 2.0.3
after:   add @lambdatest/smartui-cli 4.1.77

A note on @latest

Adding @latest to a bare npm install <package> does not change what gets installed: npm already resolves an unversioned package name to the latest dist-tag. It is included here for explicitness, but on its own it does not fix the stale-CLI problem. The dependency manifest is what actually determines the installed version.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H5pDePdJgs3Ms7qpjKc4kU

Pin @lambdatest/smartui-cli to ^4.1.77 and tag install commands @latest
so samples no longer bootstrap an outdated CLI.

Refs TE-22391

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H5pDePdJgs3Ms7qpjKc4kU
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.

1 participant