@particle-network/ui-shared 0.0.7 → 0.1.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.
- package/README.md +5 -5
- package/package.json +10 -9
package/README.md
CHANGED
|
@@ -168,10 +168,10 @@ export function cn(...classes: (string | undefined | null | false)[]): string;
|
|
|
168
168
|
|
|
169
169
|
```bash
|
|
170
170
|
# 构建包
|
|
171
|
-
|
|
171
|
+
pnpm build
|
|
172
172
|
|
|
173
173
|
# 开发模式(监听文件变化)
|
|
174
|
-
|
|
174
|
+
pnpm dev
|
|
175
175
|
```
|
|
176
176
|
|
|
177
177
|
### 项目结构
|
|
@@ -223,13 +223,13 @@ const customTheme = createTheme({
|
|
|
223
223
|
|
|
224
224
|
```bash
|
|
225
225
|
# 创建变更记录
|
|
226
|
-
|
|
226
|
+
pnpm changeset
|
|
227
227
|
|
|
228
228
|
# 更新版本
|
|
229
|
-
|
|
229
|
+
pnpm changeset:version
|
|
230
230
|
|
|
231
231
|
# 发布(通过 CI/CD)
|
|
232
|
-
|
|
232
|
+
pnpm changeset:release
|
|
233
233
|
```
|
|
234
234
|
|
|
235
235
|
## 🤝 贡献
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-network/ui-shared",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"react-native": "./dist/index.js",
|
|
@@ -19,6 +19,14 @@
|
|
|
19
19
|
"files": [
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@rsbuild/plugin-react": "^1.3.5",
|
|
24
|
+
"@rslib/core": "^0.12.3",
|
|
25
|
+
"@types/react": "^19.1.10",
|
|
26
|
+
"react": "^19.1.0",
|
|
27
|
+
"typescript": "^5.8.3",
|
|
28
|
+
"@particle-network/eslint-config": "0.1.0"
|
|
29
|
+
},
|
|
22
30
|
"scripts": {
|
|
23
31
|
"build": "rslib build",
|
|
24
32
|
"dev": "rslib build --watch",
|
|
@@ -26,12 +34,5 @@
|
|
|
26
34
|
"lint": "eslint . --no-error-on-unmatched-pattern --quiet",
|
|
27
35
|
"lint:fix": "eslint . --fix --no-error-on-unmatched-pattern --quiet",
|
|
28
36
|
"clean": "rm -rf .turbo node_modules dist"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@rsbuild/plugin-react": "^1.3.5",
|
|
32
|
-
"@rslib/core": "^0.12.3",
|
|
33
|
-
"@types/react": "^19.0.0",
|
|
34
|
-
"react": "^19.0.0",
|
|
35
|
-
"typescript": "^5.8.3"
|
|
36
37
|
}
|
|
37
|
-
}
|
|
38
|
+
}
|