Skip to content

Commit

Permalink
chore: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Oct 11, 2024
1 parent 06739ca commit a7a2f9c
Show file tree
Hide file tree
Showing 6 changed files with 189 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm pre-commit
lint-staged
1 change: 0 additions & 1 deletion .husky/pre-push

This file was deleted.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
"check": "biome check",
"check:write": "biome check --write",
"check:write:unsafe": "biome check --write --unsafe",
"check:types": "pnpm -r check:types",
"check:types": "pnpm -r --parallel check:types",
"check:circular-deps": "pnpm -r --parallel check:circular-deps",
"pre-commit": "pnpm check && pnpm check:circular-deps",
"pre-push": "pnpm -r --parallel pre-push:validate",
"pre-commit": "pnpm check && pnpm check:types && pnpm check:circular-deps",
"prepare": "husky",
"postinstall": "husky"
},
"lint-staged": {
"*": ["pnpm pre-commit"]
},
"standard-version": {
"scripts": {
"prerelease": "pnpm install && git add ."
Expand All @@ -49,6 +51,7 @@
"fs-extra": "^11.2.0",
"husky": "^9.1.6",
"lerna": "8.1.8",
"lint-staged": "^15.2.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"standard-version": "^9.5.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/wallet-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"clean": "pnpm build:clean && rm -rf dist",
"check:types": "tsc --noEmit",
"check:circular-deps": "madge --circular $(find ./src -name '*.ts' -o -name '*.tsx')",
"check:circular-deps-graph": "madge --circular $(find ./src -name '*.ts' -o -name '*.tsx') --image graph.svg",
"pre-push:validate": "pnpm check:types"
"check:circular-deps-graph": "madge --circular $(find ./src -name '*.ts' -o -name '*.tsx') --image graph.svg"
},
"author": "Eugene Chybisov <[email protected]>",
"homepage": "https://github.com/lifinance/widget",
Expand Down
3 changes: 1 addition & 2 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"clean": "pnpm build:clean && rm -rf dist",
"check:types": "tsc --noEmit",
"check:circular-deps": "madge --circular $(find ./src -name '*.ts' -o -name '*.tsx')",
"check:circular-deps-graph": "madge --circular $(find ./src -name '*.ts' -o -name '*.tsx') --image graph.svg",
"pre-push:validate": "pnpm check:types & pnpm check:circular-deps"
"check:circular-deps-graph": "madge --circular $(find ./src -name '*.ts' -o -name '*.tsx') --image graph.svg"
},
"author": "Eugene Chybisov <[email protected]>",
"homepage": "https://github.com/lifinance/widget",
Expand Down
Loading

0 comments on commit a7a2f9c

Please sign in to comment.