diff --git a/lerna.json b/lerna.json index 3a60d401d6..70891affbe 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,6 @@ { - "packages": [ - "packages/*" - ], + "packages": ["packages/*"], + "ignoreChanges": ["ignored-file", "*.md", "*.svg"], "npmClient": "yarn", "useWorkspaces": true, "version": "independent" diff --git a/package.json b/package.json index 9a198297c4..c0656a5984 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "husky": "^4.2.5", "lerna": "^3.16.4", "lint-staged": "^10.2.7", + "pre-commit": "^1.2.2", "prettier": "^2.0.5", "stylelint": "^13.6.0", "stylelint-config-prettier": "^8.0.1", @@ -55,7 +56,8 @@ "lint-fix:style": "yarn run lint:style --fix", "test": "yarn test:components", "test:components": "yarn workspace @gio-design/components test", - "publish": "npx lerna publish" + "version": "npx lerna version --no-private --no-git-tag-version", + "publish": "npx lerna publish from-package --yes" }, "config": { "commitizen": { diff --git a/packages/components/package.json b/packages/components/package.json index b3589d7770..64143ee37f 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@gio-design/components", - "version": "20.8.2", + "version": "20.8.3", "description": "GrowingIO Design components", "author": "GrowingIO Frontend Team ", "module": "./es/index.js", @@ -20,8 +20,8 @@ "test:xunit": "JEST_JUNIT_CLASSNAME=\"{filename}\" jest --ci --testResultsProcessor=jest-junit" }, "dependencies": { - "@gio-design/icons": "^20.8.1", - "@gio-design/tokens": "^20.8.2", + "@gio-design/icons": "^20.8.2", + "@gio-design/tokens": "^20.8.3", "@types/classnames": "^2.2.9", "@types/lodash": "^4.14.136", "@types/react": "^16.8.23", diff --git a/packages/icons/package.json b/packages/icons/package.json index 19b7de7a9d..4af529445e 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@gio-design/icons", - "version": "20.8.1", + "version": "20.8.2", "description": "GrowingIO Design semantic vector icons", "author": "GrowingIO Frontend Team ", "homepage": "https://growingio.design/resources/icons", diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 8713f17c34..3cb73629f9 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -1,6 +1,6 @@ { "name": "@gio-design/tokens", - "version": "20.8.2", + "version": "20.8.3", "description": "GrowingIO Design tokens", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/website/package.json b/packages/website/package.json index 8ca2ca43b7..a7086a2432 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "website", - "version": "20.8.2", + "version": "1.0.0", "scripts": { "start": "dumi dev", "build": "UMI_ENV=production dumi build", @@ -15,7 +15,7 @@ "dependencies": { "@babel/helper-skip-transparent-expression-wrappers": "^7.11.0", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@gio-design/components": "^20.8.2", + "@gio-design/components": "^20.8.3", "@gio-design/icons": "^20.8.1", "@gio-design/tokens": "^20.8.2", "eslint-plugin-eslint-comments": "3.2.0", diff --git a/packages/website/src/develop/changelog/components.zh-CN.md b/packages/website/src/develop/changelog/components.zh-CN.md index 1e79e4b0e8..fd1cc8117c 100644 --- a/packages/website/src/develop/changelog/components.zh-CN.md +++ b/packages/website/src/develop/changelog/components.zh-CN.md @@ -9,6 +9,15 @@ nav: # @gio-design/components 更新日志 +## 20.8.3 + +- 🆕 新增[Pagination 分页](/components/functional/pagination)组件。 [#57](https://github.com/growingio/gio-design/pull/57) +- 🆕 新增[Menu 菜单](/components/basic/menu)组件。 [#60](https://github.com/growingio/gio-design/pull/60) +- 🆕 新增[Progress 进度条](/components/basic/progress)组件。 [#62](https://github.com/growingio/gio-design/pull/62) +- 🆕 新增[Drawer 抽屉](/components/basic/drawer)组件。 [#64](https://github.com/growingio/gio-design/pull/64) +- 🆕 按钮组件新增图标按钮类型。 [#92](https://github.com/growingio/gio-design/pull/92) +- 🐛 修正输入框组件的 tokens。 [#98](https://github.com/growingio/gio-design/pull/98) + ## 20.8.2 - 🆕 新增[Alert 警告提示](/components/basic/alert)组件。 [#52](https://github.com/growingio/gio-design/pull/52) diff --git a/packages/website/src/develop/changelog/icons.zh-CN.md b/packages/website/src/develop/changelog/icons.zh-CN.md index 0c6ff12828..e1a2b9143c 100644 --- a/packages/website/src/develop/changelog/icons.zh-CN.md +++ b/packages/website/src/develop/changelog/icons.zh-CN.md @@ -9,6 +9,10 @@ nav: # @gio-design/icons 更新日志 +## 20.8.2 + +- 🆕 新增 `LeftDoubleOutlined`、`LeftOutlined`、`RightDoubleOutlined`、`RightOutlined` 图标。 [#57](https://github.com/growingio/gio-design/pull/57) + ## 20.8.1 - 📛 `Loading` 图标名称更新为 `LoadingBlackOutlined` 和 `LoadingWhiteOutlined`。 [#71](https://github.com/growingio/gio-design/pull/71) diff --git a/packages/website/src/develop/changelog/tokens.zh-CN.md b/packages/website/src/develop/changelog/tokens.zh-CN.md index 0804c4d8a3..e214e2edd6 100644 --- a/packages/website/src/develop/changelog/tokens.zh-CN.md +++ b/packages/website/src/develop/changelog/tokens.zh-CN.md @@ -9,6 +9,13 @@ nav: # @gio-design/tokens 更新日志 +## 20.8.3 + +- 🆕 更新 `Toggles 开关` 相关的 `Tokens`。 [#76](https://github.com/growingio/gio-design/pull/76) +- 🆕 更新 `Button 按钮`组件的 `Tokens`。 [#92](https://github.com/growingio/gio-design/pull/92) +- 🆕 更新 `Tag 标签`组件的 `Tokens`。 [#93](https://github.com/growingio/gio-design/pull/93) +- 🆕 更新 `Input 输入框`组件的 `Tokens`。 [#98](https://github.com/growingio/gio-design/pull/98) + ## 20.8.2 - 🆕 为色板中添加新颜色,更新 `Link 链接`、`Radio 单选框` 和 `Sign 标记` 三个组件的 `Tokens`。 [#69](https://github.com/growingio/gio-design/pull/69) diff --git a/yarn.lock b/yarn.lock index e634a57983..806debd95f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7222,7 +7222,7 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= -concat-stream@^1.5.0, concat-stream@^1.5.2, concat-stream@^1.6.0: +concat-stream@^1.4.7, concat-stream@^1.5.0, concat-stream@^1.5.2, concat-stream@^1.6.0: version "1.6.2" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -15753,6 +15753,11 @@ os-name@^3.1.0: macos-release "^2.2.0" windows-release "^3.1.0" +os-shim@^0.1.2: + version "0.1.3" + resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917" + integrity sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc= + os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -17136,6 +17141,15 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.13, postcss@^7.0.14, postcss@^7.0.1 source-map "^0.6.1" supports-color "^6.1.0" +pre-commit@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/pre-commit/-/pre-commit-1.2.2.tgz#dbcee0ee9de7235e57f79c56d7ce94641a69eec6" + integrity sha1-287g7p3nI15X95xW186UZBpp7sY= + dependencies: + cross-spawn "^5.0.1" + spawn-sync "^1.0.15" + which "1.2.x" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" @@ -20054,6 +20068,14 @@ sparkles@^1.0.0: resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.1.tgz#008db65edce6c50eec0c5e228e1945061dd0437c" integrity sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw== +spawn-sync@^1.0.15: + version "1.0.15" + resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476" + integrity sha1-sAeZVX63+wyDdsKdROih6mfldHY= + dependencies: + concat-stream "^1.4.7" + os-shim "^0.1.2" + spdx-correct@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" @@ -22657,6 +22679,13 @@ which-pm-runs@^1.0.0: resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= +which@1.2.x: + version "1.2.14" + resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5" + integrity sha1-mofEN48D6CfOyvGs31bHNsAcFOU= + dependencies: + isexe "^2.0.0" + which@^1.2.14, which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"