Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit fac1fe1

Browse files
committed
chore(workspace): update release script
1 parent 7552b0d commit fac1fe1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"lint": "nx run-many --all --target=lint",
8787
"prepare": "npm-run-all prepare:hooks",
8888
"prepare:hooks": "husky install",
89-
"release": "standard-version --bumpFiles package.json packages/lib/package.json packages/ipfs/package.json packages/relay/package.json packages/transport/package.json",
89+
"release": "standard-version --bumpFiles package.json packages/lib/package.json packages/ipfs/package.json packages/relay/package.json packages/transport/package.json && scripts/publish",
9090
"serve": "nx run-many --all --target=serve"
9191
},
9292
"version": "0.2.43",

scripts/publish

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/bash
22

3+
yarn build
4+
35
for package in dist/packages/* ; do
46
echo "Publishing $package"
5-
bash -c "cd $package && yarn publish --access public" > /dev/null 2>&1 &
7+
bash -c "cd $package && npm publish --access public" &
68
done
79

810
wait

0 commit comments

Comments
 (0)