Skip to content

RedHatInsights/react-json-chart-builder

 
 

Repository files navigation

react-json-chart-builder

semantic-release

Live editor (docs and examples): https://brumik.github.io/react-json-chart-builder

Intall the npm package

  • npm i --save react-json-chart-builder

Workflow

  • Write code, commit with semantic release commit messages (see bellow)
  • Create PR
  • Merge the PR, and the CI will start to run:
    • Generate new package number and tag by semantic release
    • Publish the package to the NPM registry
    • Build the demo app and push the built app to the gh-pages branch
    • The branch served as a webpage on: https://brumik.github.io/react-json-chart-builder

Semantic release commit messages

Using semantic release

  • Patch release: fix(pencil): stop graphite breaking when too much pressure applied
  • Feature release: feat(pencil): add 'graphiteWidth' option
  • Breaking release: BREAKING CHANGE: The graphiteWidth option has been removed. The default graphite width of 10mm is always used for performance reasons.

Devel setup

Requirements

  • node > 14
  • npm > 7

Setup

  • npm i - install the packages
  • npm start - start the local web server
  • go to localhost:8080

Testing

  • npm i if not done before
  • npm test

About

A chart builder component in react, which uses JSON for schema.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.9%
  • JavaScript 0.1%