Skip to content

Commit

Permalink
chore: rm husky hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Mar 18, 2024
1 parent dd2a5c1 commit c1bf3a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Lint
run: pnpm check:format
- name: Install Dependencies
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Test
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: '18.x'
- uses: pnpm/action-setup@v2
- run: pnpm ci-install
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_SEMANTIC_RELEASE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

15 changes: 0 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"ci-install": "HUSKY=0 pnpm install",
"build": "rm -rf ./dist && tsc",
"test": "jest",
"prettier": "prettier --write --config --ignore-path .gitignore \"**/*.+(js|ts|json)\"",
Expand All @@ -19,7 +18,6 @@
"check:prettier": "prettier --check --config --ignore-path .gitignore \"**/*.+(js|ts|json)\"",
"check:lint": "eslint --max-warnings=0 src/**/*.ts test/**/*.ts",
"check:format": "pnpm prettier && pnpm lint",
"prepare": "husky install",
"semantic-release": "semantic-release"
},
"files": [
Expand Down Expand Up @@ -47,11 +45,9 @@
"conventional-changelog-conventionalcommits": "^6.1.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"koa": "^2.14.2",
"koa-bodyparser": "^4.4.1",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"semantic-release": "^21.0.6",
"supertest": "^6.3.3",
Expand All @@ -61,16 +57,5 @@
"peerDependencies": {
"@trpc/server": "^10.0.0-rc.4",
"koa": ">=2.13.0"
},
"husky": {
"hooks": {
"pre-commit": "pnpm lint-staged && pnpm test"
}
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write --config ./.prettierrc",
"eslint --fix --max-warnings=0"
]
}
}

0 comments on commit c1bf3a1

Please sign in to comment.