Skip to content

Commit

Permalink
chore: wbfy this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Feb 19, 2024
1 parent 4c4be66 commit c187842
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 35 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"

yarn workspaces foreach --all --parallel --verbose run typecheck
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "yarn workspaces foreach --all --parallel --verbose run build",
"cleanup": "yarn format && yarn lint-fix",
"format": "sort-package-json && yarn prettify && yarn workspaces foreach --all --parallel --verbose run format",
"postinstall": "husky install",
"postinstall": "husky",
"lint": "yarn workspaces foreach --all --parallel --verbose run lint",
"lint-fix": "yarn workspaces foreach --all --parallel --verbose run lint-fix",
"prepack": "pinst --disable",
Expand All @@ -30,7 +30,7 @@
"@willbooster/prettier-config": "9.1.2",
"conventional-changelog-conventionalcommits": "6.1.0",
"eslint": "8.56.0",
"husky": "8.0.3",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"micromatch": "4.0.5",
"pinst": "3.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/shared-lib-blitz-next/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ESNext",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"],
"target": "ES2022",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"]
},
"include": ["scripts/**/*", "src/**/*", "tests/**/*"],
"include": ["scripts/**/*", "src/**/*", "tests/**/*"]
}
6 changes: 3 additions & 3 deletions packages/shared-lib-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ESNext",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"],
"target": "ES2022",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"]
},
"include": ["scripts/**/*", "src/**/*", "tests/**/*"],
"include": ["scripts/**/*", "src/**/*", "tests/**/*"]
}
6 changes: 3 additions & 3 deletions packages/shared-lib-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ESNext",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"],
"target": "ES2022",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"]
},
"include": ["scripts/**/*", "src/**/*", "tests/**/*"],
"include": ["scripts/**/*", "src/**/*", "tests/**/*"]
}
6 changes: 3 additions & 3 deletions packages/shared-lib/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ESNext",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"],
"target": "ES2022",
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"]
},
"include": ["scripts/**/*", "src/**/*", "tests/**/*"],
"include": ["scripts/**/*", "src/**/*", "tests/**/*"]
}
4 changes: 2 additions & 2 deletions packages/wb/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", "./@types"],
"typeRoots": ["../../node_modules/@types", "../../@types", "./@types"]
},
"include": ["scripts/**/*", "src/**/*", "tests/**/*"],
"include": ["scripts/**/*", "src/**/*", "tests/**/*"]
}
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ESNext",
"typeRoots": ["./node_modules/@types", "./@types"],
"target": "ES2022",
"typeRoots": ["./node_modules/@types", "./@types"]
},
"include": [
"packages/*/scripts/**/*",
"packages/*/src/**/*",
"packages/*/tests/**/*",
"scripts/**/*",
"src/**/*",
"tests/**/*",
],
"tests/**/*"
]
}
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13744,12 +13744,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 Expand Up @@ -22375,7 +22375,7 @@ __metadata:
"@willbooster/prettier-config": "npm:9.1.2"
conventional-changelog-conventionalcommits: "npm:6.1.0"
eslint: "npm:8.56.0"
husky: "npm:8.0.3"
husky: "npm:9.0.11"
lint-staged: "npm:15.2.2"
micromatch: "npm:4.0.5"
pinst: "npm:3.0.0"
Expand Down

0 comments on commit c187842

Please sign in to comment.