Skip to content

feat(cli): once-ui create --locales - #544

Merged
lorant-one merged 1 commit into
previewfrom
feat/cli-create-locales
Nov 18, 2026
Merged

lorant-one merged 1 commit into
previewfrom
feat/cli-create-locales

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Requested by Lorant · project thread

once-ui create --locales en,hu sets the app's languages, default first, and sends them to /api/stack/scaffold as locales. Two or more add language URLs and a switcher. This pairs with the composer on once-ui.com (studio PR feat/stack-composer-languages), whose copied command now includes --locales. Without this flag, the CLI would reject that command as an unknown option.

The CLI is only touched under the unreleased section, next to --targets. Help, README and CHANGELOG are updated. There's one new test in test/commands.test.ts. pnpm typecheck passes, and pnpm test passes 44 of 44.


Generated by Claude Code

Sets the app's languages, default first, and passes them to the scaffold
API. Two or more add language URLs and a switcher. Matches the composer
on once-ui.com, whose copied command now carries --locales.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyVBjnSeoHVBBf8op6
@lorant-one lorant-one self-assigned this Nov 17, 2026
@lorant-one
lorant-one merged commit 63c067f into preview Nov 18, 2026
7 checks passed
lorant-one pushed a commit that referenced this pull request Nov 19, 2026
…ate --locales (#544)

Both reached preview after #554 merged main into 3.0, so main's switch to 3.0
would otherwise leave them behind on preview.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
@lorant-one
lorant-one deleted the feat/cli-create-locales branch November 21, 2026 11:17
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