mirror of
				https://github.com/stackblitz-labs/bolt.diy
				synced 2025-06-26 18:26:38 +00:00 
			
		
		
		
	chore: make sure that husky hooks are executed
This commit is contained in:
		
							parent
							
								
									ab9d59a30d
								
							
						
					
					
						commit
						cbfa98c6da
					
				
							
								
								
									
										7
									
								
								.husky/commit-msg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.husky/commit-msg
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
. "$(dirname "$0")/_/husky.sh"
 | 
			
		||||
 | 
			
		||||
npx commitlint --edit $1
 | 
			
		||||
 | 
			
		||||
exit 0
 | 
			
		||||
@ -1 +0,0 @@
 | 
			
		||||
npm test
 | 
			
		||||
@ -9,18 +9,11 @@
 | 
			
		||||
    "typecheck": "pnpm run -r typecheck",
 | 
			
		||||
    "prepare": "husky"
 | 
			
		||||
  },
 | 
			
		||||
  "lint-staged": {},
 | 
			
		||||
  "commitlint": {
 | 
			
		||||
    "extends": [
 | 
			
		||||
      "@commitlint/config-conventional"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "husky": {
 | 
			
		||||
    "hooks": {
 | 
			
		||||
      "pre-commit": "lint-staged",
 | 
			
		||||
      "commit-msg": "commitlint --edit $1"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": "20.15.1",
 | 
			
		||||
    "pnpm": "9.4.0"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user