diff --git a/.husky/post-checkout b/.husky/post-checkout deleted file mode 100644 index 42999882d9..0000000000 --- a/.husky/post-checkout +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -# Set the submodule.recurse configuration value to true -git config submodule.recurse true diff --git a/package.json b/package.json index 4d576a2c52..9ae860d3af 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,9 @@ "submodules:load": "git submodule init && git submodule update && yarn && yarn bootstrap", "submodules:unload": "git submodule deinit --all" }, + "hooks": { + "post-checkout": "git config submodule.recurse true" + }, "workspaces": { "packages": [ "packages/backend-core",