Skip to content

Commit

Permalink
feat: update docs for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhenry committed Sep 28, 2023
1 parent 09bab69 commit a5ff7f3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ yarn dev
This will setup the project to watch for changes and start a local server at <localhost:3000>.

The React package is found in `packages/prettyavatars` and the website is found in `packages/website`.

## Publishing a Release

Run `yarn release` to publish a new release. Lerna will take care of everything for you.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@ import Avatar from 'prettyavatars'
/>
```

### smile

<div align="center">
<img src="https://prettyavatars.com/api/smile/100?random-name=true"/>
</div>

#### CDN

```url
https://prettyavatars.com/api/smile/100
```

### pixel-art

Credit goes to [laurentpayot/minidenticons](https://github.com/laurentpayot/minidenticons)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"dev": "lerna bootstrap && lerna run --parallel dev",
"build": "lerna run build",
"test": "lerna run test",
"prepare": "husky install"
"prepare": "husky install",
"release": "lerna publish"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand Down

0 comments on commit a5ff7f3

Please sign in to comment.