|
17 | 17 | "keywords": ["homebrew", "pkgx", "bun", "package"], |
18 | 18 | "scripts": { |
19 | 19 | "build": "for dir in packages/*; do if [ -f \"$dir/package.json\" ]; then echo \"Building $dir\" && bun run --cwd $dir build; fi; done", |
20 | | - "lint": "bunx --bun eslint .", |
21 | | - "lint:fix": "bunx --bun eslint . --fix", |
22 | 20 | "fresh": "bunx rimraf node_modules/ bun.lock && bun i", |
23 | | - "changelog": "bunx --bun changelogen --output CHANGELOG.md", |
24 | | - "release": "bun run changelog && bunx --bun bumpp -r --all", |
25 | 21 | "test": "bun test", |
| 22 | + "lint": "bunx --bun eslint .", |
| 23 | + "lint:fix": "bunx --bun eslint . --fix", |
| 24 | + "changelog": "bunx logsmith --verbose", |
| 25 | + "changelog:generate": "bunx logsmith --output CHANGELOG.md", |
| 26 | + "release": "bun run changelog:generate && bunx bumpx prompt --recursive", |
| 27 | + "postinstall": "bunx git-hooks", |
26 | 28 | "dev:docs": "bun vitepress dev docs", |
27 | 29 | "build:docs": "bun vitepress build docs", |
28 | 30 | "preview:docs": "bun vitepress preview docs", |
29 | 31 | "typecheck": "bun --bun tsc --noEmit" |
30 | 32 | }, |
31 | 33 | "devDependencies": { |
| 34 | + "@stacksjs/bumpx": "^0.1.17", |
32 | 35 | "@stacksjs/docs": "^0.70.23", |
33 | 36 | "@stacksjs/eslint-config": "^4.14.0-beta.3", |
| 37 | + "@stacksjs/gitlint": "^0.1.5", |
34 | 38 | "@stacksjs/launchpad": "workspace:*", |
| 39 | + "@stacksjs/logsmith": "^0.1.8", |
35 | 40 | "@types/bun": "^1.2.20", |
36 | | - "buddy-bot": "^0.8.8", |
37 | | - "bumpp": "^10.2.3", |
38 | | - "bun-plugin-dtsx": "0.9.5", |
39 | | - "changelogen": "^0.6.2", |
40 | | - "lint-staged": "^15.5.2", |
41 | | - "simple-git-hooks": "^2.13.1", |
| 41 | + "buddy-bot": "^0.8.9", |
| 42 | + "bun-git-hooks": "^0.2.19", |
| 43 | + "bun-plugin-dtsx": "0.21.12", |
42 | 44 | "typescript": "^5.9.2" |
43 | 45 | }, |
44 | 46 | "overrides": { |
45 | 47 | "@stacksjs/dtsx": "0.9.5", |
46 | 48 | "unconfig": "0.3.10" |
47 | 49 | }, |
48 | | - "lint-staged": { |
49 | | - "*.{js,ts}": "bunx --bun eslint . --fix" |
| 50 | + "git-hooks": { |
| 51 | + "pre-commit": { |
| 52 | + "staged-lint": { |
| 53 | + "*.{js,ts,json,yaml,yml,md}": "bunx --bun eslint --fix" |
| 54 | + } |
| 55 | + }, |
| 56 | + "commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG" |
50 | 57 | }, |
51 | 58 | "workspaces": [ |
52 | 59 | "packages/*" |
|
0 commit comments