From 99b03aa7964b028c5de2f4f03cf754325444fad5 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 9 Dec 2018 15:22:20 +0100 Subject: [PATCH] fix(core): update --- npmextra.json | 2 +- ts/mod_npm/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npmextra.json b/npmextra.json index 88f89fb..e4c43ce 100644 --- a/npmextra.json +++ b/npmextra.json @@ -7,7 +7,7 @@ "npmci": { "npmGlobalTools": [], "npmAccessLevel": "public", - "npmRegistryUrl": "//registry.npmjs.org" + "npmRegistryUrl": "registry.npmjs.org" }, "npmdocker":{ "baseImage":"hosttoday/ht-docker-node:npmci", diff --git a/ts/mod_npm/index.ts b/ts/mod_npm/index.ts index a5d1b18..51b7882 100644 --- a/ts/mod_npm/index.ts +++ b/ts/mod_npm/index.ts @@ -76,7 +76,7 @@ const publish = async () => { // -> configure registry url if (config.npmRegistryUrl) { - npmAccessCliString = `--registry=${config.npmRegistryUrl}`; + npmAccessCliString = `--registry=https://${config.npmRegistryUrl}`; } else { logger.log('error', `no registry url specified. Can't publish!`); process.exit(1);