@ghini/xstart 26.1.6191807 → 26.1.6192153
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
**PowerShell (Windows)**
|
|
8
8
|
|
|
9
9
|
```powershell
|
|
10
|
-
$lib = "
|
|
10
|
+
$lib = "xstart"
|
|
11
11
|
git clone -b xstart git@github.com:xghini/mynpm.git $lib && cd $lib
|
|
12
12
|
(Get-Content package.json) -replace 'xstart', $lib | Set-Content package.json
|
|
13
13
|
(Get-Content README.md) -replace 'xstart', $lib | Set-Content README.md
|
|
14
14
|
Remove-Item -Recurse -Force .git
|
|
15
|
-
git init && git add . && git commit -m "init
|
|
15
|
+
git init && git add . && git commit -m "init $lib"
|
|
16
16
|
git branch -M $lib && git remote add origin git@github.com:xghini/mynpm.git
|
|
17
17
|
git push -u origin $lib && pnpm i && pnpm pub
|
|
18
18
|
```
|
|
@@ -20,7 +20,7 @@ git push -u origin $lib && pnpm i && pnpm pub
|
|
|
20
20
|
**Bash (Linux/macOS)**
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
lib="
|
|
23
|
+
lib="xstart"
|
|
24
24
|
git clone -b xstart git@github.com:xghini/mynpm.git $lib && cd $lib
|
|
25
25
|
sed -i "s/xstart/$lib/g" package.json README.md
|
|
26
26
|
rm -rf .git
|