Skip to content

Commit

Permalink
include readme in published package
Browse files Browse the repository at this point in the history
  • Loading branch information
nsaunders committed Jun 7, 2024
1 parent c717e6c commit d2322df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"typescript-eslint": "^7.9.0"
},
"scripts": {
"ci:publish": "pnpm publish -r --access public && changeset tag",
"ci:readme": "node -e \"require('fs').writeFileSync('./packages/react/README.md', require('fs').readFileSync('./README.md', 'utf8').replace(/<\\!-- npm-remove -->[\\S\\s]*<\\!-- \\/npm-remove -->/gm, ''))\"",
"ci:publish": "pnpm readme && pnpm publish -r --access public --no-git-checks && changeset tag",
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
"check": "eslint . && prettier --check .",
"fix": "eslint --fix . && prettier --write ."
Expand Down

0 comments on commit d2322df

Please sign in to comment.