@ghini/xstart 25.12.10043118 → 25.12.29102817
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 +12 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,8 +19,15 @@ npm run pub # 构建 + 发布到 npm + 提交 git
|
|
|
19
19
|
- `strict: true` - 全部严格类型检查
|
|
20
20
|
- `declaration: true` - 自动生成类型声明
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
如果需要pnpm迁移:
|
|
23
|
+
```ps1
|
|
24
|
+
pnpm import
|
|
25
|
+
Remove-Item -Recurse -Force node_modules
|
|
26
|
+
Remove-Item package-lock.json
|
|
27
|
+
pnpm install
|
|
28
|
+
```
|
|
23
29
|
|
|
30
|
+
## 📦 创建新库
|
|
24
31
|
全文件替换 `xstart` 为新库名:
|
|
25
32
|
```bash
|
|
26
33
|
Remove-Item -Recurse -Force .git
|
|
@@ -30,5 +37,7 @@ git commit -m "Initial commit"
|
|
|
30
37
|
git branch -M xstart
|
|
31
38
|
git remote add origin git@github.com:xghini/mynpm.git
|
|
32
39
|
git push -u origin xstart
|
|
33
|
-
|
|
34
|
-
```
|
|
40
|
+
pnpm pub
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
|