From 9c9945ee32d940652d4d1c045a9240c4da1d31fa Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Fri, 20 Dec 2024 13:00:37 +0100 Subject: [PATCH] adjust `prepublishOnly` --- packages/react-router/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 629eb6bc..7edb90d3 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -58,7 +58,7 @@ "test:browser": "NODE_OPTIONS=\"${NODE_OPTIONS:-} --conditions=browser\" yarn run test:base", "test:rsc": "NODE_OPTIONS=\"${NODE_OPTIONS:-} --conditions=react-server\" yarn run test:base", "prepack": "yarn build", - "prepublishOnly": "yarn pack -o attw.tgz && attw attw.tgz && rm attw.tgz && yarn run test", + "prepublishOnly": "wait-on ../client-react-streaming/.published --delay 3000 --timeout 30000 && yarn pack -o attw.tgz && attw attw.tgz && rm attw.tgz && yarn run test", "test-bundle": "yarn test-bundle:attw && yarn test-bundle:package && yarn test-bundle:publint && yarn test-bundle:shape", "test-bundle:attw": "attw --pack .", "test-bundle:package": "yarn workspace monorepo verify-package-json $PWD/package.json",