-
Notifications
You must be signed in to change notification settings - Fork 94
feat!: move library to typescript code generation #285
Conversation
@bcoe @JustinBeckwith 👏 |
@xiaozhenliu-gg5 what's up with |
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 will give thorough review as soon as I get through some routine weekly tasks.
One note, I think we should hold off on moving over any existing libraries, until we have jsdoc
added back; It's fine for a few edge-cases, like adding the new v3
API to translate, or generating a brand new library; but for existing libraries with good reference documentation, keeping the same level of quality is important (I know this work is coming along any ways 😄 )
@bcoe jsdoc is there! I will take a deeper look later today at what is actually being generated by jsdoc, and likely make fixes, but the general structure of jsdoc comments is already here. |
This will also wait for googleapis/gapic-generator-typescript#125 ( |
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.
@alexander-fenster with regards to jsdoc, awesome 😄
we should run npm run docs
locally, and see how we feel about the docs (as part of our work).
Looks like we also need to address the missing license headers:
|
@JustinBeckwith License headers in the generated files are addressed in googleapis/gapic-generator-typescript#124. As for |
That's more of a question for OSPO than me :) |
OK! License for |
For running locally |
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 looking really promising to me, it's great that all the sample tests pass without any changes (speaks to the API surface staying consistent).
Codecov Report
@@ Coverage Diff @@
## master #285 +/- ##
===========================================
+ Coverage 75.88% 88.83% +12.95%
===========================================
Files 8 5 -3
Lines 141 896 +755
Branches 0 53 +53
===========================================
+ Hits 107 796 +689
- Misses 34 98 +64
- Partials 0 2 +2
Continue to review full report at Codecov.
|
@xiaozhenliu-gg5 @bcoe @JustinBeckwith I hereby declare this library ready! :) Three things we'll keep working on are:
With these three things in mind, I think we can go ahead and release this as a semver major (as discussed, because of DefinitelyTyped types). What do you folks think? |
"\(https:[\s\*]+(.*)\)", | ||
r"(https:\1)") | ||
# Fix system tests | ||
# TODO: must be a feature of pack-n-play |
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.
What's missing here? Do we need a tracking bug over in pack-n-play?
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 have a tracking issue here googleapis/gapic-generator-typescript#134 - undecided if it's gonna be in pack-n-play
or an option for the generator. The problem is that the generator does not know the package name 😿
It's ready for another look @JustinBeckwith :) |
Congrats folks! |
The basic API interface