Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
HUSKY: 0

steps:
- name: Checkout Repo
Expand Down
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm exec commitlint --edit "$1"
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm check:all
2 changes: 1 addition & 1 deletion commitlint.config.js → commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
export default {
extends: ['@commitlint/config-conventional'],
};
16 changes: 4 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"check:all": "turbo run check:all --output-logs=new-only && pnpm lint && pnpm sp:check",
"clean": "del 'packages/*/{coverage,dist,esm,lib,types,tsconfig.tsbuildinfo}'",
"lint": "eslint --ext .js,.ts,.tsx .",
"prepare": "turbo run build --output-logs=new-only",
"prepare": "husky && turbo run build --output-logs=new-only",
"release": "pnpm run prepare && pnpm changeset publish",
"sp:check": "syncpack",
"sp:fix": "syncpack format && syncpack fix-mismatches",
Expand All @@ -28,15 +28,8 @@
"typecheck": "turbo run typecheck",
"website": "pnpm --filter=linaria-website"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "pnpm check:all"
}
},
"resolutions": {
"@typescript-eslint/experimental-utils": "^4.28.0",
"git-raw-commits": "^2.0.3",
"external-editor>tmp": "^0.2.6"
},
"dependencies": {},
Expand All @@ -50,7 +43,7 @@
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@changesets/cli": "^2.22.0",
"@commitlint/config-conventional": "^8.3.4",
"@commitlint/config-conventional": "^21.2.3",
"@emnapi/core": "^1.10.0",
"@emnapi/runtime": "^1.10.0",
"@types/jest": "^28.1.0",
Expand All @@ -60,7 +53,7 @@
"@typescript-eslint/parser": "^6.6.0",
"all-contributors-cli": "^6.20.0",
"babel-jest": "^29.6.2",
"commitlint": "^8.3.5",
"commitlint": "^21.2.3",
"cross-env": "^7.0.3",
"del-cli": "^8.0.1",
"eslint": "^8.48.0",
Expand All @@ -72,8 +65,7 @@
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"git-raw-commits": "^2.0.3",
"husky": "^1.3.1",
"husky": "^9.1.7",
"jest": "^29.6.2",
"prettier": "^3.0.3",
"react": "^16.14.0",
Expand Down
Loading
Loading