Repository navigation
app init: take the app name from the login too, ask nothing - #12
Merged
Merged
Conversation
The command still prompted for an app name, and whatever was typed became appName in reactiv.conf.js and the shell's display name while the folder and package were already named after the merchant slug from the login. The slug now fills the app name as well, --name is gone, and the command asks nothing. The no-TTY test now runs against an empty HOME so it exercises the not-logged-in path instead of the removed prompt. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Updating a pull request branch from main in the GitHub UI produces a merge commit authored under the maintainer's GitHub account address and committed by GitHub's no-reply identity. The commit-message scan now knows both. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
reactiv app initasks nothing now. It still prompted for an app name (or took--name), and whatever was typed becameappNameinreactiv.conf.jsand the display name of the runnable shell, while the folder and the package were already named after the merchant slug from the login. The slug now fills the app name as well, so a project carries one identity: merchant slug and app UUID, both from the login. The--nameflag is gone.Docs updated to match (README, package README,
docs/commands.md,docs/getting-started.md). Changeset: minor bump of@reactivapp/cli.How it was tested
pnpm build,pnpm lint,pnpm typecheck,pnpm test(cli 477/477, cli-ui 2/2).pnpm scan:internal,pnpm pack:inspect,pnpm changeset:check --since origin/main.--nameand assertappName: 'acme'inreactiv.conf.jsnext to the package name and the app UUID; the shadowing cases now vary the merchant slug directly.REACTIV_API_KEYremoved, so it proves the command fails with the login hint instead of waiting for input.Checklist
pnpm lint,pnpm typecheckandpnpm testpass locallypnpm changeset), or this change does not affect the published packagespnpm scan:internalpasses)🤖 Generated with Claude Code
Summary by CodeRabbit
reactiv app inituses your authenticated merchant slug to name the project folder, package, and app shell, without prompting for an app name.