Skip to content

Commit

Permalink
add LICENSE to published packages
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Dec 15, 2022
1 parent 3347914 commit 050313d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/spotty-cameras-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'react-docgen': patch
'@react-docgen/cli': patch
---

Correctly add LICENSE file to published packages
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"playground:build": "yarn workspace @react-docgen-internal/playground run build",
"playground:start": "yarn workspace @react-docgen-internal/playground run start",
"changesets-version": "changeset version && yarn install --mode update-lockfile",
"release": "yarn build && changeset publish"
"copy:license": "cp ./LICENSE ./packages/react-docgen/ && cp ./LICENSE ./packages/react-docgen-cli/",
"release": "yarn build && yarn copy:license && changeset publish"
},
"license": "MIT",
"workspaces": [
Expand Down

0 comments on commit 050313d

Please sign in to comment.