Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

**Currently use fix for changes, and feat for schema changes as the lib is undergoing a lot of changes. 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 ci - 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

Packages

No packages published