From ce99800f0f355f01e975a94d04c8f0fa4401320f Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
Date: Wed, 10 Feb 2021 16:04:03 +0300
Subject: Migrate Husky To v5
Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
---
README.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'README.md')
diff --git a/README.md b/README.md
index b19152f..0f42f95 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,8 @@ The project uses [yarn](https://yarnpkg.com/) for dependency and script manageme
and [webpack](https://webpack.js.org/) for building and development.
A full setup guide is available on [Notion](https://www.notion.so/pythondiscord/Forms-6312360495ff45f487da5b1924184a2d),
-along with a troubleshooting guide.
+along with a troubleshooting guide.
+Run `yarn install --dev` and `yarn run pre-commit` to setup your dev environment.
## React & Dependency Info
### Project Info
--
cgit v1.2.3
From bad36a3bef51fb12dbb57f0e60535fb243711987 Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
Date: Sun, 7 Mar 2021 03:49:31 +0300
Subject: Removes Pre Commit Step
Removes the husky install step, in favor of automatic install through
the prepare script.
Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
---
.config/husky/.gitignore | 2 +-
README.md | 1 -
package.json | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
(limited to 'README.md')
diff --git a/.config/husky/.gitignore b/.config/husky/.gitignore
index c9cdc63..31354ec 100644
--- a/.config/husky/.gitignore
+++ b/.config/husky/.gitignore
@@ -1 +1 @@
-_
\ No newline at end of file
+_
diff --git a/README.md b/README.md
index 0f42f95..8094419 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,6 @@ and [webpack](https://webpack.js.org/) for building and development.
A full setup guide is available on [Notion](https://www.notion.so/pythondiscord/Forms-6312360495ff45f487da5b1924184a2d),
along with a troubleshooting guide.
-Run `yarn install --dev` and `yarn run pre-commit` to setup your dev environment.
## React & Dependency Info
### Project Info
diff --git a/package.json b/package.json
index 67b4b94..b3209ed 100644
--- a/package.json
+++ b/package.json
@@ -36,7 +36,7 @@
"build": "webpack",
"test": "jest",
"lint": "eslint --cache src/",
- "pre-commit": "husky install .config/husky"
+ "prepare": "husky install .config/husky"
},
"eslintConfig": {
"extends": "react-app"
--
cgit v1.2.3