From 3f9fbd111a55d6515216d165b65cceb0e8d14ead Mon Sep 17 00:00:00 2001 From: Daniel Schep Date: Fri, 30 Nov 2018 13:11:24 -0500 Subject: [PATCH] switch to disabling prepuplish only script --- package.json | 3 +-- scripts/pre-release.js | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 64269b8b196..d3aae4fdb66 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,7 @@ "integration-test-cleanup": "node scripts/integration-test-cleanup.js", "simple-integration-test": "jest --maxWorkers=5 simple-suite", "complex-integration-test": "jest --maxWorkers=5 integration", - "postinstall": "node ./scripts/postinstall.js", - "prepublishOnly": "./scripts/shrinkwrap && node ./scripts/pre-release.js" + "postinstall": "node ./scripts/postinstall.js" }, "jest": { "testRegex": "(\\.|/)(tests)\\.js$", diff --git a/scripts/pre-release.js b/scripts/pre-release.js index bddc8ecc76f..b8afb24ce32 100644 --- a/scripts/pre-release.js +++ b/scripts/pre-release.js @@ -7,11 +7,9 @@ const path = require('path'); const trackingConfigFilePath = path.join(process.cwd(), getTrackingConfigFileName()); // don't release without Sentry key! -/* if (!process.env.SENTRY_DSN) { throw new Error('SENTRY_DSN env var not set'); } -*/ const trackingConfig = { sentryDSN: process.env.SENTRY_DSN,