From 653d31ce82a75c7bd3f901b0aa1979988b3d694b Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Fri, 19 Apr 2024 07:47:11 -0700 Subject: [PATCH] build: replace 'yarn' in NPM lifecycle scripts https://docs.npmjs.com/cli/v10/using-npm/scripts#life-cycle-operation-order --- packages/xsnap/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xsnap/package.json b/packages/xsnap/package.json index d24c1320d6d..63714f36c77 100644 --- a/packages/xsnap/package.json +++ b/packages/xsnap/package.json @@ -16,7 +16,7 @@ "build:env": "node src/build.js --show-env > build.env", "build:from-env": "{ cat build.env; echo node src/build.js; } | xargs env", "build": "yarn build:bin && yarn build:env", - "postinstall": "yarn build:from-env", + "postinstall": "npm run build:from-env", "clean": "rm -rf xsnap-native/xsnap/build", "lint": "run-s --continue-on-error lint:*", "lint:js": "eslint 'src/**/*.js' 'test/**/*.js' api.js",