Skip to content

Commit 329c537

Browse files
committed
set registry from package.json
1 parent 5befb37 commit 329c537

File tree

7 files changed

+25
-7
lines changed

7 files changed

+25
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"
2828
run: |
2929
echo "attempt to publish package to NPM..."
30-
npm config set scripts-prepend-node-path true
3130
yarn wsrun -p 'fractal-component' -p '@fractal-components/*' --stages json -I -f package.json -e 'this.private=false'
31+
yarn wsrun -p 'fractal-component' -p '@fractal-components/*' --stages npm-setup
3232
yarn wsrun -p 'fractal-component' -p '@fractal-components/*' --stages release

examples/Counter/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,8 @@
9494
"*.js"
9595
]
9696
}
97-
]
97+
],
98+
"publishConfig": {
99+
"registry": "https://registry.npmjs.org/"
100+
}
98101
}

examples/RandomGif/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,8 @@
9494
"*.js"
9595
]
9696
}
97-
]
97+
],
98+
"publishConfig": {
99+
"registry": "https://registry.npmjs.org/"
100+
}
98101
}

examples/RandomGifPair/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,8 @@
9696
"*.js"
9797
]
9898
}
99-
]
99+
],
100+
"publishConfig": {
101+
"registry": "https://registry.npmjs.org/"
102+
}
100103
}

examples/RandomGifPairPair/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,8 @@
9696
"*.js"
9797
]
9898
}
99-
]
99+
],
100+
"publishConfig": {
101+
"registry": "https://registry.npmjs.org/"
102+
}
100103
}

examples/ToggleButton/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,8 @@
9494
"*.js"
9595
]
9696
}
97-
]
97+
],
98+
"publishConfig": {
99+
"registry": "https://registry.npmjs.org/"
100+
}
98101
}

packages/core/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,8 @@
117117
"*.js"
118118
]
119119
}
120-
]
120+
],
121+
"publishConfig": {
122+
"registry": "https://registry.npmjs.org/"
123+
}
121124
}

0 commit comments

Comments
 (0)