-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
husky-4-to-5 v1.0.0
- Loading branch information
Showing
4 changed files
with
13 additions
and
8 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 @@ | ||
_ |
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" | ||
|
||
npx --no-install commitlint --edit $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" | ||
|
||
npx --no-install 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"name": "@microlink/root", | ||
"description": "Turns links into a beautiful previews", | ||
"homepage": "https://microlink.io/sdk", | ||
"version": "", | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Kiko Beats", | ||
|
@@ -29,7 +30,7 @@ | |
"@commitlint/config-conventional": "latest", | ||
"finepack": "latest", | ||
"git-authors-cli": "latest", | ||
"husky": "latest", | ||
"husky": "~5.2.0", | ||
"lerna": "latest", | ||
"lint-staged": "latest", | ||
"npm-check-updates": "latest", | ||
|
@@ -43,8 +44,9 @@ | |
"scripts": { | ||
"build": "lerna run build", | ||
"clean": "lerna clean --yes && rm -rf node_modules", | ||
"lint": "standard-markdown README.md && lerna exec npm run lint", | ||
"install": "lerna bootstrap --force-local --no-ci", | ||
"lint": "standard-markdown README.md && lerna exec npm run lint", | ||
"postinstall": "husky install", | ||
"prepublishOnly": "lerna run build", | ||
"prerelease": "npm run update:check", | ||
"pretest": "npm run lint", | ||
|
@@ -61,12 +63,6 @@ | |
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"package.json": [ | ||
"finepack" | ||
|