Skip to content

Commit

Permalink
feat: 🎸 on pre commit run build to ensure success builds
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Sep 15, 2023
1 parent 0886caf commit 911403e
Show file tree
Hide file tree
Showing 4 changed files with 6,665 additions and 6,613 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run build
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"crawl:docker": "docker run -it --env-file=.env -e \"CONFIG=$(cat config.docsearch.json | jq -r tostring)\" algolia/docsearch-scraper",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
"typecheck": "tsc",
"prepare": "husky install"
},
"dependencies": {
"@docusaurus/core": "2.4.1",
Expand All @@ -28,6 +29,7 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.1",
"@tsconfig/docusaurus": "^1.0.5",
"husky": "^8.0.3",
"typescript": "^4.7.4"
},
"browserslist": {
Expand Down
Loading

0 comments on commit 911403e

Please sign in to comment.