In order to run the project you will need to make sure that you have yarn installed. It must be higher than 1.22 in order to do that you must have corepack enabled. Do not just run "npm i" to install dependencies, all packages must be installed with yarn.
- Install yarn
- From the project root dir, run
yarn
oryarn install
to install dependencies - To start the project run
yarn dev
- The storybook project should automatically run in your local browser
- The QA storybook containing the latest Experience changes is accessible here
- Bump the version in package.json using the format
major.minor.patch-alpha.<yourinitials><n>
See the version history for examples. - Run
npm publish --tag alpha
.
- Update CHANGELOG.md and include the version to publish using the standard
major.minor.patch
. If there are breaking changes, we bump the major, new feature we bump minor and bug fixes or minor changes, we bump patch. - Request a MR review by commenting
shipit --review
- Once the MR is approved, comment
shipit --publish-version=major|minor|patch
. - Shipit will bump the version in package.json, merge and publish the package to npm.
This template is used to create projects in the Cartographer group
- Go to the Cartographer group and click "New Project"
- Click "Create from Template"
- Open the "Groups" tab
- Click "Use Template" in the React Library Application row
- Enter the project name and ensure that the visitibliy is set to internal. Add a description if needed
- Click "Create project" and you've created your project
Note: A maintainer or owner will need to do this part
- Open Settings > Repository for the repo
- Expand the "Selected branches" section
- For the master branch, set the "Allowed to merge" option to "Developers + Maintainers" and the "Allowed to push" option to "No one"
- Open Settings > General for the repo
- Expand the "Merge request approvals section"
- Change approvals required to 1
Under Issues > Boards, create a new board to track issues for that specific repo. Copy the labels/lists from the scoped issue board in the Cartographer group to create this one. The labels will be the same, but the new issue board will only shows issues created for this specific repo.