@wavv/ui 2.0.0-alpha.80 → 2.0.0-alpha.81

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.
Files changed (2) hide show
  1. package/README.md +22 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -55,6 +55,28 @@ const App = () => {
55
55
 
56
56
  Documentation can be found at [ui.wavv.com](https://ui.wavv.com/)
57
57
 
58
+ For new v2 components, `pnpm storybook` can be ran to bring up more detailed documentation for props.
59
+
60
+ ## Contributing
61
+
62
+ ### CLI
63
+
64
+ When a change is ready to be pushed to the library and published to NPM, the best method is to use the cli.
65
+
66
+ 1. `pnpm cli`
67
+ 2. Bump version (stick with the pre-release alpha version for now).
68
+ 3. Document what changes are going out by answering the cli prompts.
69
+ 4. You can answer "no" to the prompt for creating a new branch.
70
+ 5. The final prompt asks if you would like to publish to npm. This will handle the alpha version tag for you.
71
+
72
+ ### Manual
73
+
74
+ If something goes wrong with using the CLI, or another change needs to be added to the build before publishing to npm, there are a couple different scripts that can be run to manually build and publish the library.
75
+
76
+ 1. `pnpm build:lib` will run another build for the library, ensuring your new changes are included.
77
+ 2. Make sure the version in `package.json` is the new version that should go out if it hasn't already been changed by the cli prompts.
78
+ 3. `pnpm pub:alpha` will publish to npm with the correct `alpha` tag since we are sticking to a pre-release tag for now.
79
+
58
80
  ## License
59
81
 
60
82
  This project is licensed under the terms of the MIT license.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "2.0.0-alpha.80",
3
+ "version": "2.0.0-alpha.81",
4
4
  "files": [
5
5
  "build/**/*"
6
6
  ],