superset/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins
2021-11-26 11:45:25 +08:00
..
.github chore: enforce PR title to be conventional commit 2021-11-26 11:45:22 +08:00
packages refactor: remove new box plot code until refactored (#25) 2021-11-26 11:45:25 +08:00
.gitignore Enable TypeScript live update in Storybook (#5) 2021-11-26 11:45:22 +08:00
.npmrc initial commit 2021-11-26 11:45:09 +08:00
.travis.yml add iframe and markup 2021-11-26 11:45:09 +08:00
buildAssets.js make build work for country map 2021-11-26 11:45:14 +08:00
CHANGELOG.md docs: update CHANGELOG 2021-11-26 11:45:24 +08:00
commitlint.config.js chore: style commitlint config file 2021-11-26 11:45:21 +08:00
lerna.json v0.10.3 2021-11-26 11:45:25 +08:00
LICENSE initial commit 2021-11-26 11:45:09 +08:00
package.json feat: add encodeable utilities for chart (#15) 2021-11-26 11:45:25 +08:00
README.md docs: add nvd3 version badge to readme 2021-11-26 11:45:24 +08:00

@superset-ui/plugins 🔌💡

Codecov branch Build Status David

@superset-ui/legacy-* packages are extracted from the classic Apache Superset and converted into plugins. These packages are extracted with minimal changes (almost as-is). They also depend on legacy API (viz.py) to function.

@superset-ui/plugin-* packages are newer and has higher quality in general.

We are not accepting pull requests for new community-contributed plugins to be merged into this repository at the moment. We will keep it lean for now to improve the standard and reduce operational load on maintenance. Bug fixes are welcome.

In the future, we plan to have a template for new repository or generator for everybody to setup a single plugin repository easily on his/her own. This way anybody can create and publish a Superset plugin. If a third-party plugin becomes really good, we can consider merging into this repo later.

Packages

Package Version
@superset-ui/plugin-chart-word-cloud Version
Package Version
@superset-ui/legacy-preset-chart-big-number Version
@superset-ui/legacy-preset-chart-nvd3 Version
@superset-ui/legacy-plugin-chart-calendar Version
@superset-ui/legacy-plugin-chart-chord Version
@superset-ui/legacy-plugin-chart-country-map Version
@superset-ui/legacy-plugin-chart-event-flow Version
@superset-ui/legacy-plugin-chart-force-directed Version
@superset-ui/legacy-plugin-chart-heatmap Version
@superset-ui/legacy-plugin-chart-histogram Version
@superset-ui/legacy-plugin-chart-horizon Version
@superset-ui/legacy-plugin-chart-iframe Version
@superset-ui/legacy-plugin-chart-markup Version
@superset-ui/legacy-plugin-chart-map-box Version
@superset-ui/legacy-plugin-chart-paired-t-test Version
@superset-ui/legacy-plugin-chart-parallel-coordinates Version
@superset-ui/legacy-plugin-chart-partition Version
@superset-ui/legacy-plugin-chart-pivot-table Version
@superset-ui/legacy-plugin-chart-rose Version
@superset-ui/legacy-plugin-chart-sankey Version
@superset-ui/legacy-plugin-chart-sunburst Version
@superset-ui/legacy-plugin-chart-table Version
@superset-ui/legacy-plugin-chart-treemap Version
@superset-ui/legacy-plugin-chart-word-cloud Version
@superset-ui/legacy-plugin-chart-world-map Version

Development

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/
      ...
      lib/
      esm/
      ...
    ...

Installation

  1. clone this repo
  2. have yarn install package dependencies and manage the symlinking between packages for you
git clone ...superset-ui-plugins && cd superset-ui-plugins
yarn install
yarn build

Builds, 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 @superset-ui directory.

Committing

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 @superset-ui organization.

  1. Make sure you're logged in to NPM from your shell. Run npm login if necessary.
  2. To make the release, run yarn run release and follow the prompts.

License

Apache-2.0