diff --git a/vinvoor/package.json b/vinvoor/package.json index cead890..650c6ac 100644 --- a/vinvoor/package.json +++ b/vinvoor/package.json @@ -9,8 +9,7 @@ "build": "tsc && vite build", "format": "prettier . --write", "lint": "eslint . --fix", - "preview": "vite preview", - "postinstall": "if [ \"$CI\" != \"true\" ]; then pnpx simple-git-hooks; else echo 'Skipping Git hooks in CI'; fi" + "preview": "vite preview" }, "dependencies": { "@emotion/react": "^11.13.3", @@ -51,17 +50,9 @@ "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.14", "prettier": "3.3.3", - "simple-git-hooks": "^2.11.1", "typescript": "^5.6.3", "typescript-eslint": "^8.11.0", "vite": "^5.4.10", "vite-plugin-svgr": "^4.2.0" - }, - "simple-git-hooks": { - "pre-commit": "cd ui && pnpm lint-staged" - }, - "lint-staged": { - "*": "eslint . && prettier .", - "src/*": "bash -c tsc --noEmit" } } diff --git a/vinvoor/pnpm-lock.yaml b/vinvoor/pnpm-lock.yaml index d2f3479..0fd2d80 100644 --- a/vinvoor/pnpm-lock.yaml +++ b/vinvoor/pnpm-lock.yaml @@ -116,9 +116,6 @@ importers: prettier: specifier: 3.3.3 version: 3.3.3 - simple-git-hooks: - specifier: ^2.11.1 - version: 2.11.1 typescript: specifier: ^5.6.3 version: 5.6.3 @@ -2665,13 +2662,6 @@ packages: } engines: { node: ">=8" } - simple-git-hooks@2.11.1: - resolution: - { - integrity: sha512-tgqwPUMDcNDhuf1Xf6KTUsyeqGdgKMhzaH4PAZZuzguOgTl5uuyeYe/8mWgAr6IBxB5V06uqEf6Dy37gIWDtDg==, - } - hasBin: true - slash@3.0.0: resolution: { @@ -4472,8 +4462,6 @@ snapshots: shebang-regex@3.0.0: {} - simple-git-hooks@2.11.1: {} - slash@3.0.0: {} snake-case@3.0.4: