From 09046c0dee76f2f331908bd07d0b7c590dfd95c4 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 26 Jun 2020 18:01:26 +0200 Subject: [PATCH] next try to publish --- RELEASING.md | 7 +++++++ package.json | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 2c4743e..1e13ce8 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -5,8 +5,10 @@ shadow-cljs compile test shadow-cljs release app +rm -rf target/npm-build mkdir target/npm-build cp mastodon-bot.js target/npm-build/ +cp package.json target/npm-build/ cp README.md target/npm-build/ tar -c -C target/npm-build -f target/npm-build.tar . @@ -25,10 +27,15 @@ git tag [version] git push && git push --tag shadow-cljs release app + +shadow-cljs release app +rm -rf target/npm-build mkdir target/npm-build cp mastodon-bot.js target/npm-build/ +cp package.json target/npm-build/ cp README.md target/npm-build/ tar -c -C target/npm-build -f target/npm-build.tar . + npm publish ./target/npm-build.tar --access public --tag [version] # Bump version diff --git a/package.json b/package.json index a90b003..8fce2f1 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,6 @@ "scripts": { "start": "node mastodon-bot.js" }, - "bin": { - "mastodon-bot": "mastodon-bot.js" - }, "keywords": [ "cljs", "mastodon",