From f5fd0aef193dd25c73f3838d82b633cbaeefb2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Tue, 6 Aug 2019 13:54:22 +0100 Subject: [PATCH 1/2] publish to GPR as a postpublish step --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0c90b88..7f8641f 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "build": "rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow", "prepublishOnly": "npm run build", "pretest": "npm run build", - "test": "karma start ./test/karma.config.js" + "test": "karma start ./test/karma.config.js", + "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'" }, "repository": "github/time-elements", "devDependencies": { From 1a9c306e9b940a2e5ad0f5122fb800edd1d5aea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Tue, 6 Aug 2019 15:34:01 +0100 Subject: [PATCH 2/2] 3.0.5 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index c39e756..7bb017a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@github/time-elements", - "version": "3.0.4", + "version": "3.0.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7f8641f..9489888 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@github/time-elements", - "version": "3.0.4", + "version": "3.0.5", "main": "dist/time-elements-legacy.js", "module": "dist/time-elements.js", "license": "MIT",