Skip to content

Commit 3919ec8

Browse files
author
Austin Green
committed
chore(lerna): update versioning flow
1 parent 7f93c8f commit 3919ec8

File tree

38 files changed

+378
-12976
lines changed

38 files changed

+378
-12976
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# General ignores
22
node_modules
33
*.log
4+
.changelog
45

56
# Package specific
67
packages/**/dist

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
> **Tags:**
4+
> - :boom: Breaking Change
5+
> - :rocket: New Feature
6+
> - :bug: Bug Fix
7+
> - :memo: Documentation
8+
> - :seedling: Internal
9+
10+
_Note: Gaps between patch versions are faulty, broken or test releases._
11+
12+
<!-- DO NOT MODIFY BELOW THIS COMMENT -->
13+
<!-- insert-new-changelog-here -->

lerna.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
2+
"version": "5.0.0",
23
"npmClient": "yarn",
3-
"version": "independent",
4+
"npmClientArgs": ["--no-lockfile"],
5+
"changelog": {
6+
"repo": "zendeskgarden/react-components",
7+
"cacheDir": ".changelog",
8+
"labels": {
9+
"PR: Breaking Change :boom:": ":boom: Breaking Change",
10+
"PR: New Feature :rocket:": ":rocket: New Feature",
11+
"PR: Bug Fix :bug:": ":bug: Bug Fix",
12+
"PR: Docs :memo:": ":memo: Documentation",
13+
"PR: Internal :seedling:": ":seedling: Internal"
14+
}
15+
},
416
"ignoreChanges": ["*.md", "*.spec.js", "**/__snapshots__/**", "styleguide.config.js"],
517
"command": {
618
"publish": {

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"prepare": "yarn build",
2121
"start": "utils/scripts/scoped-npm-command.js --script start",
2222
"start:demo": "yarn build:demo && live-server demo",
23-
"tag": "lerna version --conventional-commits",
23+
"tag": "utils/scripts/version.sh",
2424
"test": "yarn test:all --watch",
2525
"test:all": "jest --config=utils/test/jest.config.js"
2626
},
@@ -61,6 +61,7 @@
6161
"eslint-plugin-react-hooks": "1.6.0",
6262
"fs-extra": "8.0.1",
6363
"fuzzy": "0.1.3",
64+
"get-stdin": "7.0.0",
6465
"gh-pages": "2.0.1",
6566
"github-markdown-css": "3.0.1",
6667
"glob": "7.1.4",
@@ -76,11 +77,13 @@
7677
"jest-enzyme": "7.0.2",
7778
"jest-styled-components": "7.0.0-2",
7879
"lerna": "3.14.1",
80+
"lerna-changelog": "0.8.2",
7981
"lint-staged": "8.1.7",
8082
"live-server": "1.2.1",
8183
"markdown-loader": "5.0.0",
8284
"markdownlint-cli": "0.16.0",
8385
"mini-css-extract-plugin": "0.6.0",
86+
"node-fetch": "2.6.0",
8487
"optimize-css-assets-webpack-plugin": "5.0.1",
8588
"prettier": "1.17.1",
8689
"prettier-package-json": "2.1.0",

packages/.template/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)