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
17 changes: 17 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
pre-commit:
parallel: true
commands:
lint:
run: pnpm nx affected -t lint --uncommitted --outputStyle=static

typecheck:
run: pnpm nx affected -t typecheck --uncommitted

pre-push:
parallel: true
commands:
test:
run: pnpm nx affected -t test --base=origin/main --head=HEAD

build:
run: pnpm nx affected -t build --base=origin/main --head=HEAD
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"version": "0.0.0",
"license": "MIT",
"scripts": {
"prepare": "lefthook install",
"build:all": "nx run-many -t build",
"lint:all": "nx run-many -t lint",
"test:all": "nx run-many -t test",
"typecheck:all": "nx run-many -t typecheck"
},
"private": true,
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "7.27.6",
"@eslint/js": "^9.8.0",
"@nx/eslint": "22.0.4",
"@nx/eslint-plugin": "22.0.4",
Expand All @@ -18,9 +22,6 @@
"@nx/rollup": "22.0.4",
"@nx/vite": "22.0.4",
"@nx/web": "22.0.4",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "7.27.6",
"@rollup/plugin-url": "^8.0.2",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
Expand All @@ -37,18 +38,19 @@
"eslint-plugin-jsx-a11y": "6.10.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "5.0.0",
"jest-cli": "^30.2.0",
"jiti": "2.4.2",
"jsdom": "~22.1.0",
"jsonc-eslint-parser": "^2.1.0",
"lefthook": "^2.1.6",
"nx": "22.0.4",
"prettier": "^2.6.2",
"rollup": "^4.14.0",
"tslib": "^2.3.0",
"typescript": "5.9.3",
"typescript-eslint": "8.47.0",
"vite": "7.2.2",
"vitest": "^3.2.4",
"jest-cli": "^30.2.0"
"vitest": "^3.2.4"
},
"packageManager": "pnpm@10.6.1+sha512.40ee09af407fa9fbb5fbfb8e1cb40fbb74c0af0c3e10e9224d7b53c7658528615b2c92450e74cfad91e3a2dcafe3ce4050d80bda71d757756d2ce2b66213e9a3"
}
102 changes: 102 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading