-
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
fix(scripts): bump playground in release process #690
Conversation
✅ Deploy Preview for api-clients-automation ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
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.
Nice improvement, less repetition !
@@ -13,6 +13,7 @@ | |||
}, | |||
"javascript": { | |||
"folder": "clients/algoliasearch-client-javascript", | |||
"npmNamespace": "@experimental-api-clients-automation", |
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.
maybe you can simplify packageName
in openapitools.json
to only be the package name without the @experimental-api-clients-automation
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.
good idea! let's see if it does the thing 5942a5c
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.
we could even do more magic by guessing it from the output path but will see
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.
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.
ah didn't even see buildFile
variable lol, it's better like that
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.
yup!! i'm trying to guess it from the path and we can remove additionalProperties :D
edit: ah no we still need the version
705ec0b
to
ef24b00
Compare
ef24b00
to
9fb7927
Compare
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.
this is black magic, the file openapitools.json
went from +600 lines at first to 115, this is awesome
🧭 What and Why
🎟 JIRA Ticket: -
Changes included:
package.json
of the JavaScript playground when running therelease
script.npmNamespace
to the clients configutils
package namespace, if you feel like it's not necessary for the gen I can remove it🧪 Test
yarn release
from this PR