mirror of
				https://github.com/bspeice/speice.io
				synced 2025-11-04 02:20:36 -05:00 
			
		
		
		
	Fix pre-commit script not being generated
This commit is contained in:
		
							
								
								
									
										4
									
								
								.husky/pre-commit
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								.husky/pre-commit
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					. "$(dirname -- "$0")/_/husky.sh"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					npx pretty-quick --staged
 | 
				
			||||||
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@ -17,7 +17,7 @@
 | 
				
			|||||||
        "@types/react": "^18.0.28",
 | 
					        "@types/react": "^18.0.28",
 | 
				
			||||||
        "@types/react-dom": "^18.0.11",
 | 
					        "@types/react-dom": "^18.0.11",
 | 
				
			||||||
        "@vitejs/plugin-react-swc": "^3.0.0",
 | 
					        "@vitejs/plugin-react-swc": "^3.0.0",
 | 
				
			||||||
        "husky": "^8.0.3",
 | 
					        "husky": "^8.0.0",
 | 
				
			||||||
        "pretty-quick": "^3.1.3",
 | 
					        "pretty-quick": "^3.1.3",
 | 
				
			||||||
        "typescript": "^4.9.3",
 | 
					        "typescript": "^4.9.3",
 | 
				
			||||||
        "vite": "^4.2.0"
 | 
					        "vite": "^4.2.0"
 | 
				
			||||||
 | 
				
			|||||||
@ -19,14 +19,9 @@
 | 
				
			|||||||
    "@types/react": "^18.0.28",
 | 
					    "@types/react": "^18.0.28",
 | 
				
			||||||
    "@types/react-dom": "^18.0.11",
 | 
					    "@types/react-dom": "^18.0.11",
 | 
				
			||||||
    "@vitejs/plugin-react-swc": "^3.0.0",
 | 
					    "@vitejs/plugin-react-swc": "^3.0.0",
 | 
				
			||||||
    "husky": "^8.0.3",
 | 
					    "husky": "^8.0.0",
 | 
				
			||||||
    "pretty-quick": "^3.1.3",
 | 
					    "pretty-quick": "^3.1.3",
 | 
				
			||||||
    "typescript": "^4.9.3",
 | 
					    "typescript": "^4.9.3",
 | 
				
			||||||
    "vite": "^4.2.0"
 | 
					    "vite": "^4.2.0"
 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  "husky": {
 | 
					 | 
				
			||||||
    "hooks": {
 | 
					 | 
				
			||||||
      "pre-commit": "pretty-quick --staged"
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user