diff --git a/.husky/pre-commit.mjs b/.husky/pre-commit.mjs index 59045069a..6e7153394 100644 --- a/.husky/pre-commit.mjs +++ b/.husky/pre-commit.mjs @@ -16,5 +16,5 @@ const modifledPartials = modifiedFiles.filter((file) => file.match(/(^|\/)_.*.js if (modifledPartials.length > 0) { const output = await run('npm run build:json --silent'); console.log(output); - await run('git add .'); + await run('git add component-models.json component-definition.json component-filters.json'); }