File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change
1
+ # React Component Library - Release Guide
2
+
3
+ This guide outlines the steps to release a new version of the React component library by tagging and pushing to GitHub and npm.
4
+
5
+ ## Prerequisites
6
+
7
+ Before proceeding with the release process, ensure that you have the following:
8
+
9
+ - Access to the GitHub repository for the component library.
10
+ - An npm user account with publishing permissions for the component library.
11
+
12
+ ## Release Process
13
+
14
+ Follow these steps to release a new version:
15
+
16
+ 1 . ** Update the version** : Open the ` package.json ` file and update the version field to the desired version number. Save the changes.
17
+
18
+ 2 . ** Commit the changes** : Commit the updated ` package.json ` file using the following command:
19
+
20
+ ``` shell
21
+ git add package.json
22
+ git commit -m " Bump version to X.X.X"
23
+ ```
24
+
25
+ 3 . ** Tag the release** : Create a new Git tag for the release using the following command:
26
+
27
+ ``` shell
28
+ git tag -a vX.X.X -m " Release X.X.X"
29
+ ```
30
+
31
+ Replace ` X.X.X ` with the actual version number.
32
+
33
+ 4 . ** Push the changes** : Push the committed changes and the newly created tag to the GitHub repository:
34
+
35
+ ``` shell
36
+ git push origin main
37
+ git push origin vX.X.X
38
+ ```
39
+
40
+ 5 . ** Publish to npm** : Publish the new version to npm using the following command:
41
+
42
+ ``` shell
43
+ npm publish
44
+ ```
45
+
46
+ Note: Make sure you are logged in to the correct npm user account.
47
+
48
+ 6 . ** Verify the release** : Visit the GitHub repository and npm package page to verify that the new version has been successfully released.
49
+
50
+ ## Conclusion
51
+
52
+ By following these steps, you can release a new version of tail-react by tagging and pushing to GitHub and npm.
53
+
54
+ For any issues or questions, please refer to the project's documentation or seek assistance from the project maintainers.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @wedevs/tail-react" ,
3
- "version" : " 0.3.1 " ,
3
+ "version" : " 0.3.2 " ,
4
4
"description" : " A React UI component library based on Tailwind CSS" ,
5
5
"author" : " Tareq Hasan" ,
6
6
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments