Skip to content

Commit 050313d

Browse files
committed
add LICENSE to published packages
1 parent 3347914 commit 050313d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Diff for: .changeset/spotty-cameras-fetch.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'react-docgen': patch
3+
'@react-docgen/cli': patch
4+
---
5+
6+
Correctly add LICENSE file to published packages

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"playground:build": "yarn workspace @react-docgen-internal/playground run build",
1616
"playground:start": "yarn workspace @react-docgen-internal/playground run start",
1717
"changesets-version": "changeset version && yarn install --mode update-lockfile",
18-
"release": "yarn build && changeset publish"
18+
"copy:license": "cp ./LICENSE ./packages/react-docgen/ && cp ./LICENSE ./packages/react-docgen-cli/",
19+
"release": "yarn build && yarn copy:license && changeset publish"
1920
},
2021
"license": "MIT",
2122
"workspaces": [

0 commit comments

Comments
 (0)