From 329c5370b10c2b612de828241882b663fa8f3b95 Mon Sep 17 00:00:00 2001 From: Jacky Jiang Date: Wed, 8 Apr 2020 23:11:45 +1000 Subject: [PATCH] set registry from package.json --- .github/workflows/release.yml | 2 +- examples/Counter/package.json | 5 ++++- examples/RandomGif/package.json | 5 ++++- examples/RandomGifPair/package.json | 5 ++++- examples/RandomGifPairPair/package.json | 5 ++++- examples/ToggleButton/package.json | 5 ++++- packages/core/package.json | 5 ++++- 7 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0dadcd..ac81170 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,6 @@ jobs: NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}" run: | echo "attempt to publish package to NPM..." - npm config set scripts-prepend-node-path true yarn wsrun -p 'fractal-component' -p '@fractal-components/*' --stages json -I -f package.json -e 'this.private=false' + yarn wsrun -p 'fractal-component' -p '@fractal-components/*' --stages npm-setup yarn wsrun -p 'fractal-component' -p '@fractal-components/*' --stages release \ No newline at end of file diff --git a/examples/Counter/package.json b/examples/Counter/package.json index 7b6b99b..18881dd 100644 --- a/examples/Counter/package.json +++ b/examples/Counter/package.json @@ -94,5 +94,8 @@ "*.js" ] } - ] + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + } } diff --git a/examples/RandomGif/package.json b/examples/RandomGif/package.json index 86dfb79..b886443 100644 --- a/examples/RandomGif/package.json +++ b/examples/RandomGif/package.json @@ -94,5 +94,8 @@ "*.js" ] } - ] + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + } } diff --git a/examples/RandomGifPair/package.json b/examples/RandomGifPair/package.json index ed92c1a..983e955 100644 --- a/examples/RandomGifPair/package.json +++ b/examples/RandomGifPair/package.json @@ -96,5 +96,8 @@ "*.js" ] } - ] + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + } } diff --git a/examples/RandomGifPairPair/package.json b/examples/RandomGifPairPair/package.json index 0c501e8..44a2c1f 100644 --- a/examples/RandomGifPairPair/package.json +++ b/examples/RandomGifPairPair/package.json @@ -96,5 +96,8 @@ "*.js" ] } - ] + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + } } diff --git a/examples/ToggleButton/package.json b/examples/ToggleButton/package.json index 98356f8..8932737 100644 --- a/examples/ToggleButton/package.json +++ b/examples/ToggleButton/package.json @@ -94,5 +94,8 @@ "*.js" ] } - ] + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + } } diff --git a/packages/core/package.json b/packages/core/package.json index b4ed26d..6e4bc6f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -117,5 +117,8 @@ "*.js" ] } - ] + ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + } }