Skip to content

Commit 8722ed1

Browse files
committed
Add publishConfig
1 parent c147bfa commit 8722ed1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
node-version: 12
4343
registry-url: https://npm.pkg.github.com/
4444
- run: npm ci
45-
- run: npm publish --registry=https://npm.pkg.github.com/@josephrexme
45+
- run: npm publish
4646
env:
4747
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typable-react",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "React.js prop-types wrapper for easy extraction to documentation",
55
"main": "typable.js",
66
"scripts": {
@@ -10,6 +10,9 @@
1010
"type": "git",
1111
"url": "git+https://github.com/josephrexme/typable-react.git"
1212
},
13+
"publishConfig": {
14+
"registry":"https://npm.pkg.github.com/@josephrexme"
15+
},
1316
"keywords": [
1417
"static",
1518
"typed",

0 commit comments

Comments
 (0)