Skip to content

Commit

Permalink
feat(git-validator): add tsconfig presets
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Sep 18, 2023
1 parent d9c91f3 commit b1380d5
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nice-kings-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"git-validator": patch
---

feat(git-validator): add tsconfig presets
3 changes: 3 additions & 0 deletions packages/git-validator/cjs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@git-validator/tsconfig/cjs.json"
}
3 changes: 3 additions & 0 deletions packages/git-validator/esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@git-validator/tsconfig/esm.json"
}
3 changes: 3 additions & 0 deletions packages/git-validator/legacy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@git-validator/tsconfig/legacy.json"
}
3 changes: 2 additions & 1 deletion packages/git-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"commitlint"
],
"scripts": {
"build": "tsc --noEmit -p ../../tsconfig.json"
"build": "tsc --noEmit"
},
"bin": {
"git-validator": "./src/bin/git-validator.js",
Expand All @@ -33,6 +33,7 @@
"@commitlint/config-conventional": "^17.7.0",
"@git-validator/eslint-config": "workspace:^",
"@git-validator/prettier-config": "workspace:^",
"@git-validator/tsconfig": "workspace:^",
"commander": "^11.0.0",
"cosmiconfig": "^8.3.6",
"eslint": "^8.49.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/git-validator/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@git-validator/tsconfig/tsconfig.json"
}

0 comments on commit b1380d5

Please sign in to comment.