Skip to content

Commit

Permalink
chore(deps): update dependency husky to v9 (#1308)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LekoArts <lekoarts@gmail.com>
  • Loading branch information
renovate[bot] and LekoArts committed Feb 1, 2024
1 parent 5ec4158 commit f3dae1a
Show file tree
Hide file tree
Showing 17 changed files with 54 additions and 57 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
yarn lint-staged
20 changes: 10 additions & 10 deletions OVERVIEW.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"skipLibCheck": true,
"target": "es5",
"lib": ["es2015", "dom"],
"types": ["cypress", "@testing-library/cypress"]
"types": ["cypress", "@testing-library/cypress"],
},
"include": ["**/*.ts"]
"include": ["**/*.ts"],
}
6 changes: 3 additions & 3 deletions examples/cara/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
6 changes: 3 additions & 3 deletions examples/emilia/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
6 changes: 3 additions & 3 deletions examples/emma/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
6 changes: 3 additions & 3 deletions examples/graphql-playground/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
6 changes: 3 additions & 3 deletions examples/jodie/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
6 changes: 3 additions & 3 deletions examples/minimal-blog/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
4 changes: 2 additions & 2 deletions examples/specimens/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": ["./src/**/*", "./gatsby-node.ts", "./plugins/**/*"]
"include": ["./src/**/*", "./gatsby-node.ts", "./plugins/**/*"],
}
6 changes: 3 additions & 3 deletions examples/status-dashboard/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
6 changes: 3 additions & 3 deletions examples/styleguide/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
"./plugins/**/*",
],
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"version-packages": "changeset version",
"version-packages:ci": "changeset version && yarn install --mode update-lockfile",
"release": "yarn packages:build && changeset publish",
"prepare": "husky install",
"prepare": "husky",
"update-renovate": "node -r @swc-node/register ./scripts/renovate-config-generator.ts",
"postinstall": "yarn packages:build"
},
Expand Down Expand Up @@ -66,7 +66,7 @@
"fs-extra": "^11.2.0",
"gatsby-cypress": "^3.13.1",
"glob": "^10.3.10",
"husky": "^8.0.3",
"husky": "^9.0.8",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.1",
"plop": "^4.0.1",
Expand Down
4 changes: 2 additions & 2 deletions themes/gatsby-theme-specimens/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist"
"outDir": "./dist",
},
"include": ["./src/**/*.ts", "./src/**/*.tsx"]
"include": ["./src/**/*.ts", "./src/**/*.tsx"],
}
4 changes: 2 additions & 2 deletions themes/gatsby-theme-status-dashboard/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist"
"outDir": "./dist",
},
"include": ["./src/**/*.ts", "./src/**/*.tsx"]
"include": ["./src/**/*.ts", "./src/**/*.tsx"],
}
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"strict": true,
"noEmit": true,
"skipLibCheck": true,
"esModuleInterop": true
"esModuleInterop": true,
},
"include": [
"./packages/**/*",
"./scripts/*",
"./themes/**/src/**/*",
"./www/src/**/*",
"./examples/**/src/**/*",
"./vitest-setup.ts"
"./vitest-setup.ts",
],
"exclude": ["node_modules", "themes/**/node_modules"]
"exclude": ["node_modules", "themes/**/node_modules"],
}
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2907,7 +2907,7 @@ __metadata:
fs-extra: "npm:^11.2.0"
gatsby-cypress: "npm:^3.13.1"
glob: "npm:^10.3.10"
husky: "npm:^8.0.3"
husky: "npm:^9.0.8"
jsdom: "npm:^24.0.0"
lint-staged: "npm:^15.2.1"
plop: "npm:^4.0.1"
Expand Down Expand Up @@ -12728,12 +12728,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.3":
version: 8.0.3
resolution: "husky@npm:8.0.3"
"husky@npm:^9.0.8":
version: 9.0.9
resolution: "husky@npm:9.0.9"
bin:
husky: lib/bin.js
checksum: 10c0/6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668
husky: bin.mjs
checksum: 10c0/8ce04bbe983b326d27abe9bde972040b5e81e04b375c3f7183446f355fef85cb0b58a4aa3fae9c219f376e477c0b0b7fd4758b84acdeb811d3e77278fdf45689
languageName: node
linkType: hard

Expand Down

0 comments on commit f3dae1a

Please sign in to comment.