From 7ae38906926dc09bc10670c361af0d2bf0050426 Mon Sep 17 00:00:00 2001 From: Hsuan Lee Date: Sat, 19 Jan 2019 18:42:04 +0800 Subject: Update dependency packages --- packages/monorepo-scripts/src/prepublish_checks.ts | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'packages/monorepo-scripts/src/prepublish_checks.ts') diff --git a/packages/monorepo-scripts/src/prepublish_checks.ts b/packages/monorepo-scripts/src/prepublish_checks.ts index 021e57226..36781b772 100644 --- a/packages/monorepo-scripts/src/prepublish_checks.ts +++ b/packages/monorepo-scripts/src/prepublish_checks.ts @@ -141,20 +141,6 @@ async function checkPublishRequiredSetupAsync(): Promise { throw new Error('You must be logged into npm in the commandline to publish. Run `npm login` and try again.'); } - // Check to see if Git personal token setup - if (_.isUndefined(constants.githubPersonalAccessToken)) { - throw new Error( - 'You must have a Github personal access token set to an envVar named `GITHUB_PERSONAL_ACCESS_TOKEN_0X_JS`. Add it then try again.', - ); - } - - // Check to see if discord URL is set up - if (_.isUndefined(constants.discordAlertWebhookUrl)) { - throw new Error( - 'You must have a discord webhook URL set to an envVar named `DISCORD_GITHUB_RELEASE_WEBHOOK_URL`. Add it then try again.', - ); - } - // Check Yarn version is 1.X utils.log('Checking the yarn version...'); const result = await execAsync(`yarn --version`); @@ -165,14 +151,6 @@ async function checkPublishRequiredSetupAsync(): Promise { throw new Error('Your yarn version must be v1.x or higher. Upgrade yarn and try again.'); } - // Check that `aws` commandline tool is installed - try { - utils.log('Checking that aws CLI tool is installed...'); - await execAsync(`aws help`); - } catch (err) { - throw new Error('You must have `awscli` commandline tool installed. Install it and try again.'); - } - // Check that `aws` credentials are setup try { utils.log('Checking that aws credentials are configured...'); -- cgit v1.2.3