Skip to content

Commit fad7b40

Browse files
authored
Merge pull request #1825 from hey-api/fix/openapi-ts-peer-deps
fix: move @hey-api/openapi-ts to peerDependencies
2 parents 122eaf9 + 0670a38 commit fad7b40

File tree

4 files changed

+56
-318
lines changed

4 files changed

+56
-318
lines changed

.changeset/sixty-cycles-shake.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@hey-api/rollup-plugin': patch
3+
'@hey-api/nuxt': patch
4+
---
5+
6+
fix: move @hey-api/openapi-ts to peerDependencies

packages/nuxt/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,17 @@
5454
},
5555
"dependencies": {
5656
"@hey-api/client-nuxt": "workspace:*",
57-
"@hey-api/openapi-ts": "workspace:*",
5857
"@nuxt/kit": "3.15.4",
5958
"defu": "6.1.4",
6059
"mlly": "1.7.4"
6160
},
6261
"peerDependencies": {
62+
"@hey-api/openapi-ts": "< 2",
6363
"nuxt": ">= 3.0.0 < 4",
6464
"vue": ">= 3.5.13 < 4"
6565
},
6666
"devDependencies": {
67+
"@hey-api/openapi-ts": "workspace:*",
6768
"@nuxt/module-builder": "0.8.4",
6869
"@nuxt/schema": "3.14.1592",
6970
"@nuxt/test-utils": "3.14.0",

packages/rollup-plugin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"prepublishOnly": "pnpm build"
5656
},
5757
"peerDependencies": {
58-
"@hey-api/openapi-ts": "0.64.12"
58+
"@hey-api/openapi-ts": "< 2"
5959
},
6060
"devDependencies": {
6161
"@hey-api/openapi-ts": "workspace:*",

0 commit comments

Comments
 (0)