diff --git a/native/postinstall.sh b/native/postinstall.sh --- a/native/postinstall.sh +++ b/native/postinstall.sh @@ -4,6 +4,7 @@ # Skip Windows if [[ "$OSTYPE" == "msys" ]]; then + echo '{"name": "olm", "version": "3.2.4"}' > ../olm/package.json exit 0 fi diff --git a/package.json b/package.json --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "rust-pre-commit": "./scripts/rust_pre_commit.sh", "terraform-pre-commit": "./scripts/terraform_pre_commit.sh", "prepare": "husky install", - "arcpatch": "git pull --all --tags && arc patch" + "arcpatch": "git pull --all --tags && arc patch", + "postinstall": "yarn patch-package" }, "devDependencies": { "babel-eslint": "^10.1.0", @@ -41,6 +42,7 @@ "gaxios": "^4.3.2", "husky": "^7.0.0", "lint-staged": "^12.1.4", + "patch-package": "^6.4.7", "prettier": "^2.1.2" }, "resolutions": {