Skip to content

Commit af8be42

Browse files
committed
edit CONTRIBUTING.md
1 parent 2d00d45 commit af8be42

File tree

2 files changed

+9
-538
lines changed

2 files changed

+9
-538
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Sometimes, you will want to test out changes before publishing them widely. In t
2323
1. Release `flip-toolkit`:
2424
- increment version number
2525
- run yarn build
26+
- commit with message formatted like: `git commit -m 'flip-toolkit@7.4.0'`
2627
- run npm publish
2728

2829
Then, wait a bit (30mins+) and ensure the correct version shows up on:
@@ -32,7 +33,14 @@ Sometimes, you will want to test out changes before publishing them widely. In t
3233
- bundle-phobia: https://bundlephobia.com/package/flip-toolkit
3334
- type declarations: https://arethetypeswrong.github.io/?p=flip-toolkit
3435
- and is working on this codesandbox which fetches the latest version of flip-toolkit: https://codesandbox.io/s/5v1k1nwz8l. Also check that type completions work in the sandbox.
35-
2. Once everything looks good, release `react-flip-toolkit` after upgrading package.json to the new version of `flip-toolkit` (`yarn upgrade flip-toolkit@^1.0.0`).
36+
37+
2. Once everything looks good, release `react-flip-toolkit`:
38+
- `yarn upgrade flip-toolkit@^XXX`
39+
- increment version number
40+
- run yarn build
41+
- commit with message formatted like: `git commit -m 'react-flip-toolkit@7.4.0'`
42+
- run npm publish
43+
3644

3745
Once again, verify that everything looks good:
3846
- npm: https://www.npmjs.com/package/react-flip-toolkit

0 commit comments

Comments
 (0)