feat(create-rsbuild): allow to omit --dir flag#6502
Merged
chenjiahan merged 1 commit intomainfrom Nov 5, 2025
Merged
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
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-rstackdependency 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.
This was referenced Nov 5, 2025
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Related Links
Checklist