Skip to content

Commit

Permalink
chore: remove lerna and add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Jul 19, 2020
1 parent 46ddedc commit 23111b3
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 4,742 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ before_install:
install:
- yarn install --frozen-lockfile
script:
- npm run bootstrap
- npm run build
- npm run lint
- npm run test
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## [2.9.0](https://github.com/plantain-00/type-coverage/compare/v2.8.4...v2.9.0) (2020-07-17)

* feat: exclude safe type assertion in strict mode ([b76b2a3](https://github.com/plantain-00/type-coverage/commit/b76b2a36c5abc13959a3a04ef69811a526d3362a))
* chore(deps): bump lodash from 4.17.15 to 4.17.19 ([c195487](https://github.com/plantain-00/type-coverage/commit/c19548744ae1c628f5be6ddf2336fb8557e5550a))
* docs: add github ci badge ([7af9e04](https://github.com/plantain-00/type-coverage/commit/7af9e04ec1e4176abf08528fb8d6aceeabf9ff94))
* chore: add CHANGELOG ([a0460d2](https://github.com/plantain-00/type-coverage/commit/a0460d2c0a0dd1bef513f3d0fde8dbd3d85322df))
* chore: update dependencies ([41b0c73](https://github.com/plantain-00/type-coverage/commit/41b0c7392ddf881a5fb0802cde360ba73d8a2074))
* chore: remove tsconfig.eslint.json ([b089d9d](https://github.com/plantain-00/type-coverage/commit/b089d9d335bb66d38e08851475d4e0107a375a3f))
* docs: add features history ([127e567](https://github.com/plantain-00/type-coverage/commit/127e5678e268eb2f4911727e57bc1c1df32303f2))
* chore: reuse tsconfig.json ([087435f](https://github.com/plantain-00/type-coverage/commit/087435f15a6cd0feb74cdaad59a05d50becd1822))

## [2.8.4](https://github.com/plantain-00/type-coverage/compare/v2.8.3...v2.8.4) (2020-07-05)

* fix: extends baseUrl should be same behavior with tsc ([1de7f4c](https://github.com/plantain-00/type-coverage/commit/1de7f4c26ba2b4dff2966750f080cd8385714fff))
Expand Down Expand Up @@ -375,4 +386,4 @@
* fix: false positive for global unknown identifier ([d47b6fe](https://github.com/plantain-00/type-coverage/commit/d47b6fefa92710d36c592baf5fce9660636745bd))
* ci: use conventional commit lint config ([764626f](https://github.com/plantain-00/type-coverage/commit/764626f96ee1bace909a938f63746d24882ed243))
* feat: add basic feature ([b012304](https://github.com/plantain-00/type-coverage/commit/b012304fd7b73e15c4c162b8a22787f0ffa3214c))
* Initial commit ([3f10d8e](https://github.com/plantain-00/type-coverage/commit/3f10d8e5551a61272be602c908aba463f886988b))
* Initial commit ([3f10d8e](https://github.com/plantain-00/type-coverage/commit/3f10d8e5551a61272be602c908aba463f886988b))
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ install:
test_script:
- node --version
- npm --version
- npm run bootstrap
- npm run build
- npm run lint
- npm run test
Expand Down
25 changes: 25 additions & 0 deletions clean-release.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
export default {
include: [
'packages/*/dist/*',
'packages/*/es/*',
'packages/*/package.json',
'packages/*/README.md',
],
exclude: [
],
askVersion: true,
changesGitStaged: true,
postScript: ({ dir, tag, version, effectedWorkspacePaths }) => [
...effectedWorkspacePaths.map((w) => w.map((e) => {
return tag
? `npm publish "${dir}/${e}" --access public --tag ${tag}`
: `npm publish "${dir}/${e}" --access public`
})),
`git-commits-to-changelog --release ${version}`,
'git add CHANGELOG.md',
`git commit -m "${version}"`,
`git tag -a v${version} -m 'v${version}'`,
'git push',
`git push origin v${version}`
]
}
8 changes: 0 additions & 8 deletions lerna.json

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"eslint": "7.4.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-plantain": "1.0.0",
"lerna": "3.22.1",
"markdownlint-cli": "0.23.2",
"no-unused-export": "1.11.1",
"rimraf": "3.0.2",
Expand All @@ -23,7 +22,6 @@
"typescript": "3.9.7"
},
"scripts": {
"bootstrap": "lerna bootstrap -- --frozen-lockfile",
"build": "clean-scripts build",
"lint": "clean-scripts lint",
"test": "clean-scripts test",
Expand Down
Loading

0 comments on commit 23111b3

Please sign in to comment.