-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch to commitizen, husky and standard-version
- Loading branch information
Showing
7 changed files
with
1,726 additions
and
31 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,3 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
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,12 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
# Fetch the GIT diff and format it as command input: | ||
DIFF=$(git -c diff.mnemonicprefix=false -c diff.noprefix=false --no-pager diff -r -p -m -M --full-index --no-color --staged | cat) | ||
|
||
# Grumphp env vars | ||
|
||
export GRUMPHP_GIT_WORKING_DIR="$(git rev-parse --show-toplevel)" | ||
|
||
# Run GrumPHP | ||
(cd "./" && printf "%s\n" "${DIFF}" | exec 'vendor/phpro/grumphp-shim/grumphp' 'git:pre-commit' '--skip-success-output') |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ module.exports = { | |
"/blog/how-to-use-secrets.html" | ||
], | ||
}, | ||
"/Changelog.html" | ||
"/CHANGELOG.html" | ||
] | ||
} | ||
}; |
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 +1 @@ | ||
../Changelog.md | ||
../CHANGELOG.md |
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,10 +1,31 @@ | ||
{ | ||
"name": "phabalicious", | ||
"version": "3.8.0-beta.4", | ||
"main": "index.js", | ||
"repository": "https://github.com/factorial-io/phabalicious.git", | ||
"author": "Stephan Huber <[email protected]>", | ||
"license": "MIT", | ||
"private": true, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.0.1", | ||
"@commitlint/config-conventional": "^17.0.0", | ||
"@factorial/vuepress-theme": "1.0.0-alpha.1", | ||
"commitizen": "^4.2.4", | ||
"cz-conventional-changelog": "3.3.0", | ||
"cz-customizable": "^6.3.0", | ||
"husky": "^8.0.1", | ||
"standard-version": "^9.5.0", | ||
"vuepress": "^1.1.0" | ||
}, | ||
"scripts": { | ||
"docs:dev": "vuepress dev docs", | ||
"docs:build": "vuepress build docs" | ||
"docs:build": "vuepress build docs", | ||
"postinstall": "husky install", | ||
"release": "standard-version -t ''" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
} |
Oops, something went wrong.