Skip to content

Commit

Permalink
Update tsconfig (#12)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jamesdabbs authored Apr 1, 2021
1 parent 6ca83a7 commit 2d12f67
Show file tree
Hide file tree
Showing 9 changed files with 11,517 additions and 5,883 deletions.
1 change: 1 addition & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
3 changes: 3 additions & 0 deletions .czrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "./node_modules/cz-conventional-changelog"
}
5 changes: 5 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm run lint:staged
5 changes: 5 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && ./node_modules/.bin/cz --hook || true
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Changelog

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.

## [0.1.0](https://github.com/pi-base/dev/compare/v0.0.6...v0.1.0) (2021-04-01)

### ⚠ BREAKING CHANGES

- **tsconfig:** `tsconfig.shared.json/outFile` is no longer set

### Features

- add release script ([a555c66](https://github.com/pi-base/dev/commit/a555c66b584139b418c7355024da2abc78f49981))

### build

- **tsconfig:** avoid setting outFile ([02ade1b](https://github.com/pi-base/dev/commit/02ade1b50e983afc718457ff00dc5138b4880972))

# Change Log

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

0 comments on commit 2d12f67

Please sign in to comment.