chore(tooling): husky initialization

This commit is contained in:
Erica Marigold 2022-11-22 17:45:28 +05:30
parent 0a25a8f355
commit 93d06fb323
No known key found for this signature in database
GPG key ID: 23CD97ABBBCC5ED2
2 changed files with 12 additions and 3 deletions

View file

@ -11,16 +11,17 @@
"build": "turbo run build", "build": "turbo run build",
"dev": "turbo run dev --parallel", "dev": "turbo run dev --parallel",
"lint": "turbo run lint", "lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"" "format": "prettier --write \"**/*.{ts,tsx,md}\"",
"prepare": "husky install"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-custom": "workspace:*", "eslint-config-custom": "workspace:*",
"husky": "^8.0.0",
"prettier": "latest", "prettier": "latest",
"turbo": "latest" "turbo": "latest"
}, },
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
}, },
"dependencies": {},
"packageManager": "pnpm@7.15.0" "packageManager": "pnpm@7.15.0"
} }

View file

@ -5,10 +5,12 @@ importers:
.: .:
specifiers: specifiers:
eslint-config-custom: workspace:* eslint-config-custom: workspace:*
husky: ^8.0.0
prettier: latest prettier: latest
turbo: latest turbo: latest
devDependencies: devDependencies:
eslint-config-custom: link:common/eslint-config-custom eslint-config-custom: link:common/eslint-config-custom
husky: 8.0.2
prettier: 2.7.1 prettier: 2.7.1
turbo: 1.6.3 turbo: 1.6.3
@ -1608,6 +1610,12 @@ packages:
resolve-alpn: 1.2.1 resolve-alpn: 1.2.1
dev: false dev: false
/husky/8.0.2:
resolution: {integrity: sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==}
engines: {node: '>=14'}
hasBin: true
dev: true
/iconv-lite/0.4.24: /iconv-lite/0.4.24:
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}