create-rstack 1.0.0-beta.0 → 1.0.0

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.
Files changed (2) hide show
  1. package/README.md +8 -35
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,47 +1,20 @@
1
- # rsbuild-plugin-example
1
+ # create-rstack
2
2
 
3
- rsbuild-plugin-example is a Rsbuild plugin to do something.
3
+ A shared package for create-rspack, create-rsbuild, create-rspress and create-rslib.
4
+
5
+ > This package should only be used in Rstack projects.
4
6
 
5
7
  <p>
6
- <a href="https://npmjs.com/package/rsbuild-plugin-example">
7
- <img src="https://img.shields.io/npm/v/rsbuild-plugin-example?style=flat-square&colorA=564341&colorB=EDED91" alt="npm version" />
8
+ <a href="https://npmjs.com/package/create-rstack">
9
+ <img src="https://img.shields.io/npm/v/create-rstack?style=flat-square&colorA=564341&colorB=EDED91" alt="npm version" />
8
10
  </a>
9
11
  <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="license" />
10
12
  </p>
11
13
 
12
- ## Usage
13
-
14
- Install:
14
+ ## Install
15
15
 
16
16
  ```bash
17
- npm add rsbuild-plugin-example -D
18
- ```
19
-
20
- Add plugin to your `rsbuild.config.ts`:
21
-
22
- ```ts
23
- // rsbuild.config.ts
24
- import { pluginExample } from "rsbuild-plugin-example";
25
-
26
- export default {
27
- plugins: [pluginExample()],
28
- };
29
- ```
30
-
31
- ## Options
32
-
33
- ### foo
34
-
35
- Some description.
36
-
37
- - Type: `string`
38
- - Default: `undefined`
39
- - Example:
40
-
41
- ```js
42
- pluginExample({
43
- foo: "bar",
44
- });
17
+ npm add create-rstack -D
45
18
  ```
46
19
 
47
20
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rstack",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0",
4
4
  "description": "Create a new Rstack project",
5
5
  "repository": {
6
6
  "type": "git",