Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
chore: release 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
inyono committed Jun 5, 2019
1 parent c1db6ad commit cfd26cc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [0.1.3](https://github.com/splish/changelog/compare/0.1.2..0.1.3) - June 5, 2019

### Added

- Add scoped changelog entries

## [0.1.2](https://github.com/splish/changelog/compare/0.1.1..0.1.2) - February 8, 2019

### Fixed
Expand Down
6 changes: 4 additions & 2 deletions __tests__/generate-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('generate changelog', () => {
})

test('scoped unreleased changes w/ sections', () => {
const changelog = createChangelog<"main" | "foo">([
const changelog = createChangelog<'main' | 'foo'>([
{
breakingChanges: [
['main', 'Drop support for Internet Explorer 9'],
Expand Down Expand Up @@ -124,7 +124,9 @@ describe('generate changelog', () => {
})
})

function createChangelog<Scope = undefined>(releases: Changelog<Scope>['releases']): Changelog<Scope> {
function createChangelog<Scope = undefined>(
releases: Changelog<Scope>['releases']
): Changelog<Scope> {
return {
repository: {
firstCommit: 'bc6106e006b1633f5e6c15f6af2eef0443d8e81f',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splish-me/changelog",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "https://github.com/splish/changelog",
"bugs": {
"url": "https://github.com/splish/changelog/issues"
Expand All @@ -14,7 +14,7 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "splish-microbundle --target=node --format cjs",
"changelog": "ts-node --compilerOptions '{\"module\": \"commonjs\"}' scripts/changelog",
"changelog": "ts-node --compiler-options '{\"module\": \"commonjs\"}' scripts/changelog",
"format": "prettier --write \"{{__tests__,src}/**/*,*}.{js,jsx,ts,tsx,css,scss,sass,less,json,md,markdown,yaml,yml}\"",
"lint": "tsc --noEmit",
"test": "jest",
Expand Down
5 changes: 5 additions & 0 deletions scripts/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ async function exec(): Promise<void> {
tagName: '0.1.2',
date: '2019-02-08',
fixed: ['Move `@types/mdast` to dependencies']
},
{
tagName: '0.1.3',
date: '2019-06-05',
added: ['Add scoped changelog entries']
}
])

Expand Down

0 comments on commit cfd26cc

Please sign in to comment.