From eb9819b6767a1ea6003c52bd65da91b9519a1520 Mon Sep 17 00:00:00 2001 From: Florian7843 Date: Tue, 7 Sep 2021 11:40:31 +0200 Subject: [PATCH] feat(release): Should now create a package in GitHub NPM registry --- .releaserc | 5 ++--- package.json | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.releaserc b/.releaserc index c16921c..1cb50dc 100644 --- a/.releaserc +++ b/.releaserc @@ -5,8 +5,7 @@ "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - [ - "@semantic-release/github" - ] + "@semantic-release/github", + "@semantic-release/npm" ] } diff --git a/package.json b/package.json index 6ee57f3..4755711 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,10 @@ "hgjson": "tsc && dist/bin/hgjson.js", "semantic-release": "semantic-release" }, + "publishConfig": { + "registry": "https://npm.pkg.github.com", + "tag": "latest" + }, "bin": { "hgjson": "./dist/hgjson.js" },