Skip to content

Commit

Permalink
react as peerDep && bump
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Oct 10, 2022
1 parent 34a9443 commit c45c206
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
16 changes: 11 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "@hazae41/xswr",
"version": "1.0.88",
"version": "1.0.89",
"author": "hazae41",
"license": "MIT",
"description": "The simplest React data (re)fetching library ever made",
Expand All @@ -13,8 +13,8 @@
"scripts": {
"build": "rimraf dist && bunchee -m ./src/index.ts && ttsc && rimraf dist/libs"
},
"dependencies": {
"react": "^18.2.0"
"peerDependencies": {
"react": "^16.11.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@types/react": "^18.0.21",
Expand Down
15 changes: 15 additions & 0 deletions test/next/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@hazae41/xswr": "^1.0.89",
"next": "12.2.5",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down

1 comment on commit c45c206

@vercel
Copy link

@vercel vercel bot commented on c45c206 Oct 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

xswr-test – ./

test.xswr.hazae41.me
xswr-test-hazae41.vercel.app
xswr-test-git-master-hazae41.vercel.app

Please sign in to comment.