feat(create-rstack): add default template tooling - #241
Conversation
Deploying rstack-cli with
|
| Latest commit: |
e35263b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9f8d5f12.rstack-cli.pages.dev |
| Branch Preview URL: | https://chenjiahan-feat-create-rstac-ug9q.rstack-cli.pages.dev |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e35263bca0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "build": "rs build", | ||
| "dev": "rs dev --open", | ||
| "preview": "rs preview" | ||
| "dev": "rs dev", |
There was a problem hiding this comment.
Preserve browser opening in generated app dev scripts
When a user starts any newly generated application with the dev script, the page no longer opens automatically because this change removes --open from all four app templates. The CLI documentation explicitly identifies rs dev --open as the command that starts the server and opens the browser (website/docs/en/guide/cli/dev.mdx:17-22), so this is an unrelated user-visible regression from a tooling-only change; retain --open while adding the new scripts.
Useful? React with 👍 / 👎.
Generated create-rstack projects currently omit the standard test, lint, and format workflow.
This adds the corresponding scripts and Rstack configuration to every app and library template, selects the appropriate default Rslint presets for each framework and language variant, and fixes the TypeScript library template's source root.