From 2a571777f8f334e48c5dab51cd48c1858c938ef3 Mon Sep 17 00:00:00 2001 From: Krist Wongsuphasawat Date: Mon, 1 Apr 2019 13:56:29 -0700 Subject: [PATCH] build: use shared commit config (#35) * build: use shared commit config * docs: changelog * fix: root package.json version --- .../plugins/superset-ui-plugins/CHANGELOG.md | 102 ++++++++++-------- .../superset-ui-plugins/commitlint.config.js | 4 +- .../plugins/superset-ui-plugins/package.json | 13 +-- 3 files changed, 65 insertions(+), 54 deletions(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/CHANGELOG.md b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/CHANGELOG.md index be2c89802152c..3881301ce5e08 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/CHANGELOG.md +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/CHANGELOG.md @@ -1,74 +1,90 @@ -# @superset-ui-plugins + +## [0.10.3](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.2...v0.10.3) (2019-03-22) -## 0.10.2 (2019-03-18) -### docs +### Bug Fixes -* add nvd3 version badge to readme ([22a13d389fafed4131b879c5505594fcc606d9d3](https://github.com/apache-superset/superset-ui-plugins/commit/22a13d389fafed4131b879c5505594fcc606d9d3)) -* update changelog ([1fbc31c45f6d5518d3913408d3931890838f60fb](https://github.com/apache-superset/superset-ui-plugins/commit/1fbc31c45f6d5518d3913408d3931890838f60fb)) +* make pivot table handle null string ([#23](https://github.com/apache-superset/superset-ui-plugins/issues/23)) ([6794209](https://github.com/apache-superset/superset-ui-plugins/commit/6794209)) -### fix -* y axis bounds when input are nan (#22) ([a43d21d](https://github.com/apache-superset/superset-ui-plugins/commit/a43d21d)), closes [#22](https://github.com/apache-superset/superset-ui-plugins/issues/22) +### Features -## 0.10.1 (2019-03-18) +* add encodeable utilities for chart ([#15](https://github.com/apache-superset/superset-ui-plugins/issues/15)) ([287d37e](https://github.com/apache-superset/superset-ui-plugins/commit/287d37e)) -### chore -* bump version (#14) ([781492d7a32810bf8472d9d48eb26884f9657888](https://github.com/apache-superset/superset-ui-plugins/commit/781492d7a32810bf8472d9d48eb26884f9657888)), closes [#14](https://github.com/apache-superset/superset-ui-plugins/issues/14) -### docs + +## [0.10.2](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.1...v0.10.2) (2019-03-18) -* update CHANGELOG ([fc14948627d48a4da195bc3abf830e0220ad12a0](https://github.com/apache-superset/superset-ui-plugins/commit/fc14948627d48a4da195bc3abf830e0220ad12a0)) -### feat -* add properties for font sizing (#10) ([d07f60c0d0d894f0dfd069aa8c732a6be8e898d8](https://github.com/apache-superset/superset-ui-plugins/commit/d07f60c0d0d894f0dfd069aa8c732a6be8e898d8)), closes [#10](https://github.com/apache-superset/superset-ui-plugins/issues/10) + +## [0.10.1](https://github.com/apache-superset/superset-ui-plugins/compare/v0.10.0...v0.10.1) (2019-03-18) -### fix -* bar label for many bars and long labels (#21) ([8b9c10a58649714fddf83202423dea1bcb38f43d](https://github.com/apache-superset/superset-ui-plugins/commit/8b9c10a58649714fddf83202423dea1bcb38f43d)), closes [#21](https://github.com/apache-superset/superset-ui-plugins/issues/21) -* dual line chart color consistency for secondary y axis (#18) ([1ef0d68dfdcfe4eff4498cec9d8454b821cc49bc](https://github.com/apache-superset/superset-ui-plugins/commit/1ef0d68dfdcfe4eff4498cec9d8454b821cc49bc)), closes [#18](https://github.com/apache-superset/superset-ui-plugins/issues/18) -* nvd3 line chart y axis bounds (#17) ([1c0e682af1e442cfb827a6acc8a7892e895758a6](https://github.com/apache-superset/superset-ui-plugins/commit/1c0e682af1e442cfb827a6acc8a7892e895758a6)), closes [#17](https://github.com/apache-superset/superset-ui-plugins/issues/17) -* show only necessary tick labels on log scale (#19) ([2f35d0ca9b1614b4131878379e34337add724023](https://github.com/apache-superset/superset-ui-plugins/commit/2f35d0ca9b1614b4131878379e34337add724023)), closes [#19](https://github.com/apache-superset/superset-ui-plugins/issues/19) +### Bug Fixes -# 0.10.0 (2019-03-05) +* bar label for many bars and long labels ([#21](https://github.com/apache-superset/superset-ui-plugins/issues/21)) ([8b9c10a](https://github.com/apache-superset/superset-ui-plugins/commit/8b9c10a)) +* dual line chart color consistency for secondary y axis ([#18](https://github.com/apache-superset/superset-ui-plugins/issues/18)) ([1ef0d68](https://github.com/apache-superset/superset-ui-plugins/commit/1ef0d68)) +* nvd3 line chart y axis bounds ([#17](https://github.com/apache-superset/superset-ui-plugins/issues/17)) ([1c0e682](https://github.com/apache-superset/superset-ui-plugins/commit/1c0e682)) +* show only necessary tick labels on log scale ([#19](https://github.com/apache-superset/superset-ui-plugins/issues/19)) ([2f35d0c](https://github.com/apache-superset/superset-ui-plugins/commit/2f35d0c)) -### docs -* update dependency badges ([069bfe214696e54e5c1cbd9b9ab14f3cddaf810b](https://github.com/apache-superset/superset-ui-plugins/commit/069bfe214696e54e5c1cbd9b9ab14f3cddaf810b)) -* update link from superset-ui-legacy to superset-ui-plugins ([99acadda94b433e2e6c5926c071cb1a031a24bef](https://github.com/apache-superset/superset-ui-plugins/commit/99acadda94b433e2e6c5926c071cb1a031a24bef)) +### Features -### feat +* add properties for font sizing ([#10](https://github.com/apache-superset/superset-ui-plugins/issues/10)) ([d07f60c](https://github.com/apache-superset/superset-ui-plugins/commit/d07f60c)) -* add country map of bulgaria in superset-ui-legacy-plugin-chart-country-map (#2) ([b5fd6e49850bdca6fd5ec5780079ec5493aa0130](https://github.com/apache-superset/superset-ui-plugins/commit/b5fd6e49850bdca6fd5ec5780079ec5493aa0130)), closes [#2](https://github.com/apache-superset/superset-ui-plugins/issues/2) -* bump data-ui/xy-chart version ([5bb28f33791b132ff96ffeb849397e7e9d73db43](https://github.com/apache-superset/superset-ui-plugins/commit/5bb28f33791b132ff96ffeb849397e7e9d73db43)) -### fix -* fix(legacy-preset-chart-nvd3): show negative values on bars (#8) ([8a2dbdc](https://github.com/apache-superset/superset-ui-plugins/commit/8a2dbdc)), closes [#8](https://github.com/apache-superset/superset-ui-plugins/issues/8) -* fix(legacy-preset-chart-nvd3): redraw bar values after legend change (#7) ([28b1f75](https://github.com/apache-superset/superset-ui-plugins/commit/28b1f75)), closes [#7](https://github.com/apache-superset/superset-ui-plugins/issues/7) -* fix(legacy-preset-chart-nvd3): redraw markers after legend interaction (#6) ([b257c32](https://github.com/apache-superset/superset-ui-plugins/commit/b257c32)), closes [#6](https://github.com/apache-superset/superset-ui-plugins/issues/6) -* fix(legacy-preset-chart-nvd3): tooltip's disappearance and stickiness (#1) ([0cc1ea8](https://github.com/apache-superset/superset-ui-plugins/commit/0cc1ea8)), closes [#1](https://github.com/apache-superset/superset-ui-plugins/issues/1) -* broken unit test due to missing babel-polyfill ([346ca5c07e06a622565dbf90486fef2ab0ea6baf](https://github.com/apache-superset/superset-ui-plugins/commit/346ca5c07e06a622565dbf90486fef2ab0ea6baf)) -* resolve issues post `0.10.0` ([7b0fd6d902dfb186798228e543d95d9fde79c089](https://github.com/apache-superset/superset-ui-plugins/commit/7b0fd6d902dfb186798228e543d95d9fde79c089)) + +# [0.10.0](https://github.com/apache-superset/superset-ui-plugins/compare/v0.1.1...v0.10.0) (2019-03-05) -# 0.1.1 (2019-02-14) -### feat +### Bug Fixes -- Add `MapBox` +* **legacy-preset-chart-nvd3:** redraw bar values after legend change ([#7](https://github.com/apache-superset/superset-ui-plugins/issues/7)) ([28b1f75](https://github.com/apache-superset/superset-ui-plugins/commit/28b1f75)) +* **legacy-preset-chart-nvd3:** redraw markers after legend interaction ([#6](https://github.com/apache-superset/superset-ui-plugins/issues/6)) ([b257c32](https://github.com/apache-superset/superset-ui-plugins/commit/b257c32)) +* **legacy-preset-chart-nvd3:** tooltip's disappearance and stickiness ([#1](https://github.com/apache-superset/superset-ui-plugins/issues/1)) ([0cc1ea8](https://github.com/apache-superset/superset-ui-plugins/commit/0cc1ea8)) +* 🐛 broken unit test due to missing babel-polyfill ([346ca5c](https://github.com/apache-superset/superset-ui-plugins/commit/346ca5c)) +* resolve issues post `0.10.0` ([7b0fd6d](https://github.com/apache-superset/superset-ui-plugins/commit/7b0fd6d)) -# 0.1.0 (2019-02-13) -### feat +### Features -- Add `nvd3` +* **legacy-preset-chart-nvd3:** show negative values on bars ([#8](https://github.com/apache-superset/superset-ui-plugins/issues/8)) ([8a2dbdc](https://github.com/apache-superset/superset-ui-plugins/commit/8a2dbdc)) +* 🎸 line chart makes first appearance ([e1c9ac2](https://github.com/apache-superset/superset-ui-plugins/commit/e1c9ac2)) +* add country map of bulgaria in superset-ui-legacy-plugin-chart-country-map ([#2](https://github.com/apache-superset/superset-ui-plugins/issues/2)) ([b5fd6e4](https://github.com/apache-superset/superset-ui-plugins/commit/b5fd6e4)) +* bump data-ui/xy-chart version ([5bb28f3](https://github.com/apache-superset/superset-ui-plugins/commit/5bb28f3)) -### fix -- Fix issues with `Table` and `PivotTable` -# 0.0.1 (2019-02-09) + +## [0.1.1](https://github.com/apache-superset/superset-ui-plugins/compare/v0.1.0...v0.1.1) (2019-02-14) + + + + +# [0.1.0](https://github.com/apache-superset/superset-ui-plugins/compare/v0.0.3...v0.1.0) (2019-02-13) + + + + +## [0.0.3](https://github.com/apache-superset/superset-ui-plugins/compare/v0.0.2...v0.0.3) (2019-02-13) + + + + +## [0.0.2](https://github.com/apache-superset/superset-ui-plugins/compare/v0.0.1...v0.0.2) (2019-02-12) + + + + +## [0.0.1](https://github.com/apache-superset/superset-ui-plugins/compare/v0.0.1-alpha.0...v0.0.1) (2019-02-09) + + + + +## 0.0.1-alpha.0 (2019-02-07) + + -First release diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/commitlint.config.js b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/commitlint.config.js index d73459490e79f..cf95023684fe4 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/commitlint.config.js +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/commitlint.config.js @@ -1,3 +1 @@ -module.exports = { - extends: ['@commitlint/config-conventional', '@commitlint/config-lerna-scopes'], -}; +module.exports = require('@superset-ui/commit-config/commitlint.config'); diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json index fe4555706146e..2d99f15cb289c 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json @@ -1,6 +1,6 @@ { "name": "@superset-ui/plugins-monorepo", - "version": "0.0.0", + "version": "0.0.0-master", "description": "Superset UI Plugins", "private": true, "scripts": { @@ -8,7 +8,8 @@ "build:cjs": "NODE_ENV=production beemo babel --extensions=\".js,.jsx,.ts,.tsx\" ./src --out-dir lib/ --minify --workspaces=\"@superset-ui/!(plugins-demo)\"", "build:esm": "NODE_ENV=production beemo babel --extensions=\".js,.jsx,.ts,.tsx\" ./src --out-dir esm/ --esm --minify --workspaces=\"@superset-ui/!(plugins-demo)\"", "build:assets": "node ./buildAssets.js", - "commit": "git-cz", + "commit": "superset-commit", + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "type": "NODE_ENV=production beemo typescript --workspaces=\"@superset-ui/((preset|plugin)-*)\" --noEmit", "type:dts": "NODE_ENV=production beemo typescript --workspaces=\"@superset-ui/((preset|plugin)-*)\" --emitDeclarationOnly", "lint": "beemo create-config prettier && beemo eslint \"./packages/*/{src,test,storybook}/**/*.{js,jsx,ts,tsx}\"", @@ -38,7 +39,8 @@ ], "license": "Apache-2.0", "devDependencies": { - "@superset-ui/build-config": "^0.0.6", + "@superset-ui/build-config": "^0.0.8", + "@superset-ui/commit-config": "^0.0.9", "@superset-ui/chart": "^0.10.8", "@superset-ui/color": "^0.10.0", "@superset-ui/connection": "^0.10.0", @@ -97,10 +99,5 @@ "yarn run prettier --write", "git add" ] - }, - "config": { - "commitizen": { - "path": "git-cz" - } } }