This a monorepo containing core packages used for data visualization tools created by Hyperobjekt.
This project uses the following tools:
- lerna: for monorepo management and publishing
- yarn: for managing dependencies and workspaces
- storybook: for developing and documenting components
- jest: for unit testing
You can start development by running the following commands:
yarn install
yarn bootstrap
yarn dev
This will start the storybook interface where you may develop your components.
yarn build
To publish new versions of packages with changed, run:
npx lerna publish
Note: if you are publishing a new package, you will have to run the first publish manually by navigating to the package directory and running
npm publish --access public
to specify it is a public package.
This repository has been based on the article Creating a Monorepo with Lerna & Yarn Workspaces.