Skip to content

Commit

Permalink
chore: add (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Nov 25, 2024
1 parent d243a64 commit ec158f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pnpm lint-staged --concurrent false
git add packages/*/types/*
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"release": "pnpm changeset publish",
"prepare": "husky",
"playwright": "playwright-core",
"generate:types": "pnpm --filter \"./packages/*\" --parallel generate:types"
"generate:types": "pnpm --filter \"./packages/*\" --parallel generate:types",
"generate:types-staged": "pnpm generate:types && :"
},
"devDependencies": {
"@changesets/cli": "^2.27.10",
Expand Down Expand Up @@ -58,9 +59,8 @@
},
"lint-staged": {
"*.{js,ts,svelte,html,md,svx}": "eslint --cache --fix",
"*": [
"prettier --cache --ignore-path .gitignore --ignore-unknown --write"
]
"*": "prettier --cache --ignore-path .gitignore --ignore-unknown --write",
"packages/*/src/**/*": "pnpm generate:types-staged"
},
"packageManager": "pnpm@9.14.2",
"engines": {
Expand Down

0 comments on commit ec158f8

Please sign in to comment.