diff --git a/.release-it.json b/.release-it.json index 2bf116c..1f6229f 100644 --- a/.release-it.json +++ b/.release-it.json @@ -4,8 +4,13 @@ "commitMessage": "chore: release v${version}" }, "hooks": { - "before:init": ["git pull", "pnpm lint", "pnpm test"], - "before:release": ["pnpm clean", "pnpm build"], + "before:init": [ + "git pull", + "pnpm clean", + "pnpm build", + "pnpm lint", + "pnpm test" + ], "after:bump": "pnpm changelog" }, "github": { diff --git a/package.json b/package.json index af9d6c0..ff0c703 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ ], "scripts": { "build": "pkgroll", - "lint": "prettier --write .", - "test": "vitest run --coverage", "clean": "rm -rf coverage dist", + "lint": "prettier --write --ignore-path .prettierignore .", + "test": "vitest run --coverage", "changelog": "pnpm auto-changelog", "prepare": "husky install", "release": "release-it"