-
Notifications
You must be signed in to change notification settings - Fork 14
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
chore(javascript): remove dependency to openapitools.json at rollup #323
Conversation
✅ Deploy Preview for api-clients-automation canceled.
|
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
I think having generation related code in client repo is a bad idea, I think it would be better to make |
Now that I hear you, what about this? During the release process, we generate a file like |
Actually we don't even need an other file, the information is already in the repo, we just need to iterate through the folders name in |
uh you're right. they're a list of generated clients! |
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.
Looking great !
algolia/api-clients-automation#323 Co-authored-by: Eunjae Lee <karis612@gmail.com>
…323) * chore(javascript): add openapitools.json to js repository * chore: get the list differently
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-211
Changes included:
rollup
usesopenapitools.json
to build js clients, but the file is only in the monorepo. When the rollup runs atalgoliasearch-client-javascript
repository, it doesn't have access to the file, and the build fails.This PR copies the file to the js repo on release, but I'm not 100% sure if this is the best way. I'm open to alternative ways. If not, this won't be a terrible idea, though.