Skip to content

Commit 8f9d518

Browse files
committed
chore(ci): copy readme before publishing
1 parent 907eb80 commit 8f9d518

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,5 @@ dist
177177
.DS_Store
178178

179179
.turbo/
180+
181+
packages/*/README.md

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"dev": "turbo run dev",
1919
"lint": "turbo run lint",
2020
"test": "turbo run test",
21-
"publish-packages": "changeset version && changeset publish"
21+
"copy-readme": "cp README.md packages/server/README.md && cp README.md packages/client/README.md",
22+
"publish-packages": "pnpm run copy-readme && changeset version && changeset publish"
2223
},
2324
"workspaces": ["packages/*"],
2425
"devDependencies": {

0 commit comments

Comments
 (0)