@kittycad/react-shared 0.1.6 → 0.1.9
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 +13 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,11 +67,20 @@ This project uses Storybook for component development and documentation. Run `np
|
|
|
67
67
|
The library is automatically published to npm when a new git tag is created:
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
|
-
|
|
71
|
-
npm version patch # or minor, major
|
|
70
|
+
git checkout -b bump
|
|
72
71
|
|
|
73
|
-
#
|
|
74
|
-
|
|
72
|
+
npm version patch --no-git-tag-version # or minor, major
|
|
73
|
+
|
|
74
|
+
npm run fmt
|
|
75
|
+
|
|
76
|
+
git add package.json package-lock.json
|
|
77
|
+
git commit -m "bump version"
|
|
78
|
+
|
|
79
|
+
# !! Create PR and merge it
|
|
80
|
+
|
|
81
|
+
git checkout main
|
|
82
|
+
git tag -a vX.Y.Z
|
|
83
|
+
git push origin vX.Y.Z
|
|
75
84
|
```
|
|
76
85
|
|
|
77
86
|
This will trigger the GitHub Action to publish to npm.
|