Skip to content

Commit 111198b

Browse files
feat(changelog): use lerna (#1819)
Co-authored-by: James George <jamesgeorge998001@gmail.com>
1 parent 242d2ec commit 111198b

6 files changed

Lines changed: 276 additions & 166 deletions

File tree

build/changelog-generator/index.js

Lines changed: 0 additions & 93 deletions
This file was deleted.

build/changelog-generator/templates/commit.hbs

Lines changed: 0 additions & 28 deletions
This file was deleted.

build/changelog-generator/templates/header.hbs

Lines changed: 0 additions & 13 deletions
This file was deleted.

build/changelog-generator/templates/template.hbs

Lines changed: 0 additions & 22 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"watch": "tsc --build --watch",
3131
"prepsuite": "node scripts/prepareSuite.js",
3232
"commit": "git-cz",
33-
"changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile CHANGELOG.md --same-file",
33+
"changelog": "lerna-changelog",
3434
"lint:prettier": "prettier --list-different . \"!**/*.{js,ts}\" ",
3535
"lint:eslint": "eslint --cache --ext .js --ext .ts .",
3636
"lint": "yarn lint:eslint && yarn lint:prettier",
@@ -106,6 +106,7 @@
106106
"commitlint": "^9.1.2",
107107
"commitlint-config-cz": "^0.13.1",
108108
"concat-stream": "^2.0.0",
109+
"conventional-changelog-cli": "^2.1.0",
109110
"cz-customizable": "^6.3.0",
110111
"del-cli": "^3.0.1",
111112
"eslint": "^6.8.0",
@@ -121,6 +122,7 @@
121122
"jest-serializer-ansi": "^1.0.3",
122123
"jest-watch-typeahead": "^0.5.0",
123124
"lerna": "^3.22.1",
125+
"lerna-changelog": "^1.0.1",
124126
"lint-staged": "^10.2.11",
125127
"prettier": "^2.0.5",
126128
"readable-stream": "^3.6.0",
@@ -129,7 +131,6 @@
129131
"ts-jest": "^25.5.1",
130132
"typescript": "^3.9.7",
131133
"webpack": "^4.44.1",
132-
"yeoman-test": "^2.7.0",
133-
"conventional-changelog-cli": "^2.1.0"
134+
"yeoman-test": "^2.7.0"
134135
}
135136
}

0 commit comments

Comments
 (0)