Skip to content

feat(create-rstack): add staged file checks to templates - #264

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-create-rstack-staged-setup
Aug 9, 2026
Merged

feat(create-rstack): add staged file checks to templates#264
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-create-rstack-staged-setup

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR gives generated projects a ready-to-use pre-commit workflow so staged files are linted and formatted consistently.

Every create-rstack template now configures define.staged, runs rs setup from prepare, and receives a shared pre-commit hook that invokes rs staged. Vue and Svelte templates include their component extensions in formatting tasks.

Related Links

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4abf700
Status: ✅  Deploy successful!
Preview URL: https://58cebe00.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-create-rstac-lov4.rstack-cli.pages.dev

View logs

@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: 4abf700b68

ℹ️ 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".

Comment thread packages/create-rstack/template-app-vanilla-ts/package.json
Comment thread packages/create-rstack/template-common/.rstack/hooks/pre-commit
@chenjiahan
chenjiahan merged commit 25379ec into main Aug 9, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-create-rstack-staged-setup branch August 9, 2026 08:06
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