Skip to content

Commit 8f4b420

Browse files
committed
chore: copy README.md to package directory during build and release processes
1 parent 2b19a93 commit 8f4b420

File tree

3 files changed

+345
-4
lines changed

3 files changed

+345
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ packages/imagekit-editor/dist/*
1717
packages/imagekit-editor/*.tgz
1818
.turbo
1919
.yarn
20-
builds
20+
builds
21+
packages/imagekit-editor/README.md

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@
1717
"start": "turbo run start",
1818
"build": "turbo run build",
1919
"version": "yarn workspace @imagekit/editor version",
20-
"package": "yarn build && yarn workspace @imagekit/editor pack --out ../../builds/imagekit-editor-%v.tgz",
21-
"release": "yarn build && yarn workspace @imagekit/editor pack --out ../../builds/imagekit-editor-%v.tgz && yarn workspace @imagekit/editor publish",
20+
"package": "yarn build && shx cp README.md ./packages/imagekit-editor/ && yarn workspace @imagekit/editor pack --out ../../builds/imagekit-editor-%v.tgz",
21+
"release": "yarn build && shx cp README.md ./packages/imagekit-editor/ && yarn workspace @imagekit/editor pack --out ../../builds/imagekit-editor-%v.tgz && yarn workspace @imagekit/editor publish",
2222
"prepare": "husky",
2323
"lint": "biome ci"
2424
},
2525
"devDependencies": {
2626
"@biomejs/biome": "2.1.1",
2727
"husky": "^9.1.7",
2828
"lint-staged": "^16.1.2",
29+
"shx": "^0.4.0",
2930
"turbo": "^2.0.1"
3031
},
3132
"packageManager": "[email protected]",

0 commit comments

Comments
 (0)