@1stg/simple-git-hooks
Advanced tools
Comparing version
# Change Log | ||
## 0.2.0 | ||
### Minor Changes | ||
- [#117](https://github.com/1stG/configs/pull/117) [`5b9ae0a`](https://github.com/1stG/configs/commit/5b9ae0aa2df2fabf119bc79c1d735be1894830c7) Thanks [@JounQin](https://github.com/JounQin)! - feat: detect script runner automatically | ||
### Patch Changes | ||
- [#117](https://github.com/1stG/configs/pull/117) [`5b9ae0a`](https://github.com/1stG/configs/commit/5b9ae0aa2df2fabf119bc79c1d735be1894830c7) Thanks [@JounQin](https://github.com/JounQin)! - chore: upgrade @pkgr/utils | ||
## 0.1.4 | ||
@@ -4,0 +14,0 @@ |
@@ -0,4 +1,8 @@ | ||
const { getScriptRunner } = require('@pkgr/utils') | ||
const runner = getScriptRunner() || 'npx' | ||
module.exports = { | ||
'pre-commit': 'npx lint-staged', | ||
'commit-msg': `npx commitlint -e`, | ||
'pre-commit': `${runner} lint-staged`, | ||
'commit-msg': `${runner} commitlint -e`, | ||
} |
{ | ||
"name": "@1stg/simple-git-hooks", | ||
"version": "0.1.4", | ||
"version": "0.2.0", | ||
"description": "Personal but Shareable simple-git-hooks Configuration for all 1stG.me projects.", | ||
@@ -45,2 +45,5 @@ "repository": "git+https://github.com/1stG/configs.git", | ||
}, | ||
"dependencies": { | ||
"@pkgr/utils": "^2.3.0" | ||
}, | ||
"publishConfig": { | ||
@@ -47,0 +50,0 @@ "access": "public" |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2905
29.63%6
50%4
33.33%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed