@pubinfo-pr/commitlint 0.223.1 → 0.224.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -349,7 +349,7 @@ function runSimpleGitHooks(script = "pubinfo-commit", cwd = process.cwd(), enabl
349
349
  const raw = fs.readFileSync(pkgPath, "utf8");
350
350
  const json = JSON.parse(raw);
351
351
  const hooks = json["simple-git-hooks"] || {};
352
- const desiredPre = "pnpm lint-staged --no-stash";
352
+ const desiredPre = "pnpm lint-staged";
353
353
  const desiredCommitMsg = `pnpm exec ${script} --edit $1`;
354
354
  if (hooks["pre-commit"] !== desiredPre) hooks["pre-commit"] = desiredPre;
355
355
  if (hooks["commit-msg"] !== desiredCommitMsg) hooks["commit-msg"] = desiredCommitMsg;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/commitlint",
3
3
  "type": "module",
4
- "version": "0.223.1",
4
+ "version": "0.224.1",
5
5
  "description": "commitlint config for Pubinfo projects",
6
6
  "exports": {
7
7
  ".": "./dist/index.mjs"