Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 625cbdd

Browse files
committed
docs(CONTRIBUTING): remove package-lock.json note
The file is automatically removed by the `npm version` script now.
1 parent 34fc124 commit 625cbdd

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

Diff for: CONTRIBUTING.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -153,33 +153,28 @@ Thank you for your contribution!
153153
npm install
154154
```
155155
156-
2. Remove the `package-lock.json` file if it was generated.
157-
```bash
158-
rm package-lock.json
159-
```
160-
161-
3. Add the following to your `.npmrc`.
156+
2. Add the following to your `.npmrc`.
162157
```
163158
tag-version-prefix=""
164159
message="release: cut the %s release"
165160
```
166161
167-
4. Create new branch for the release:
162+
3. Create new branch for the release:
168163
```
169164
git checkout -b username/release-version
170165
```
171166
172-
5. Run `npm version` to bump the version in the `package.json`, tag the release and update the CHANGELOG.md:
167+
4. Run `npm version` to bump the version in the `package.json`, tag the release and update the CHANGELOG.md:
173168
```
174169
npm version [patch|minor|major]
175170
```
176171
177-
6. Push all changes to your branch and create a PR.
172+
5. Push all changes to your branch and create a PR.
178173
```bash
179174
git push --set-upstream origin username/release-version --tags
180175
```
181176
182-
7. Publish the package to npm after the PR is merged.
177+
6. Publish the package to npm after the PR is merged.
183178
```bash
184179
npm publish
185180
```

0 commit comments

Comments
 (0)