Skip to content

feat(create-rsbuild): allow to omit --dir flag#6502

Merged
chenjiahan merged 1 commit intomainfrom
create_rsbuild_flag_1105
Nov 5, 2025
Merged

feat(create-rsbuild): allow to omit --dir flag#6502
chenjiahan merged 1 commit intomainfrom
create_rsbuild_flag_1105

Conversation

@chenjiahan
Copy link
Member

Summary

  • Update create-rstack dependency from 1.7.1 to 1.7.3
  • Remove redundant -d flag in create-rsbuild command
  • Improve CLI documentation for non-interactive mode

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings November 5, 2025 03:54
@netlify
Copy link

netlify bot commented Nov 5, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit faca0e2
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/690aca75a9716400081acc52
😎 Deploy Preview https://deploy-preview-6502--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 70 (🟢 up 13 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

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 updates the create-rsbuild package to version 1.7.3 of the create-rstack dependency, which introduces a new CLI API that supports passing the directory as a positional argument instead of requiring the -d flag. The documentation has been updated to reflect this change.

  • Updated create-rstack dependency from version 1.7.1 to 1.7.3
  • Updated documentation (English and Chinese) to show the new CLI usage pattern with directory as a positional argument
  • Updated test commands to use the new CLI format

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/create-rsbuild/package.json Updated create-rstack dependency to version 1.7.3
pnpm-lock.yaml Updated lockfile to reflect the new create-rstack version
website/docs/en/guide/start/quick-start.mdx Updated English documentation with new CLI usage examples and improved description of non-interactive mode
website/docs/zh/guide/start/quick-start.mdx Updated Chinese documentation with new CLI usage examples and improved description of non-interactive mode
e2e/cases/create-rsbuild/helper.ts Updated test helper to use the new positional argument syntax
e2e/cases/create-rsbuild/tsTemplates.test.ts Added blank line for formatting consistency
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@chenjiahan chenjiahan merged commit 87f3950 into main Nov 5, 2025
18 checks passed
@chenjiahan chenjiahan deleted the create_rsbuild_flag_1105 branch November 5, 2025 04:02
@chenjiahan chenjiahan changed the title feat(create-rsbuild): allow to emit --dir flag feat(create-rsbuild): allow to omit --dir flag Nov 5, 2025
This was referenced Nov 5, 2025
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.

1 participant