@proximahq-dev/components
v1.3.23
Published
- **Components Folder:** Always create a new folder for page specific components e.g. src/components/PageName - **Shared Components:** Any component used on more than one page should be added to src/components/shared - **Page Registry:** TBC, currently ea
Downloads
266
Readme
How to use
- Components Folder: Always create a new folder for page specific components e.g. src/components/PageName
- Shared Components: Any component used on more than one page should be added to src/components/shared
- Page Registry: TBC, currently each page requires the projectSlug as the Prop.
How to develop
- Create component
- Add it to Storybook
- Write unit tests
- Execute "npx changeset" and choose appropriate version to bump
- PR to main branch
- Package will be deployed to NPM automatically
Versioning
Take the version 1.3.5 as an example.
- "1" is the major change to the project - for incompatible API changes
- "3" is the minor change - for backward-compatible functionality additions
- "5" is the patch - for backward-compatible bug fixes
Bumping the major version resets both minor and patch versions to 0.
Bumping the minor version resets patch version to 0.
1.3.5 => 1.4.0
1.3.5 => 2.0.0