From b8d00adabcb05c8ae4ccfdfc37ef63dc84f9622f Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 9 Jan 2020 19:43:08 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/prepublish/prepublish.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/prepublish/prepublish.js b/lib/prepublish/prepublish.js index 66a6fe777..7f02b5ad1 100644 --- a/lib/prepublish/prepublish.js +++ b/lib/prepublish/prepublish.js @@ -1,9 +1,9 @@ const { resolve } = require("path"); const { writeFileSync } = require("fs"); -if (!process.env.VERDACCIO_AUTH) { - return; -} +// if (!process.env.VERDACCIO_AUTH) { +// return; +// } function pad2(n) {// always returns a string return (n < 10 ? "0" : "") + n; @@ -24,4 +24,4 @@ packageJSON.version = `2.0.${version}`; writeFileSync(resolve(__dirname, "../../package.json"), JSON.stringify(packageJSON, null, 2)); -writeFileSync(resolve(__dirname, "../../.npmrc"), `//192.168.5.154:4873/:_authToken="${process.env.VERDACCIO_AUTH}"`); +// writeFileSync(resolve(__dirname, "../../.npmrc"), `//192.168.5.154:4873/:_authToken="${process.env.VERDACCIO_AUTH}"`);