Skip to content

feat(create-rstack): add default template tooling - #241

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-create-rstack-template-tools
Aug 8, 2026
Merged

feat(create-rstack): add default template tooling#241
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-create-rstack-template-tools

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

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.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

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

View logs

@chenjiahan
chenjiahan merged commit 330e027 into main Aug 8, 2026
4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@chenjiahan
chenjiahan deleted the chenjiahan/feat-create-rstack-template-tools branch August 8, 2026 00:35
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