@svayam/superset-plugins-monorepo v0.0.0-master
@swithchdin-superset-plugins 🔌💡
This is where SwitchDin puts it's superset plugins.
It's shamelessly copied from @switchdin-superset-plugins .... we understand it's not ready yet ... we're preparing.
Development
lerna and yarn are used to manage versions and dependencies between packages in this monorepo.
switchdin-superset-plugins/
lerna.json
package.json
...
packages/
package1/
package.json
...
src/
test/
...
lib/
esm/
...
...Installation
- clone this repo
- have yarn install package dependencies and manage the symlinking between packages for you
git clone ...switchdin-superset-plugins-plugins && cd switchdin-superset-plugins-plugins
yarn install
yarn buildBuilds, linting, and testing
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 @switchdin-superset-plugins directory.
Storybook
You can demo your changes by running the storybook demo locally with the following commands:
yarn install
yarn build
cd packages/switchdin-superset-plugins-plugins-demo
yarn storybookCommitting
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.
Publishing
Prerequisite: You'll need an npmjs.com account that is part of the @switchdin-superset-plugins organization.
- Make sure you're logged in to NPM from your shell. Run
npm loginif necessary. - To make the release, run
yarn run releaseand follow the prompts.
License
Apache-2.0
6 years ago