Skip to content

Commit

Permalink
v1.5.1: Add peerDependenciesMeta to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Jan 29, 2025
1 parent aad76a2 commit 5abb144
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Test and Release](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml/badge.svg)](https://github.com/suhaotian/use-one/actions/workflows/test-release.yml)
[![npm version](https://badgen.net/npm/v/use-one?color=green)](https://www.npmjs.com/package/use-one)
[![Size](https://deno.bundlejs.com/badge?q=xior@1.5.0&badge=detailed)](https://bundlejs.com/?q=use-one%401.5.0)
[![use-one's badge](https://deno.bundlejs.com/?q=use-one&badge=detailed&badge-style=for-the-badge)](https://bundlejs.com/?q=use-one)
[![install size](https://packagephobia.com/badge?p=use-one@latest)](https://packagephobia.com/result?p=use-one@latest)
![license](https://badgen.net/npm/license/use-one?color=green)

Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "use-one",
"version": "1.5.0",
"version": "1.5.1",
"license": "MIT",
"packageManager": "pnpm@9.12.3",
"repository": {
Expand Down Expand Up @@ -63,6 +63,11 @@
"peerDependencies": {
"react": ">=16"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"husky": {
"hooks": {
"pre-commit": "echo lint"
Expand Down

0 comments on commit 5abb144

Please sign in to comment.