Skip to content

Commit

Permalink
fix(cli): simple-git-hooks scripts and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Feb 19, 2024
1 parent 084d726 commit 3d49058
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,12 @@ module.exports = lintStaged();`,
{
description: 'simple-git-hooks',
field: 'simple-git-hooks',
packages: ['simple-git-hooks'],
packages: ['simple-git-hooks', 'is-ci'],
path: '.simple-git-hooks.cjs',
patterns: ['.simple-git-hooks*', 'simple-git-hooks.*'],
scripts: {
prepare: 'is-ci || simple-git-hooks',
},
template: `const { simpleGitHooks } = require('@modyqyw/fabric');
module.exports = simpleGitHooks();`,
Expand Down

0 comments on commit 3d49058

Please sign in to comment.