From 7446493ddae1e4bc9a216736c0fd5273530f2bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ti=E1=BA=BFn=20Nguy=E1=BB=85n=20Kh=E1=BA=AFc?= Date: Wed, 17 Jul 2024 23:45:46 +1200 Subject: [PATCH] fix: changeset publish does not resolve workspace version (#11) --- .changeset/sweet-actors-agree.md | 7 +++++++ scripts/publish.sh | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/sweet-actors-agree.md diff --git a/.changeset/sweet-actors-agree.md b/.changeset/sweet-actors-agree.md new file mode 100644 index 00000000..0368c56b --- /dev/null +++ b/.changeset/sweet-actors-agree.md @@ -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 diff --git a/scripts/publish.sh b/scripts/publish.sh index ea95235b..a0851184 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -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