Skip to content

Commit d5ee7d8

Browse files
authored
Merge pull request #37 from open-rpc/fix/changesets2
fix: changesets with workspace resolution different approach
2 parents fb240cf + 5912d70 commit d5ee7d8

File tree

4 files changed

+11
-70
lines changed

4 files changed

+11
-70
lines changed

.changeset/vast-mugs-cry.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"open-rpc-markdown-generator-beta": patch
3+
"open-rpc-docusaurus-plugin-beta": patch
4+
---
5+
6+
Different approach to workspace:\* management

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Create Release Pull Request or Publish
3232
uses: changesets/action@v1
3333
with:
34-
version: bun changeset version
35-
publish: bun run scripts/fix-workspace-protocol.ts && bun changeset publish
34+
version: bun run ci:version
35+
publish: bun run ci:publish
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
"types:all": "bun run types:md-gen && bun run types:plugin",
3333
"changeset": "changeset",
3434
"version-packages": "changeset version",
35-
"release": "bun run build:all && bun run types:all && changeset publish"
35+
"release": "bun run build:all && bun run types:all && changeset publish",
36+
"ci:version": "changeset version && bun update",
37+
"ci:publish": "for dir in packages/markdown-generator packages/docusaurus-plugin; do (cd \"$dir\" && bun publish --access public || true); done && changeset tag"
3638
},
3739
"devDependencies": {
3840
"@changesets/cli": "^2.29.8",

scripts/fix-workspace-protocol.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)