-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Migrate to latest openapi-ts #1430
Conversation
c9f9875
to
ab2331d
Compare
plugins: [ | ||
{ | ||
name: "@hey-api/sdk", | ||
// NOTE: this doesn't allow tree-shaking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left this as a note, maybe we can change this setting in future (though it would require us to change quite a bit of code 😊)
@@ -8,7 +8,7 @@ | |||
"build": "tsc && vite build", | |||
"lint": "biome check --apply-unsafe --no-errors-on-unmatched --files-ignore-unknown=true ./", | |||
"preview": "vite preview", | |||
"generate-client": "openapi-ts --input ./openapi.json --output ./src/client --client axios --exportSchemas true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of this is now in the config above 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with this we could technically remove the modify ids file, but I'd say we do that in another PR 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in #1434
ab2331d
to
79d3afd
Compare
Cool! Thank you 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you! 🚀 🍰
No description provided.