From 599f29794dcc8ff5c75ed5834ed03711d52c9bc9 Mon Sep 17 00:00:00 2001 From: Yajith Dayarathna Date: Wed, 9 Oct 2024 08:37:23 +1300 Subject: [PATCH] required changes to enable monorepo. Co-authored-by: deviantony Co-authored-by: Yajith Dayarathna --- .husky/pre-commit | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 5a182ef10..333f88cf1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -yarn lint-staged +cd $(dirname -- "$0") && yarn lint-staged \ No newline at end of file diff --git a/package.json b/package.json index ad227a8d7..f8f2d0657 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "storybook": "storybook dev -p 6006", "storybook:build": "storybook build -o ./dist/storybook", "analyze-webpack": "webpack --config ./webpack/webpack.analyze.js", - "prepare": "husky install" + "prepare": "cd ../.. && husky install package/server-ce/.husky" }, "engines": { "node": ">= 16"