Skip to content

Commit

Permalink
chore(source): husky install if no ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guiseek committed Jan 20, 2024
1 parent 1dc1320 commit f806874
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
23 changes: 23 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 @@ -11,7 +11,7 @@
"release": "ts-node --project scripts/tsconfig.scripts.json scripts/release.ts",
"format": "nx format:check",
"docs": "ts-node -P tools/tsconfig.json tools/dgeni-cli.ts tools/transforms/nxgs-package/index",
"prepare": "husky install",
"prepare": "is-ci || husky install",
"commit": "czg",
"check-commit": "node ./scripts/commit-lint.js",
"check-format": "nx format:check --all"
Expand Down Expand Up @@ -46,6 +46,7 @@
"@swc/core": "~1.3.85",
"@tailwindcss/typography": "^0.5.10",
"@types/express": "4.17.14",
"@types/is-ci": "^3.0.4",
"@types/jest": "^29.4.0",
"@types/node": "18.16.9",
"@types/semantic-release": "^20.0.6",
Expand All @@ -64,6 +65,7 @@
"eslint-config-prettier": "^9.0.0",
"git-cz": "^4.9.0",
"husky": "^8.0.0",
"is-ci": "^3.0.1",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"jest-preset-angular": "~13.1.4",
Expand Down

0 comments on commit f806874

Please sign in to comment.