@ghini/xstart 26.1.6201919 → 26.1.6203644

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 +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,25 +8,25 @@
8
8
 
9
9
  ```powershell
10
10
  $lib = "xstart"
11
- git clone -b $lib git@github.com:xghini/mynpm.git $lib && cd $lib
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 app/0.ts) -replace 'xstart', $lib | Set-Content app/0.ts
14
14
  Remove-Item -Recurse -Force .git
15
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
- git push -u origin $lib && pnpm i && pnpm pub
17
+ git push -u origin $lib -f && pnpm i && pnpm pub
18
18
  ```
19
19
 
20
20
  **Bash (Linux/macOS)**
21
21
 
22
22
  ```bash
23
23
  lib="xstart"
24
- git clone -b $lib git@github.com:xghini/mynpm.git $lib && cd $lib
24
+ git clone -b xstart git@github.com:xghini/mynpm.git $lib && cd $lib
25
25
  perl -i -pe "s/xstart/$lib/g" package.json app/0.ts
26
26
  rm -rf .git
27
27
  git init && git add . && git commit -m "init $lib"
28
28
  git branch -M $lib && git remote add origin git@github.com:xghini/mynpm.git
29
- git push -u origin $lib && pnpm i && pnpm pub
29
+ git push -u origin $lib -f && pnpm i && pnpm pub
30
30
  ```
31
31
 
32
32
  ## 🚀 开发命令
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghini/xstart",
3
- "version": "26.1.6201919",
3
+ "version": "26.1.6203644",
4
4
  "type": "module",
5
5
  "author": "Ghini",
6
6
  "license": "MIT",