We'd love for you to help develop improvements to Accord Project technology! Please refer to the Accord Project Development guidelines we'd like you to follow.
The packages have all been created by running yarn create react-app %PROJECT_NAME% --template npm-library in the packages directory.
After running the command above, you need to:
cd MY_PACKAGEnode ./prepare.js- Edit the
buildandbuild:libtargets inpackage.jsonso that the library is built when build is run, rather than the test app
"build:app": "react-scripts build",
"build": "npx rollup -c",The source code for libraries should be placed in the src/lib folder.
npm install -g lerna
lerna clean && lerna bootstrap && lerna run buildcd packages/storybook
npm run storybook
While Storybook is running, if you make a change in a package that you want to see reflected in the demo, in a new terminal:
cd packages/<PACKAGE>
npm run build
Storybook will reload with the applied changes.
Releases are made manually by maintainers through GitHub. Version tags follow semantic-versioning conventions with a v prefix, for example v1.2.3.
A markdown changelog that includes the contributors and links to changes can be generated automatically through the lerna-changelog tool.
- You will need a GitHub Personal Access Token with
public_repopermissions. - Review all merged PRs since the last release to ensure that they are appropriately labelled with one of the following labels.
Type: Breaking Change π₯Type: Enhancement β¨Type: Bug πType: Chore π§ΌType: Documentation π
Note that
Type: StylingandType: Feature Requestare not used, you should useType: Enhancementinstead.
- Run the following command from the root folder of an up-to-date local clone of this repository to generate the markdown content.
GITHUB_AUTH=[YOUR_PERSONAL_ACCESS_TOKEN] npm run changelog:unreleased- Copy the markdown output from the terminal to the GitHub release editor.