Design kit for Avail Rental Management Software- Github

Avail Design Kit

Avail Design Kit

A set of components built to be composableextendable, and usable

Setup

  1. Clone the repo with gh repo clone rentalutions/elements.
  2. Install dependencies with yarn install.
  3. Start a storybook conatiner that builds all packages and watches for changes with yarn start.

Contributing

The best way to contribute to this library is to look at open issues or file an issue yourself if one doesn’t already exist.

To suggest a component be added to the library open an issue and spec out the component with its API. No component will be added without proper documentation. You can tag @pkrawc or @wade00 with reviewing the issue and weighing in when necessary.

To finish, create a pull request that solves the issue. At least one commit in the PR should be resolves #[ISSUE_NUMER], this will auto-close the issue when the PR is merged into master.

Conventional Commits

This system uses conventional commits to tag and track updates. This method automatically creates and updates changelogs for each package based on the name of a commit. The basis of this is that the commit message should contain the following structure.

<type>([optional scope]): <description>

[optional body]

[optional footers]

Commit Types

buildcichoredocsfeatfixperfrefactorrevertstyletest

Releases

Current release process, it’s kind of involved, but github actions does most of the heavy lifting and it creates a nice release cadence. These scripts assume you’re already on the release branch. If you’re on a feature branch, create a pull request to merge your code.

# First run a build and make sure everything compiles, and run tests to make sure all are passing
yarn build && yarn test

# Create a new version of the packages worked on, git tag, and create a CHANGELOG for those package.
yarn update

# If everything looks kosher, push to Github.
git push origin release --follow-tags

Adding Packages

To add a package to the system, first clone and install all dependencies as in the setup instructions. Use the lerna command create.

yarn lerna create --dependencies @rent_avail/utils,@rent_avail/base @rent_avail/new-package

/

Default image
Lingaraj Senapati
Hey There! I am Lingaraj Senapati, the Co-founder of lingarajtechhub.com My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.
Articles: 150

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply

nineteen + thirteen =

Physical Address

Patia, Bhubaneswar, khordha, 751024, Odisha, India