Skip to content

Commit

Permalink
chore(pkg): change the execution timing of the changelog generator
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed May 21, 2021
1 parent cf18a24 commit 0ff511f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 23 deletions.
34 changes: 21 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@

# Changelog

## v2.0.0-beta.54(2021-05-21)


### :beetle: Bug Fixes

1. [fix(json-schema): remove array patch state logic](https://github.com/alibaba/formily/commit/73bd9a47) :point_right: ( [janrywang](https://github.com/janrywang) )


### :memo: Documents Changes

1. [docs(readme): add v2 site link](https://github.com/alibaba/formily/commit/30df44b7) :point_right: ( [janrywang](https://github.com/janrywang) )


### :blush: Other Changes

1. [chore(scripts): slice changelog counts](https://github.com/alibaba/formily/commit/fead7843) :point_right: ( [janrywang](https://github.com/janrywang) )

1. [chore(project): add automatic changelog generator](https://github.com/alibaba/formily/commit/b9bef50a) :point_right: ( [janrywang](https://github.com/janrywang) )



## v2.0.0-beta.53(2021-05-20)


Expand Down Expand Up @@ -1409,17 +1430,4 @@
1. [chore(travis): Guaranteed dependency peering (#288)](https://github.com/alibaba/formily/commit/97885c2c) :point_right: ( [atzcl](https://github.com/atzcl) )



## v0.3.11(2019-08-18)


### :beetle: Bug Fixes

1. [Chore fix typo (#264)](https://github.com/alibaba/formily/commit/a8cfd408) :point_right: ( [Harry Yu](https://github.com/Harry Yu) )

1. [fix(antd): improve week type moment parse regex (#254)](https://github.com/alibaba/formily/commit/88654b80) :point_right: ( [Wayne Zhu](https://github.com/Wayne Zhu) )

1. [fix(examples): remove the onChange of next/Detail (#257)](https://github.com/alibaba/formily/commit/62ae0cbb) :point_right: ( [atzcl](https://github.com/atzcl) )



21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@
"test:prod": "jest --coverage --silent",
"coverage:upload": "rm -rf ./coverage && npm run coverage && node ./scripts/mapCoverage.js && codecov",
"prevesion": "npm run build && npm run lint && npm run test",
"version:alpha": "npm run prevesion && lerna version prerelease --preid alpha",
"version:beta": "npm run prevesion && lerna version prerelease --preid beta",
"version:rc": "npm run prevesion && lerna version prerelease --preid rc",
"version:patch": "npm run prevesion && lerna version patch",
"version:minor": "npm run prevesion && lerna version minor",
"version:preminor": "npm run prevesion && lerna version preminor --preid beta",
"version:major": "npm run prevesion && lerna version major",
"afterversion": "ts-node scripts/release changelog && git add -A",
"version:alpha": "npm run prevesion && lerna version prerelease --preid alpha && npm run afterversion",
"version:beta": "npm run prevesion && lerna version prerelease --preid beta && npm run afterversion",
"version:rc": "npm run prevesion && lerna version prerelease --preid rc && npm run afterversion",
"version:patch": "npm run prevesion && lerna version patch && npm run afterversion",
"version:minor": "npm run prevesion && lerna version minor && npm run afterversion",
"version:preminor": "npm run prevesion && lerna version preminor --preid beta && npm run afterversion",
"version:major": "npm run prevesion && lerna version major && npm run afterversion",
"release:force": "lerna publish from-package --yes && ts-node scripts/release release",
"prelease:force": "lerna publish from-package --yes --dist-tag next && ts-node scripts/release release",
"release": "lerna publish",
Expand Down Expand Up @@ -78,8 +79,8 @@
"cz-conventional-changelog": "^2.1.0",
"dumi": "^1.1.0-rc.8",
"eslint": "^7.14.0",
"semver":"^7.3.5",
"string-similarity":"^4.0.4",
"semver": "^7.3.5",
"string-similarity": "^4.0.4",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^11.1.0",
Expand Down Expand Up @@ -152,7 +153,7 @@
},
"config": {
"ghooks": {
"pre-commit": "ts-node scripts/release changelog && git add -A && lint-staged",
"pre-commit": "lint-staged",
"commit-msg": "node ./scripts/validate-commit-msg.js"
},
"commitizen": {
Expand Down

0 comments on commit 0ff511f

Please sign in to comment.