Repository navigation
v0.2.0 - CLI / DX improvements
About this release
This release includes some DX improvements for CLI usage and starts reorganizing the overall infrastructure. We've added testing infrastructure and quite a few tests to make sure that future updates are stable.
CLI Updates
-- hooksexports hooks for React usage (thanks to @kahirokunn) 🎉NEW🎉-- fileallows you to specify a file to write the output to 🎉NEW🎉- Note: you can still omit this and pipe to a file if that is preferred
-- baseQuery- Allows you to pass a file and optional named export in- Example Usage:
--baseQuery nested/folder/customBaseQuery.ts:withAuthBaseQuery(looks for a named export ofwithAuthBaseQuery, throws if not found)--baseQuery customBaseQuery.ts(uses the default export,throws if not found)
- Example Usage:
Misc
- You can now pass a URL as well as a relative file to generate code from
Special thanks to @kahirokunn for helping roll these features out!