From a8b4a24933ab129f7c66f3e7b86f2e4406aef182 Mon Sep 17 00:00:00 2001 From: Max Beatty Date: Tue, 23 Mar 2021 19:45:10 -0700 Subject: [PATCH] fix: publish only dist publicly by default, scoped organization packages are considered private --- .npmignore | 5 +++-- .npmrc | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index 4d1364e..a497ee3 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1,3 @@ -.github -.husky +# only publish dist directory +* +!dist/ diff --git a/.npmrc b/.npmrc index 40b3611..aa38de4 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ registry=https://registry.npmjs.com/ +access=public