Skip to content

Commit

Permalink
Merge pull request #20 from wpmudev/enhance/changelog
Browse files Browse the repository at this point in the history
📝 docs: Automatic global changelogs based on PRs.
  • Loading branch information
iamleigh authored Feb 9, 2021
2 parents eee011b + 26f2be2 commit 6649254
Show file tree
Hide file tree
Showing 10 changed files with 262 additions and 155 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ storybook-static
node_modules
.DS_Store
.npmrc
.changelog
23 changes: 23 additions & 0 deletions GHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Unreleased (2021-02-09)

#### ✨ Enhancement
* `button`
* [#15](https://github.com/wpmudev/shared-ui-react/pull/15) Enhance/button ([@iamleigh](https://github.com/iamleigh))
* Other
* [#14](https://github.com/wpmudev/shared-ui-react/pull/14) ⬆️ Upgrade Storybook ([@iamleigh](https://github.com/iamleigh))
* [#11](https://github.com/wpmudev/shared-ui-react/pull/11) New/lint action ([@iamleigh](https://github.com/iamleigh))

#### 🐛 Bug Fix
* `box`, `button`, `core`, `notifications`, `post`, `tutorials-list`, `tutorials-slider`, `tutorials`
* [#13](https://github.com/wpmudev/shared-ui-react/pull/13) 🐛 fix/eslint: Work on files errors and warnings. ([@iamleigh](https://github.com/iamleigh))
* `builder`
* [#12](https://github.com/wpmudev/shared-ui-react/pull/12) 🐛 fix/builder: Remove `react-` prefix from built file. ([@iamleigh](https://github.com/iamleigh))

#### 📝 Documentation
* `button`
* [#15](https://github.com/wpmudev/shared-ui-react/pull/15) Enhance/button ([@iamleigh](https://github.com/iamleigh))
* Other
* [#10](https://github.com/wpmudev/shared-ui-react/pull/10) Enhance/documentation ([@iamleigh](https://github.com/iamleigh))

#### Committers: 1
- Leighton Sapir ([@iamleigh](https://github.com/iamleigh))
6 changes: 3 additions & 3 deletions docs/contributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Go ahead an open a pull request when:

> Have in mind that anything larger to 20 lines of code or changes to an API will require an issue to be opened first.
## Commit Message Format
## Pull Request Message Format

The final commit message to the @wpmudev/react-foo package, for GitHub issue 1234, should look like this:
The final pull request message to the @wpmudev/react-foo package, for GitHub issue 1234, should look like this:

```
# For a fix to an issue
Expand All @@ -43,7 +43,7 @@ The final commit message to the @wpmudev/react-foo package, for GitHub issue 123
♿️ aria/component-name: Short description of feature
```

This commit message is pulled into our `CHANGELOG` when we release and is based on Angular's Git commit guidelines.
This commit message is pulled into our `CHANGELOG` when we release and is based on [conventional commits](https://www.conventionalcommits.org/) guidelines.

## Pull Requests.

Expand Down
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"gh-pages": "^3.1.0",
"jest": "^26.6.3",
"lerna": "^3.22.1",
"lerna-changelog": "^1.0.1",
"prettier": "2.2.1",
"react-is": "^17.0.1",
"react-test-renderer": "^17.0.1",
Expand All @@ -49,6 +50,18 @@
"build-storybook": "build-storybook --no-dll",
"deploy": "yarn run build-storybook && gh-pages -d storybook-static -b gh-pages -m \"🚀 Update showcase with latest changes.\"",
"chromatic": "yarn run build-storybook && npx chromatic --project-token=8qcmh09rb9f --storybook-build-dir storybook-static",
"lint": "yarn run eslint packages/**/lib/*.js"
"lint": "yarn run eslint packages/**/lib/*.js",
"logs": "lerna-changelog"
},
"changelog": {
"repo": "wpmudev/shared-ui-react",
"labels": {
"core": "🌏 Core",
"improvement": "✨ Enhancement",
"bug": "🐛 Bug Fix",
"accessibility": "♿️ Accessibility Changes",
"documentation": "📝 Documentation"
},
"cacheDir": ".changelog"
}
}
15 changes: 0 additions & 15 deletions packages/box/CHANGELOG.md

This file was deleted.

6 changes: 0 additions & 6 deletions packages/notifications/CHANGELOG.md

This file was deleted.

26 changes: 0 additions & 26 deletions packages/post/CHANGELOG.md

This file was deleted.

39 changes: 0 additions & 39 deletions packages/tutorials-list/CHANGELOG.md

This file was deleted.

42 changes: 0 additions & 42 deletions packages/tutorials-slider/CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 6649254

Please sign in to comment.