@unicef/material-ui 0.8.2 → 0.10.1
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 +19 -0
- package/lib/dev.js +387 -83
- package/lib/dev.js.map +1 -1
- package/lib/prod.js +387 -83
- package/lib/prod.js.map +1 -1
- package/package.json +16 -6
package/README.md
CHANGED
|
@@ -111,6 +111,25 @@ cd ..
|
|
|
111
111
|
npm deploy
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
+
## Release a new version in npm registry
|
|
115
|
+
|
|
116
|
+
There is a Github action (pipeline) that automatically releases in npm whenever a release is created.
|
|
117
|
+
To create a release, previously you need to ensure the version is changed in packages.json and then create a tag in the repository. These are the steps:
|
|
118
|
+
|
|
119
|
+
1. Get the latest `master`
|
|
120
|
+
2. Edit `packages.json` and increase the version number and save to origin/master.
|
|
121
|
+
```bash
|
|
122
|
+
# After editing packages.json
|
|
123
|
+
git commit -m "bump version x.y.z"
|
|
124
|
+
git push origin master
|
|
125
|
+
```
|
|
126
|
+
3. Create a tag and push it to master:
|
|
127
|
+
```bash
|
|
128
|
+
git tag releases/vX.Y.Z # where X.Y.Z is a semver number such as 1.6.9
|
|
129
|
+
git push origin tags
|
|
130
|
+
```
|
|
131
|
+
4. Then in the GitHub web interface create the release. The action will be automatically triggered.
|
|
132
|
+
|
|
114
133
|
## About UNICEF
|
|
115
134
|
|
|
116
135
|
[UNICEF](https://www.unicef.org/) works in over 190 countries and territories to protect the rights of every child. UNICEF has spent more than 70 years working to improve the lives of children and their families. In UNICEF, **we believe all children have a right to survive, thrive and fulfill their potential – to the benefit of a better world**.
|