To initialize the monorepo, run:
yarn
After that you can run the styleguide project to develop the UI components, etc.. You can run it from the monorepo root with:
yarn start
To test creation of a fresh project:
yarn init-local
This will create a new project in testapp
directory. You can run it from the monorepo root with:
yarn testapp start
If you have any questions or want to request a feature, please look wether a similar issue already exists in this repo, otherwise feel free to file a new one.
-
PR title has to follow Conventional Changelog format
-
If you have breaking changes, you have to submit PR to be merged into
next
branch, instead ofmaster
. And in the description of PR please writeBREAKING CHANGE:
and describe below what this change is and how to perform the migration from old version to new, preferably with examples of old and new code.
-
Feature branches without breaking changes must be merged to
master
.- Use
Squash and merge
merging strategy. - Title of PR must follow conventional commits format. If it doesn't -- edit the PR title before merging.
- When you have a bunch of fixes/features in master, you can publish the patch version by using the command
yarn publish-patch
. It will also automatically update changelog.
- Use
-
If PR has breaking changes it must be merged to
next
.- Use
Squash and merge
merging strategy. - Title of PR must follow conventional commits format. Edit if it doesn't.
- PR description must have
BREAKING CHANGE:
section, which should describe how to migrate from old code to new. - When merging such PR, you have to write at the end of squash commit
BREAKING CHANGE:
, then an empty line, and then copy-paste everything from theBREAKING CHANGE:
section from the PR description as markdown (clickthree dots
->Edit
in the PR description message to copy-paste the original markdown).
- Use
-
Do periodical updates from
master
tonext
manually on your local machine and just pushnext
directly to github. -
When releasing a new breaking version, make a PR from
next
tomaster
.- IMPORTANT!!! Use regular
Create a merge commit
merge strategy when merging the PR. Because we must not lose any commits history when doing this merge. - After merge, use
yarn publish-minor
to publish the new breaking version to npm. It will also automatically update changelog. - Manually update
master
->next
and pushnext
directly to github.
- IMPORTANT!!! Use regular