From 374ded2e649e620bae4eba44b3a844250e739163 Mon Sep 17 00:00:00 2001 From: Barry Carlyon Date: Mon, 26 Oct 2020 16:27:09 +0000 Subject: [PATCH 1/7] remove npm test for now --- .github/workflows/npm-publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index da61dd5..4397374 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -24,7 +24,6 @@ jobs: with: node-version: 12 - run: npm ci - - run: npm test publish-gpr: needs: build From 83f26a628f5a5a861ea1500a3afaca7c94fe2569 Mon Sep 17 00:00:00 2001 From: Barry Carlyon Date: Mon, 26 Oct 2020 16:30:52 +0000 Subject: [PATCH 2/7] try and fix githubpackages --- .github/workflows/npm-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 4397374..9200c17 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -34,6 +34,7 @@ jobs: with: node-version: 12 registry-url: https://npm.pkg.github.com/ + scope: '@BarryCarlyon' - run: npm ci - run: npm publish env: From ae20c6fddb63a9452a48e19548c47a5064dc81c2 Mon Sep 17 00:00:00 2001 From: Barry Carlyon Date: Mon, 26 Oct 2020 16:53:32 +0000 Subject: [PATCH 3/7] Trying to fix publish-gpr --- .github/workflows/npm-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9200c17..06adddb 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -34,8 +34,10 @@ jobs: with: node-version: 12 registry-url: https://npm.pkg.github.com/ - scope: '@BarryCarlyon' + scope: '@barrycarlyon' - run: npm ci + - name: Publish to GitHub Package Registry + - run: echo "registry=https://npm.pkg.github.com/@barrycarlyon" >> .npmrc - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GHTOKEN}} From 2b78f2078852b162fd32aa13f6d1a91517df440b Mon Sep 17 00:00:00 2001 From: Barry Carlyon Date: Mon, 26 Oct 2020 16:54:45 +0000 Subject: [PATCH 4/7] brokesomething --- .github/workflows/npm-publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 06adddb..ffd004b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -36,7 +36,6 @@ jobs: registry-url: https://npm.pkg.github.com/ scope: '@barrycarlyon' - run: npm ci - - name: Publish to GitHub Package Registry - run: echo "registry=https://npm.pkg.github.com/@barrycarlyon" >> .npmrc - run: npm publish env: From 503d3a636bb8c82e9e133d717230d45b6e252f9b Mon Sep 17 00:00:00 2001 From: Barry Carlyon Date: Mon, 26 Oct 2020 17:00:18 +0000 Subject: [PATCH 5/7] try this --- .github/workflows/npm-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ffd004b..94f4461 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -34,9 +34,10 @@ jobs: with: node-version: 12 registry-url: https://npm.pkg.github.com/ - scope: '@barrycarlyon' + scope: '@BarryCarlyon' - run: npm ci - - run: echo "registry=https://npm.pkg.github.com/@barrycarlyon" >> .npmrc + - run: echo "registry=https://npm.pkg.github.com/@BarryCarlyon" >> .npmrc + - run: echo "name=@BarryCarlyon/quickpassword" >> .npmrc - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GHTOKEN}} From ab9b63cb8461db0b6d8f5cd1ca4d20fbeaa5ef05 Mon Sep 17 00:00:00 2001 From: Barry Carlyon Date: Mon, 26 Oct 2020 17:01:07 +0000 Subject: [PATCH 6/7] messed up the echo --- .github/workflows/npm-publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 94f4461..1e35632 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -36,8 +36,7 @@ jobs: registry-url: https://npm.pkg.github.com/ scope: '@BarryCarlyon' - run: npm ci - - run: echo "registry=https://npm.pkg.github.com/@BarryCarlyon" >> .npmrc - - run: echo "name=@BarryCarlyon/quickpassword" >> .npmrc + - run: echo "registry=https://npm.pkg.github.com/@BarryCarlyon\nname=@BarryCarlyon/quickpassword" >> .npmrc - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GHTOKEN}} From 0186d6a63b86bd9b98a85ef72fcf3611d6f7790f Mon Sep 17 00:00:00 2001 From: Barry Carlyon Date: Wed, 6 Jan 2021 13:08:45 +0000 Subject: [PATCH 7/7] Note about node ugprades and fix a typo --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bd75ff0..57a57d3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -A very very quick and dirty password encrypter using bcypt based on [this Stackoverflow Question](http://stackoverflow.com/questions/14015677/node-js-encryption-of-passwords) +A very very quick and dirty password encrypter using bcrypt based on [this Stackoverflow Question](http://stackoverflow.com/questions/14015677/node-js-encryption-of-passwords) # Comparison @@ -27,3 +27,7 @@ A very very quick and dirty password encrypter using bcypt based on [this Stacko // ret contains encrypted password for storage } }); + +# Upgrading node + +If/when you upgrade node, this module (well bcrypt) will need to be recompiled, `npm rebuild` should get you going!