diff --git a/docs/changelog.md b/docs/changelog.md index 3c6c8ce..0caceea 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,12 @@ nav: order: 5 --- +## [0.8.2](https://github.com/crazyair/yforms/compare/v0.8.1...v0.8.2) (2020-05-20) + +### Bug Fixes + +- 修复依赖问题 ([e693497](https://github.com/crazyair/yforms/commit/e69349760b38fb841e8d76e53b6333d285432bac)) + ## [0.8.1](https://github.com/crazyair/yforms/compare/v0.6.0...v0.8.1) (2020-05-20) - 改名 yforms ([#14](https://github.com/crazyair/yforms/issues/14)) ([1c20a9f](https://github.com/crazyair/yforms/commit/1c20a9fb96aa532750a628a1befde8d6ef6bbf40)) diff --git a/package.json b/package.json index 5550111..9b0e728 100644 --- a/package.json +++ b/package.json @@ -83,14 +83,7 @@ }, "license": "MIT", "dependencies": { - "warning": "^4.0.3", "antd": "^4.2.4", - "@ant-design/icons": "^4.0.3", - "lodash": "^4.17.15", - "moment": "^2.24.0", - "numbro": "^2.2.0", - "nzh": "^1.0.4", - "dayjs": "^1.8.27", "rc-queue-anim": "^1.8.4" } } diff --git a/packages/yforms/package.json b/packages/yforms/package.json index 7010044..d73b70a 100644 --- a/packages/yforms/package.json +++ b/packages/yforms/package.json @@ -1,6 +1,6 @@ { "name": "yforms", - "version": "0.8.1", + "version": "0.8.2", "description": "自定义表单组件", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -29,7 +29,14 @@ "registry": "https://registry.npmjs.org/" }, "dependencies": { - "@babel/runtime": "^7.8.4" + "@babel/runtime": "^7.8.4", + "warning": "^4.0.3", + "antd": "^4.2.4", + "@ant-design/icons": "^4.0.3", + "lodash": "^4.17.15", + "moment": "^2.24.0", + "numbro": "^2.2.0", + "nzh": "^1.0.4" }, "license": "MIT" } diff --git a/scripts/getChangeLog.js b/scripts/getChangeLog.js index f28b1e5..45b7702 100755 --- a/scripts/getChangeLog.js +++ b/scripts/getChangeLog.js @@ -2,19 +2,19 @@ const fs = require('fs'); const { readFileSync } = fs; -const stringFromFile = path => { +const stringFromFile = (path) => { return readFileSync(path, 'utf-8'); }; const text = stringFromFile('./docs/changelog.md'); const versionLogs = text; -const allMatchingWords = versionLogs.split('## '); +const allMatchingWords = versionLogs.split('## ['); let changelog = allMatchingWords[1]; changelog = changelog.replace(/%/g, '%25'); changelog = changelog.replace(/\n/g, '%0A'); changelog = changelog.replace(/\r/g, '%0D'); -const demo = `::set-output name=changelog::## ${changelog}`; +const demo = `::set-output name=changelog::## [${changelog}`; // eslint-disable-next-line no-console console.log(demo);