Skip to content

Conversation

@fi3ework
Copy link
Member

Summary

fix #426.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings November 11, 2025 06:29
@netlify
Copy link

netlify bot commented Nov 11, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 83ba847
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/6912d7b3a844ae0008c28eb0
😎 Deploy Preview https://deploy-preview-1328--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot finished reviewing on behalf of fi3ework November 11, 2025 06:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for repeatable --tools flags in the create-rslib CLI, allowing users to specify multiple tools by repeating the flag (e.g., --tools storybook --tools biome). This fixes issue #426.

Key changes:

  • Updated create-rstack dependency from 1.7.4 to 1.7.6 to support repeatable flag handling
  • Refactored test suite to use structured TemplateCase objects instead of string-based template names
  • Updated documentation examples to demonstrate the new repeatable --tools flag syntax

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/create-rslib/package.json Updated create-rstack dependency to 1.7.6
pnpm-lock.yaml Updated lockfile to reflect new create-rstack version
packages/create-rslib/src/index.ts Modified template name parsing to handle tools from argv and compose template names
packages/create-rslib/test/index.test.ts Refactored test cases to use TemplateCase interface with structured data
packages/create-rslib/test/helper.ts Updated test helper to accept TemplateCase objects and build commands with repeatable --tools flags
website/docs/en/guide/start/quick-start.mdx Updated documentation to show repeatable --tools flag usage with concrete example
website/docs/zh/guide/start/quick-start.mdx Updated Chinese documentation to show repeatable --tools flag usage with concrete example
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fi3ework fi3ework enabled auto-merge (squash) November 11, 2025 12:15
@fi3ework fi3ework merged commit 95ae7d7 into main Nov 11, 2025
23 checks passed
@fi3ework fi3ework deleted the tools branch November 11, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: npx create-rslib --template is broken

3 participants