Skip to content

Commit

Permalink
Merge pull request #466 from kubb-project/fix/removePeerDep
Browse files Browse the repository at this point in the history
fix: remove peerDependency for 'react' in swagger-client
  • Loading branch information
stijnvanhulle authored Oct 10, 2023
2 parents 09a1b34 + 29af254 commit 2264192
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 15 deletions.
17 changes: 14 additions & 3 deletions packages/react-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,25 @@
"@kubb/ts-codegen": "workspace:*",
"@kubb/ts-config": "workspace:*",
"@kubb/tsup-config": "workspace:*",
"@types/react": ">=18.2.25",
"@types/react": ">=18.2.27",
"@types/react-reconciler": "^0.28.5",
"eslint": "^8.51.0",
"react": "^18.2.0",
"react-devtools-core": "^4.28.4",
"tsup": "^7.2.0"
},
"peerDependencies": {
"@types/react": ">=18.2.25",
"react": ">=18.2.0"
"@types/react": ">=17.0.0",
"react": ">=17.0.0",
"react-devtools-core": "^4.19.1"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"react-devtools-core": {
"optional": true
}
},
"packageManager": "[email protected]",
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/swagger-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
"@kubb/swagger": "workspace:*",
"@kubb/swagger-ts": "workspace:*",
"@kubb/ts-codegen": "workspace:*",
"change-case": "^4.1.2"
"change-case": "^4.1.2",
"react": "^18.2.0"
},
"devDependencies": {
"@kubb/eslint-config": "workspace:*",
Expand All @@ -93,11 +94,10 @@
"typescript": "^5.2.2"
},
"peerDependencies": {
"axios": "^1.4.0",
"react": "^18.2.0"
"axios": "^1.4.0"
},
"peerDependenciesMeta": {
"react": {
"axios": {
"optional": true
}
},
Expand Down
52 changes: 44 additions & 8 deletions pnpm-lock.yaml

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

1 comment on commit 2264192

@vercel
Copy link

@vercel vercel bot commented on 2264192 Oct 10, 2023

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:

kubb – ./

www.kubb.dev
kubb-git-main-kubb.vercel.app
kubb.dev
kubb-kubb.vercel.app

Please sign in to comment.