Skip to content

Commit

Permalink
fix: changeset publish does not resolve workspace version (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
tien authored Jul 17, 2024
1 parent 62f26d9 commit 7446493
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/sweet-actors-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@reactive-dot/core": patch
"@reactive-dot/react": patch
"@reactive-dot/utils": patch
---

Fix changeset publish does not resolves Yarn workspace dependencies
3 changes: 2 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ while IFS= read -r -d '' package_json; do
fi
done < <(find . -name package.json -type f -not -path "*/node_modules/*" -print0)

yarn changeset publish
yarn workspaces foreach -At --no-private npm publish --access public --tolerate-republish
yarn changeset tag

# Delete only the created LICENSE files
for file in "${created_files[@]}"; do
Expand Down

0 comments on commit 7446493

Please sign in to comment.