Skip to content

Commit 2d12f67

Browse files
authored
Update tsconfig (#12)
* chore: configure conventional commits * build(tsconfig): avoid setting outFile Setting `outFile` precludes `module: "esnext"` and can't (easily?) be unset by projects extending from this config. BREAKING CHANGE: `tsconfig.shared.json/outFile` is no longer set * feat: add release script * chore(release): 0.1.0
1 parent 6ca83a7 commit 2d12f67

9 files changed

Lines changed: 11517 additions & 5883 deletions

File tree

.commitlintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] }

.czrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "./node_modules/cz-conventional-changelog"
3+
}

.husky/commit-msg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
. "$(dirname "$0")/_/husky.sh"
4+
5+
npx --no-install commitlint --edit

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
#!/bin/sh
2+
3+
. "$(dirname "$0")/_/husky.sh"
4+
15
npm run lint:staged

.husky/prepare-commit-msg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
. "$(dirname "$0")/_/husky.sh"
4+
5+
exec < /dev/tty && ./node_modules/.bin/cz --hook || true

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
## [0.1.0](https://github.com/pi-base/dev/compare/v0.0.6...v0.1.0) (2021-04-01)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
- **tsconfig:** `tsconfig.shared.json/outFile` is no longer set
10+
11+
### Features
12+
13+
- add release script ([a555c66](https://github.com/pi-base/dev/commit/a555c66b584139b418c7355024da2abc78f49981))
14+
15+
### build
16+
17+
- **tsconfig:** avoid setting outFile ([02ade1b](https://github.com/pi-base/dev/commit/02ade1b50e983afc718457ff00dc5138b4880972))
18+
119
# Change Log
220

321
## [v0.0.7](https://github.com/pi-base/dev/compare/v0.0.6...v0.0.7)

0 commit comments

Comments
 (0)