First, create a fork of the Polydile/dile-components repository by hitting the fork button on the GitHub page.
Next, clone our repository onto your computer.
git clone [git@github.com:Polydile/dile-components.git]Once cloning is complete, change directory to the repository.
cd dile-componentsNow add your fork as a remote (replacing YOUR_USERNAME with your GitHub username).
git remote add fork git@github.com:<YOUR_USERNAME>/dile-components.gitCreate a new local branch.
git checkout -b my-awesome-fixNow that you have cloned the repository, you need to install the dependencies.
npm installThis will download and install all packages needed.
This is a monorepo managed by Lerna, so you need to link the local packages with lerna bootstrap.
npm run lerna bootstrapTo launch the demos run this command:
npm run startMake your changes to the project. Make something great!
Commit messages must follow the conventional commit format
So for example if you fix a terrible bug in the package @dile/dile-input, the commit message should look like this:
fix(dile-input): fix terrible bugNow it's time to push your branch that contains your committed changes to your fork.
git push -u fork my-awesome-fixAfter a successful push, if you visit your fork on GitHub, you should see a button that will allow you to create a Pull Request from your forked branch, to our main branch.