Skip to content

Commit

Permalink
Fix: Include ReadMe when publishing package (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian authored Mar 8, 2021
1 parent 6fe2510 commit c33f020
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-falcons-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'preact-cli': patch
---

Change ensures root ReadMe is bundled with CLI package on publish
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
"test": "lerna run test --stream",
"prettier": "prettier --write **/*.{js,ts,tsx,json,css,scss,md,yml}",
"lint": "eslint .",
"prepack": "ncp README.md packages/cli/",
"postpack": "rimraf packages/cli/README.md",
"changeset": "changeset",
"release": "changeset publish"
"release": "ncp README.md packages/cli/README.md && changeset publish && rimraf packages/cli/README.md"
},
"devDependencies": {
"@changesets/changelog-github": "^0.2.7",
Expand Down

0 comments on commit c33f020

Please sign in to comment.