diff --git a/examples/algolia/.husky/.gitignore b/examples/algolia/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/examples/algolia/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/examples/algolia/.husky/pre-commit b/examples/algolia/.husky/pre-commit deleted file mode 100644 index 36af2198..00000000 --- a/examples/algolia/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx lint-staged diff --git a/examples/algolia/package.json b/examples/algolia/package.json index 9200b4d3..4a1b029f 100644 --- a/examples/algolia/package.json +++ b/examples/algolia/package.json @@ -11,7 +11,6 @@ "format:check": "prettier --check .", "format:fix": "prettier --write .", "type:check": "tsc --noEmit", - "prepare": "husky install", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest", @@ -54,7 +53,6 @@ "eslint-config-next": "12.2.5", "eslint-config-prettier": "^8.5.0", "eslint-plugin-react": "^7.30.1", - "husky": "^8.0.1", "vite": "^4.2.1", "vitest": "^0.30.1", "@vitest/coverage-istanbul": "^0.30.1", diff --git a/examples/basic/.husky/.gitignore b/examples/basic/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/examples/basic/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/examples/basic/.husky/pre-commit b/examples/basic/.husky/pre-commit deleted file mode 100644 index 36af2198..00000000 --- a/examples/basic/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx lint-staged diff --git a/examples/basic/package.json b/examples/basic/package.json index 3624c006..828875f9 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -11,7 +11,6 @@ "format:check": "prettier --check .", "format:fix": "prettier --write .", "type:check": "tsc --noEmit", - "prepare": "husky install", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest", @@ -52,7 +51,6 @@ "eslint-config-next": "12.2.5", "eslint-config-prettier": "^8.5.0", "eslint-plugin-react": "^7.30.1", - "husky": "^8.0.1", "vite": "^4.2.1", "vitest": "^0.30.1", "@vitest/coverage-istanbul": "^0.30.1", diff --git a/packages/d2c-schematics/utility/latest-versions/package.json b/packages/d2c-schematics/utility/latest-versions/package.json index 94c45a78..eb78d851 100644 --- a/packages/d2c-schematics/utility/latest-versions/package.json +++ b/packages/d2c-schematics/utility/latest-versions/package.json @@ -36,7 +36,6 @@ "eslint-config-next": "12.2.5", "eslint-config-prettier": "^8.5.0", "eslint-plugin-react": "^7.30.1", - "husky": "^8.0.1", "vite": "^4.2.1", "vitest": "^0.30.1", "@vitest/coverage-istanbul": "^0.30.1", diff --git a/packages/d2c-schematics/workspace/files/__dot__husky/__dot__gitignore.template b/packages/d2c-schematics/workspace/files/__dot__husky/__dot__gitignore.template deleted file mode 100644 index 31354ec1..00000000 --- a/packages/d2c-schematics/workspace/files/__dot__husky/__dot__gitignore.template +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/packages/d2c-schematics/workspace/files/__dot__husky/pre-commit.template b/packages/d2c-schematics/workspace/files/__dot__husky/pre-commit.template deleted file mode 100644 index 36af2198..00000000 --- a/packages/d2c-schematics/workspace/files/__dot__husky/pre-commit.template +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx lint-staged diff --git a/packages/d2c-schematics/workspace/files/package.json.template b/packages/d2c-schematics/workspace/files/package.json.template index f8774376..54525c29 100644 --- a/packages/d2c-schematics/workspace/files/package.json.template +++ b/packages/d2c-schematics/workspace/files/package.json.template @@ -10,8 +10,7 @@ "lint:fix": "next lint --fix", "format:check": "prettier --check .", "format:fix": "prettier --write .", - "type:check": "tsc --noEmit", - "prepare": "husky install"<% if (tests) { %>, + "type:check": "tsc --noEmit"<% if (tests) { %>, "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest", @@ -49,8 +48,7 @@ "eslint": "<%= latestVersions['eslint'] %>", "eslint-config-next": "<%= latestVersions['eslint-config-next'] %>", "eslint-config-prettier": "<%= latestVersions['eslint-config-prettier'] %>", - "eslint-plugin-react": "<%= latestVersions['eslint-plugin-react'] %>", - "husky": "<%= latestVersions['husky'] %>",<% if (tests) { %> + "eslint-plugin-react": "<%= latestVersions['eslint-plugin-react'] %>",<% if (tests) { %> "vite": "<%= latestVersions['vite'] %>", "vitest": "<%= latestVersions['vitest'] %>", "@vitest/coverage-istanbul": "<%= latestVersions['@vitest/coverage-istanbul'] %>",