|
16 | 16 | "scripts": { |
17 | 17 | "preinstall": "npx only-allow pnpm", |
18 | 18 | "postinstall": "simple-git-hooks", |
| 19 | + "commit": "czg", |
19 | 20 | "format": "biome check --write --verbose", |
20 | 21 | "lint": "eslint --fix & tsc --noEmit --incremental", |
21 | 22 | "test": "vitest", |
22 | 23 | "build": "tsup src/index.ts --format cjs,esm --dts --clean --sourcemap && attw -P .", |
| 24 | + "version": "changeset version", |
23 | 25 | "release": "changeset publish" |
24 | 26 | }, |
25 | 27 | "devDependencies": { |
26 | 28 | "@arethetypeswrong/cli": "^0.15.4", |
27 | 29 | "@biomejs/biome": "^1.8.3", |
| 30 | + "@changesets/changelog-github": "0.5.0", |
28 | 31 | "@changesets/cli": "^2.27.7", |
| 32 | + "@commitlint/cli": "19.4.1", |
| 33 | + "@commitlint/config-conventional": "19.4.1", |
29 | 34 | "@eslint/js": "^9.6.0", |
30 | 35 | "@types/eslint": "^8.56.10", |
31 | 36 | "@types/node": "^20.14.10", |
32 | 37 | "@vitest/coverage-v8": "^2.0.2", |
33 | | - "eslint": "^9.6.0", |
| 38 | + "cz-git": "1.9.4", |
| 39 | + "czg": "1.9.4", |
34 | 40 | "simple-git-hooks": "^2.11.1", |
35 | 41 | "tsup": "^8.2.4", |
36 | 42 | "typescript-eslint": "^7.16.0", |
|
46 | 52 | "simple-git-hooks": { |
47 | 53 | "pre-commit": "pnpm run format", |
48 | 54 | "pre-push": "pnpm run lint" |
| 55 | + }, |
| 56 | + "config": { |
| 57 | + "commitizen": { |
| 58 | + "path": "node_modules/cz-git" |
| 59 | + } |
49 | 60 | } |
50 | 61 | } |
0 commit comments