NOTE: The code is provided as-is without support. Support is available by separate agreement with Divid Promaster.
This is a monorepo managed using lerna.
The core package of this repo is @promaster-sdk/property
and the other packages are dependent on this package.
For more information see the readme for each package:
Package | Version | README | CHANGELOG |
---|---|---|---|
@promaster-sdk/property | README | CHANGELOG | |
@promaster-sdk/property-filter-pretty | README | CHANGELOG | |
@promaster-sdk/react-property-selectors | README | CHANGELOG | |
@promaster-sdk/variant-listing | README | CHANGELOG | |
README | CHANGELOG |
For development of the react components, use yarn storybook
to start storybook in development mode.
For the other packages, use yarn test:packagename
to test them, or run yarn test
to test all packages.
Start with an issue to dicsuss. If discussions leads to code changed then create a PR. Make sure you prefix either one commit your PR title with a conventional commit prefix so that the version bump and chnagelong can be automatically generated from the PR's squashed commit. In case you have a single commit in the PR it seems it has to have the prefix in the commit message as the PR title will not be used.
The packages are published under the @promaster-sdk orgnization on npmjs.org. To publish run this command:
yarn publish-npm
It will build the packages and call lerna publish
which will figure out which packages has changed, ask for new versions of them, and then publish them.