diff --git a/packages/dataverse-react/package.json b/packages/dataverse-react/package.json index 2ec1d5d..52b6b14 100644 --- a/packages/dataverse-react/package.json +++ b/packages/dataverse-react/package.json @@ -18,7 +18,7 @@ "dist/**/*" ], "scripts": { - "prepack": "yarn run build", + "prepack": "node ../../devEnv/ensurePublishing.js", "typecheck": "yarn run build", "build": "run-s build:ts build:js", "build:ts": "tsc --build ./tsconfig.json", diff --git a/packages/dataverse/package.json b/packages/dataverse/package.json index 4357f88..0225ac3 100644 --- a/packages/dataverse/package.json +++ b/packages/dataverse/package.json @@ -18,7 +18,7 @@ "dist/**/*" ], "scripts": { - "prepack": "yarn run build", + "prepack": "node ../../devEnv/ensurePublishing.js", "typecheck": "yarn run build", "build": "run-s build:ts build:js", "build:ts": "tsc --build ./tsconfig.json", diff --git a/packages/plugin-r3f/package.json b/packages/plugin-r3f/package.json index edcf664..43b3ad1 100644 --- a/packages/plugin-r3f/package.json +++ b/packages/plugin-r3f/package.json @@ -26,7 +26,7 @@ "dist/**/*" ], "scripts": { - "prepack": "yarn run build", + "prepack": "node ../../devEnv/ensurePublishing.js", "typecheck": "yarn run build", "build": "run-s build:ts build:js", "build:ts": "tsc --build ./tsconfig.json",