-
Notifications
You must be signed in to change notification settings - Fork 6k
[TypeScript] All Clients Conform to same packaging scheme #4766
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
[TypeScript] All Clients Conform to same packaging scheme #4766
Conversation
updated corresponding tests
produce package information
package information
sample clients to make sure changes work
only if supportsES6 is selected
I'm not exactly sure how to fix this. @wing328 let me know what I did wrong :x |
@kenisteward thanks for the PR. Also your commits (as shown in the Commits tab) are not linked to your Github account, which means this PR won't count as your contribution in https://github.com/swagger-api/swagger-codegen/graphs/contributors. Let me know if you need help fixing it. |
@wing328 Is it possible to update the CI? I think it may be looking in the root folder but now it should be looking in the npm folder as I've updated it to be in line with the other package generators |
intergration tests
@wing328 I've found the error and i'm going to push the correction now. it was in the base pom.xml that I didn't update yet how verify -Psamples runs correctly locally |
@kenisteward is it correct to say that this is a breaking change? If yes, please file against |
@wing328 This is only a breaking change for people who don't add npmName but expect to get packaging information. Would you say that requires to be put as a breaking change in 2.3.0? Technically all those clients would have to do is give a name and it wouldn't be a problem after. |
@wing328 should I resubmit this for 2.2.3 or 2.3.0? |
@wing328 let me know if I need to resubmit this on a different branch or if it can stay here and still be merged on 2.2.3. |
@kenisteward sorry for late reply on this. I think it's fine to do it against the current master. I wonder if you can rebase on the latest master to resolve the merge conflicts. Then I'll merge the enhancement into master. |
For #5104, I'll send you an email to discuss in more details. |
Thanks for closing this. Should we discuss more on this? I'm assuming the
combining to one is still wanted
…On Thu, Jan 25, 2018, 9:40 PM William Cheng ***@***.***> wrote:
Closed #4766 <#4766>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4766 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMPLtdIIhxAS5ZEkyrIAW-Ldji_pSvXMks5tOTswgaJpZM4L8--s>
.
|
Opened #7502 to continue the discussion. |
PR checklist
./bin/
to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh
and./bin/security/{LANG}-petstore.sh
if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)2.3.0
branch for breaking (non-backward compatible) changes.Description of the PR
This updates all Typescript client generation to conform to one scheme. Now The AbstractTypescriptClient handles setting up package info supporting files.
This is related to issue #2694
Note: Not supplying npmName for any Typescript client no longer generates a default package.json with default name. If the npmName is not present, no package information is generated. This allows you just plop the client into an existing project. If npmName is provided, it will generate the package information so that you can have the opportunity to publish your generated client publicly or privately with no hassle.