Skip to content

Commit

Permalink
set registry from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
t83714 committed Apr 8, 2020
1 parent 5befb37 commit 329c537
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion examples/Counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@
"*.js"
]
}
]
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
5 changes: 4 additions & 1 deletion examples/RandomGif/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@
"*.js"
]
}
]
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
5 changes: 4 additions & 1 deletion examples/RandomGifPair/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,8 @@
"*.js"
]
}
]
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
5 changes: 4 additions & 1 deletion examples/RandomGifPairPair/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,8 @@
"*.js"
]
}
]
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
5 changes: 4 additions & 1 deletion examples/ToggleButton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@
"*.js"
]
}
]
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
5 changes: 4 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,8 @@
"*.js"
]
}
]
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}

0 comments on commit 329c537

Please sign in to comment.