From 0c4d7816eea8047e5e8baf233b5aa255d411ecca Mon Sep 17 00:00:00 2001 From: Matthew Downs Date: Wed, 2 Jun 2021 12:41:46 -0500 Subject: [PATCH] Updating --- .github/workflows/publish.yml | 5 ++++- README.md | 10 +++------- package.json | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31680fb..f4c1d4a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,13 +25,16 @@ jobs: run: npm ci - name: Build run: npm run build + - name: Publish NPM package + run: npm publish + working-directory: ./dist - name: Setup .npmrc run: | echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc echo "@wardenfinance:registry=https://npm.pkg.github.com" >> .npmrc echo "access=public" working-directory: ./dist - - name: Publish package + - name: Publish GitHub package run: npm publish working-directory: ./dist diff --git a/README.md b/README.md index 90ba130..6070d5e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # currency -JavaScript library for dealing with different currencies. +JavaScript library for utilizing fiat and crypto currencies. ![Version](https://img.shields.io/github/package-json/v/wardenfinance/currency) ![License](https://img.shields.io/github/license/wardenfinance/currency) @@ -8,14 +8,10 @@ JavaScript library for dealing with different currencies. ## Installation -You can install _currency_ via **npm** or **yarn** +Install _@wardenfinance/currency_ via **npm** ```sh -npm install https://github.com/wardenfinance/currency -``` - -```sh -yarn add https://github.com/wardenfinance/currency +npm install @wardenfinance/currency --save ``` ## Usage diff --git a/package.json b/package.json index 97580a0..4f60afd 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@wardenfinance/currency", "version": "1.0.0", "private": true, - "description": "JavaScript library for dealing with different currencies.", + "description": "JavaScript library for utilizing fiat and crypto currencies.", "main": "dist/index.js", "scripts": { "lint": "eslint . --ext .ts",