Skip to content

Commit

Permalink
fix(package.json, template.json): no longer running npx husky-init. N…
Browse files Browse the repository at this point in the history
…o need o do that
  • Loading branch information
stg committed Sep 21, 2023
1 parent 2005fb8 commit 8cb17b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"tsc": "tsc",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"postinstall": "npx is-ci || (npx husky install && npx husky-init && yarn husky-init)",
"postinstall": "npx is-ci || (npx husky install && yarn husky-init)",
"husky-init": "npx husky add .husky/pre-commit \"npx prettier --write \"\"src/*.ts\"\" \"\"src/**/*.ts*\"\"\" & npx husky add .husky/pre-push \"npx tsc && yarn run lint\" & npx husky add .husky/prepare-commit-msg \"exec < /dev/tty && npx cz --hook || true\"",
"prepack": "npx husky uninstall",
"postpack": "npx is-ci || npx husky install"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/authentication/authentication.utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Copyright = (props: any) => {
<Typography variant="body2" color="text.secondary" align="center" {...props}>
{'Copyright © '}
<Link color="inherit" href="https://github.com/Automating-Hydroponics-BPR2/via-sem7-bpr2-client">
BPR2 Yoana &amp; Stefan
Your copyrights go here
</Link>{' '}
{new Date().getFullYear()}
{'.'}
Expand Down
2 changes: 1 addition & 1 deletion template.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"tsc": "tsc",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"postinstall": "npx is-ci || (npx husky install && npx husky-init && yarn husky-init)",
"postinstall": "npx is-ci || (npx husky install && yarn husky-init)",
"husky-init": "npx husky add .husky/pre-commit \"npx prettier --write \"\"src/*.ts\"\" \"\"src/**/*.ts*\"\"\" & npx husky add .husky/pre-push \"npx tsc && yarn run lint\" & npx husky add .husky/prepare-commit-msg \"exec < /dev/tty && npx cz --hook || true\"",
"prepack": "npx husky uninstall",
"postpack": "npx is-ci || npx husky install"
Expand Down
2 changes: 1 addition & 1 deletion template/src/pages/authentication/authentication.utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Copyright = (props: any) => {
<Typography variant="body2" color="text.secondary" align="center" {...props}>
{'Copyright © '}
<Link color="inherit" href="https://github.com/Automating-Hydroponics-BPR2/via-sem7-bpr2-client">
BPR2 Yoana &amp; Stefan
Your copyrights go here
</Link>{' '}
{new Date().getFullYear()}
{'.'}
Expand Down

0 comments on commit 8cb17b7

Please sign in to comment.