You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2021/03/29 00:12:02 UTC

[incubator-annotator] branch master updated: Temporarily log the npmrc during deployment

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 508869e  Temporarily log the npmrc during deployment
508869e is described below

commit 508869ec1aa4aeb9d84f59c69686aacd069352d3
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sun Mar 28 17:10:58 2021 -0700

    Temporarily log the npmrc during deployment
    
    This is obviously insecure, but there are not many more options
    available for figuring out what is going wrong with the Travis
    deployment script. The token should be replaced immediately after
    testing this.
---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 959ff73..fb0c222 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,7 @@
     "lint": "tsc --build && eslint .",
     "prepare": "yarn run build:lib:types && lerna run prepare",
     "prepublishOnly": "yarn run build",
-    "publish": "stat ~/.npmrc && npm whoami && lerna publish",
+    "publish": "cat ~/.npmrc",
     "publish:ci": "yarn run publish --canary --exact --force-publish '*' --yes minor",
     "start": "yarn run web:server",
     "test": "cross-env BABEL_ENV=test nyc mocha packages/**/*.test.ts",