Skip to content

Commit

Permalink
chore: willboosterify this repo (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Sakamoto, Kazunori <[email protected]>
  • Loading branch information
WillBooster-bot and exKAZUu authored Feb 19, 2024
1 parent ad727e6 commit bb2c155
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 19 deletions.
3 changes: 0 additions & 3 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"

run_if_changed() {
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

node node_modules/.bin/lint-staged
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

node node_modules/.bin/tsc --noEmit --Pretty
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "build-ts lib",
"cleanup": "yarn format && yarn lint-fix",
"format": "sort-package-json && yarn prettify",
"postinstall": "husky install",
"postinstall": "husky",
"lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"",
"lint-fix": "yarn lint --fix",
"prepack": "pinst --disable",
Expand All @@ -56,7 +56,7 @@
"eslint-plugin-sort-class-members": "1.20.0",
"eslint-plugin-sort-destructure-keys": "1.5.0",
"eslint-plugin-unicorn": "51.0.1",
"husky": "8.0.3",
"husky": "9.0.11",
"jest": "29.7.0",
"lint-staged": "15.2.2",
"micromatch": "4.0.5",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sourceMap": true,
"strict": true,
"target": "ES2022",
"typeRoots": ["./node_modules/@types", "./@types"],
"typeRoots": ["./node_modules/@types", "./@types"]
},
"include": ["scripts/**/*", "src/**/*", "tests/**/*"],
"include": ["scripts/**/*", "src/**/*", "tests/**/*"]
}
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3479,7 +3479,7 @@ __metadata:
eslint-plugin-sort-class-members: "npm:1.20.0"
eslint-plugin-sort-destructure-keys: "npm:1.5.0"
eslint-plugin-unicorn: "npm:51.0.1"
husky: "npm:8.0.3"
husky: "npm:9.0.11"
jest: "npm:29.7.0"
lint-staged: "npm:15.2.2"
micromatch: "npm:4.0.5"
Expand Down Expand Up @@ -5852,12 +5852,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.11":
version: 9.0.11
resolution: "husky@npm:9.0.11"
bin:
husky: lib/bin.js
checksum: 10c0/6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668
husky: bin.mjs
checksum: 10c0/2c787dcf74a837fc9a4fea7da907509d4bd9a289f4ea10ecc9d86279e4d4542b0f5f6443a619bccae19e265f2677172cc2b86aae5c932a35a330cc227d914605
languageName: node
linkType: hard

Expand Down

0 comments on commit bb2c155

Please sign in to comment.