diff --git a/.husky/pre-commit b/.husky/pre-commit index 9cff66e3d..0c7276e78 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,4 +2,12 @@ . "$(dirname "$0")/_/husky.sh" yarn dlx lint-staged -yarn build \ No newline at end of file + +# build packages +yarn workspace @courselit/icons build +yarn workspace @courselit/common-models build +yarn workspace @courselit/utils build +yarn workspace @courselit/text-editor build +yarn workspace @courselit/state-management build +yarn workspace @courselit/components-library build +yarn workspace @courselit/common-widgets build \ No newline at end of file