yarn
install package dependencies and manage the symlinking between packages for yougit clone ...superset-ui && cd superset-ui yarn install yarn build
To build only selected packages or plugins,
yarn build "*chart-table"
lerna and yarn are used to manage versions and dependencies between packages in this monorepo.
superset-ui/ lerna.json package.json ... packages/ package1/ package.json ... src/ test/ # unit tests types/ # typescript type declarations ... lib/ # commonjs output esm/ # es module output ... ...
Each package defines its own build config, linting, and testing. You can have lerna run commands across all packages using the syntax yarn run test
(or yarn run test:watch
for watch mode) from the root @superset-ui
directory.
This repository follows conventional commits guideline for commit messages and has a commitlint
hook which will require you to have the valid commit message before committing. You can use npm run commit
to help you create a commit message.
Prerequisite: You'll need an npmjs.com account that is part of the superset-ui
organization.
npm login
if necessary.yarn run release
and follow the prompts.