diff --git a/.husky/post-merge b/.husky/post-merge deleted file mode 100644 index aa3a3a123..000000000 --- a/.husky/post-merge +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -git diff HEAD^ HEAD --exit-code -- ./package.json || npm install --legacy-peer-deps \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index d663f7203..000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npm run format:fix -npm run lint:fix - -git add . - -if [ -f "yarn.lock" ] || [ -f "package-lock.json" ]; then - echo "Error: yarn.lock or package-lock.json is present. Please remove them before committing." - exit 1 -fi \ No newline at end of file diff --git a/package.json b/package.json index 8fe183237..0ac21ecd6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "db:seed": "prisma db seed", "db:reset": "prisma migrate reset", "update:videometadata": "ts-node --compiler-options \"{\\\"module\\\": \\\"CommonJS\\\"}\" ./src/scripts/updateVideoMetaData.ts", - "prepare": "husky install", "studio": "prisma studio", "studio:docker": "open http://localhost:5555 || start http://localhost:5555", "storybook": "concurrently 'yarn:watch:*'", @@ -130,7 +129,6 @@ "autoprefixer": "^10.0.1", "eslint": "^8.56.0", "eslint-plugin-storybook": "^0.8.0", - "husky": "^9.0.7", "jsdom": "^24.0.0", "postcss": "^8", "prettier": "^3.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3eba56b84..a04131228 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -288,9 +288,6 @@ importers: eslint-plugin-storybook: specifier: ^0.8.0 version: 0.8.0(eslint@8.57.0)(typescript@5.5.4) - husky: - specifier: ^9.0.7 - version: 9.1.4 jsdom: specifier: ^24.0.0 version: 24.1.1 @@ -2381,13 +2378,13 @@ packages: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} - '@tabler/icons-react@3.19.0': - resolution: {integrity: sha512-AqEWGI0tQWgqo6ZjMO5yJ9sYT8oXLuAM/up0hN9iENS6IdtNZryKrkNSiMgpwweNTpl8wFFG/dAZ959S91A/uQ==} + '@tabler/icons-react@3.14.0': + resolution: {integrity: sha512-3XdbuyhBNq8aZW0qagR9YL8diACZYSAtaw6VuwcO2l6HzVFPN6N5TDex9WTz/3lf+uktAvOv1kNuuFBjSjN9yw==} peerDependencies: react: '>= 16' - '@tabler/icons@3.19.0': - resolution: {integrity: sha512-A4WEWqpdbTfnpFEtwXqwAe9qf9sp1yRPvzppqAuwcoF0q5YInqB+JkJtSFToCyBpPVeLxJUxxkapLvt2qQgnag==} + '@tabler/icons@3.14.0': + resolution: {integrity: sha512-OakKjK1kuDWKoNwdnHHVMt11kTZAC10iZpN/8o/CSYdeBH7S3v5n8IyqAYynFxLI8yBGTyBvljtvWdmWh57zSg==} '@testing-library/dom@10.1.0': resolution: {integrity: sha512-wdsYKy5zupPyLCW2Je5DLHSxSfbIp6h80WoHOQc+RPtmPGA52O9x5MJEkv92Sjonpq+poOAtUKhh1kBGAXBrNA==} @@ -4363,11 +4360,6 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} - husky@9.1.4: - resolution: {integrity: sha512-bho94YyReb4JV7LYWRWxZ/xr6TtOTt8cMfmQ39MQYJ7f/YE268s3GdghGwi+y4zAeqewE5zYLvuhV0M0ijsDEA==} - engines: {node: '>=18'} - hasBin: true - hyphenate-style-name@1.1.0: resolution: {integrity: sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==} @@ -9676,12 +9668,12 @@ snapshots: dependencies: defer-to-connect: 2.0.1 - '@tabler/icons-react@3.19.0(react@18.3.1)': + '@tabler/icons-react@3.14.0(react@18.3.1)': dependencies: - '@tabler/icons': 3.19.0 + '@tabler/icons': 3.14.0 react: 18.3.1 - '@tabler/icons@3.19.0': {} + '@tabler/icons@3.14.0': {} '@testing-library/dom@10.1.0': dependencies: @@ -12073,8 +12065,6 @@ snapshots: human-signals@5.0.0: {} - husky@9.1.4: {} - hyphenate-style-name@1.1.0: {} iconv-lite@0.4.24: