8.3.3 • Published 8 years ago
@opuscapita/oc-common-ui v8.3.3
OpusCapita React components guideline
demo
Creating a new component
Creating a new repository
- Create a new public repository under OpusCapita organization in github. If you don't have rights to do it, contact
@havankior@ilkkalehtinen. Choose a descriptive repository name that states clearly what kind of component it contains. For example,react-gridis a React component that creates a grid.
Developing a new component
- Create a development branch in git.
- Create basic structure for a react component. It's recommended to use the template. Develop the component.
Run
npm installto get the project's dependencies. Runnpm run buildto produce minified version of the library. Runnpm run devto produce development version of the library. Runnpm run testto run tests. Runnpm run docsto generate examples. Runnpm run hotto run source files. - Update
CHANGELOG.mdfile with your changes undernextline. - Include documentation for your component in
README.mdfile, unit tests for all modules and an example showing all possible functions of your component before you make the first pull request with your component. Pull requests with absent documentation, unit tests and examples will not be approved. - Commit and push changes. Don't include
libfolder in the commits. - Open Settings -> Options -> GitHub Pages and select 'master branch /docs folder' as a Source.
Merging the development branch with the master
- Make a pull request for more than one reviewer (the more the better) from the list of contributors below.
- Merge your branch with the master and delete your development branch.
Creating the first release tag and publishing the first npm version
- Update
CHANGELOG.mdfile by moving changes undernextline to the created version line in the master branch, commit and push it. - Run
npm version [major|minor|patch]info - Run
npm publish --access=publicto publish the first version of the component in npm. If you don't have rights to do it, contact@havankior@ilkkalehtinen.
Finishing a new component creation
- Link examples of your component in the oc-common-ui
Updating a component
- Clone the repository with the component to update if you haven't done it yet.
- Make a new development branch for the changes.
- Update
CHANGELOG.mdfile with your changes undernextline. - Update
LICENSE-3RD-PARTY.mdif lib changes. - Commit and push changes (excluding
lib). - Make a pull request for more than one reviewer (the more the better) from the list of contributors below.
- Merge your branch with the master and delete your development branch.
Creating a release tag and publishing a npm version
- Update
CHANGELOG.mdfile by moving changes undernextline to the created version line in the master branch, commit and push it. - Run
npm version [major|minor|patch]info - Run
npm publishto publish the created version of the component in npm.
Demo/examples
- Demo
- Run
npm run docsto create output toexamples-build
List of contributors
- Boris Horosh
@bo-kh(Finland) - Elena Rose
@elefantino(Finland) - Esa Riihinen
@eriihine(Finland) - Ilkka Lehtinen
@ilkkalehtinen(Finland) - Jani Matkala
@naniantero(Finland) - Jenni Ristonmaa
@Jen-ni(Finland) - Janusz Bugajny
@janekbug(Poland) - Kimmo Havantola
@havanki(Finland) - Lukasz Frandt
@lukasdt(Poland) - Oscar Neira
@OscarNeira(Finland) - Sami Karjalainen
@skarjalainen(Finland)
8.3.3
8 years ago
8.3.2
8 years ago
8.3.1
8 years ago
8.3.0
8 years ago
8.2.1
8 years ago
8.2.0
8 years ago
8.1.0
8 years ago
8.0.0
8 years ago
7.0.0
8 years ago
6.1.9
8 years ago
6.1.8
8 years ago
6.1.7
8 years ago
6.1.6
8 years ago
6.1.5
8 years ago
6.1.4
8 years ago
6.1.3
8 years ago
6.1.2
8 years ago
6.1.1
8 years ago
6.1.0
8 years ago
6.0.0
8 years ago
5.0.4
8 years ago
5.0.3
8 years ago
5.0.2
8 years ago
5.0.1
8 years ago
5.0.0
8 years ago
4.4.1
8 years ago
4.4.0
8 years ago
4.3.1
8 years ago
4.3.0
8 years ago
4.2.5
8 years ago
4.2.4
8 years ago
4.2.3
8 years ago
4.2.2
8 years ago
4.2.0
8 years ago
4.1.3
8 years ago
4.1.2
8 years ago
4.1.0
8 years ago
4.0.0
8 years ago
3.2.0
8 years ago
3.1.0
8 years ago
3.0.0
8 years ago