-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhuzhengjian
committed
Jul 25, 2022
1 parent
bf39725
commit c77828b
Showing
9 changed files
with
659 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
pnpm exec commitlint -e $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
pnpm exec lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
extends: [ | ||
'@commitlint/config-conventional', | ||
], | ||
rules: { | ||
'subject-max-length': [1, 'always', 150], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
{ | ||
"name": "monorepo-starter-template", | ||
"version": "0.0.10", | ||
"packageManager": "[email protected]", | ||
"description": "this is monorepo starter template", | ||
"scripts": { | ||
"prepare": "husky install", | ||
"release": "esno ./scripts/release.ts --tag" | ||
}, | ||
"packageManager": "[email protected]", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mistjs/monorepo-starter.git" | ||
}, | ||
"keywords": [ | ||
"monorepo", | ||
"monorepo-template" | ||
], | ||
"license": "MIT", | ||
"author": { | ||
"name": "aibayanyu", | ||
"email": "[email protected]" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mistjs/monorepo-starter.git" | ||
}, | ||
"scripts": { | ||
"prepare": "husky install", | ||
"release": "esno ./scripts/release.ts --tag" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mistjs/monorepo-starter/issues" | ||
}, | ||
"homepage": "https://github.com/mistjs/monorepo-starter#readme", | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.0.3", | ||
"@commitlint/config-conventional": "^17.0.3", | ||
"@mistjs/eslint-config": "^0.0.2", | ||
"@mistjs/tsconfig": "^1.0.0", | ||
"@types/minimist": "^1.2.2", | ||
|
@@ -38,8 +40,15 @@ | |
"execa": "^6.1.0", | ||
"find-packages": "^9.0.6", | ||
"husky": "^7.0.4", | ||
"lint-staged": "^13.0.3", | ||
"minimist": "^1.2.6", | ||
"prompts": "^2.4.2", | ||
"typescript": "^4.7.4" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx,js,vue}": "eslint . --fix" | ||
}, | ||
"engines": { | ||
"node": ">=14.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.