create-rsbuild 1.0.1-rc.0 → 1.0.1-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,9 +2,24 @@
2
2
  <a href="https://rsbuild.dev" target="blank"><img src="https://github.com/web-infra-dev/rsbuild/assets/7237365/84abc13e-b620-468f-a90b-dbf28e7e9427" alt="Rsbuild Logo" /></a>
3
3
  </p>
4
4
 
5
- # Rsbuild
5
+ # create-rsbuild
6
6
 
7
- The Rspack-based build tool. It's fast, out-of-the-box and extensible.
7
+ Create a new Rsbuild project.
8
+
9
+ Using `npm create`:
10
+
11
+ ```bash
12
+ npm create rsbuild@latest
13
+ ```
14
+
15
+ Using CLI flags:
16
+
17
+ ```bash
18
+ npx create-rsbuild --dir my-project --template react
19
+
20
+ # Using abbreviations
21
+ npx create-rsbuild -d my-project -t react
22
+ ```
8
23
 
9
24
  ## Documentation
10
25
 
package/bin.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import './dist/index.js';