Skip to content

Commit

Permalink
feat: removed husky
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 committed Sep 22, 2023
1 parent b884a2a commit 7b3e9a4
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 24 deletions.
1 change: 0 additions & 1 deletion examples/algolia/.husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions examples/algolia/.husky/pre-commit

This file was deleted.

2 changes: 0 additions & 2 deletions examples/algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion examples/basic/.husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions examples/basic/.husky/pre-commit

This file was deleted.

2 changes: 0 additions & 2 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

This file was deleted.

This file was deleted.

6 changes: 2 additions & 4 deletions packages/d2c-schematics/workspace/files/package.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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'] %>",
Expand Down

0 comments on commit 7b3e9a4

Please sign in to comment.