Skip to content

Commit

Permalink
docs ~ (README) revise package locks update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Aug 9, 2022
1 parent b28cae5 commit fc55f1f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ git add dist
git commit --amend --no-edit
# tag VERSION commit
git tag -f "v${VERSION}"
# (optional) save dependency locks
@rem ::# (optional) update/save dependency locks
npm install --package-lock
rm yarn.lock && yarn import
mkdir .deps-lock 2> /dev/null
cp package-lock.json .deps-lock/
cp yarn.lock .deps-lock/
Expand All @@ -314,10 +316,12 @@ git add dist
git commit --amend --no-edit
@rem ::# tag VERSION commit
git tag -f "v%VERSION%"
@rem ::# (optional) save dependency locks
@rem ::# (optional) update/save dependency locks
npm install --package-lock
del yarn.lock && yarn import
mkdir .deps-lock 2>NUL
copy package-lock.json .deps-lock/
copy yarn.lock .deps-lock/
copy /y package-lock.json .deps-lock
copy /y yarn.lock .deps-lock
@rem ::# (optional) prerelease checkup
npm run prerelease
```
Expand Down

0 comments on commit fc55f1f

Please sign in to comment.