registry icon indicating copy to clipboard operation
registry copied to clipboard

Tooling for creating typed-typings repos

Open nevir opened this issue 8 years ago • 6 comments

While I really like the idea behind typed-typings, I fear it's going to be really painful to get contributions without some tooling.

Current pain points:

  • A lot of boilerplate in typings repos
    • Ideally, I should be able to take a .d.ts that's been written & used in one of my projects, and "push" it to typed-typings with minimal effort
    • A Yeoman generator, or similar tool, might be able to streamline that?
  • Managing the typed-typings org (adding contributors), seems like it'll be annoying, particularly since most potential contributions are one-off

nevir avatar Feb 28 '16 19:02 nevir

@nevir Repos don't need to be in the organisation to be added to the registry. Those are only ones that we, as maintainers, are "officially" collaborating on.

Also, @unional wrote a generator: https://github.com/unional/generator-typings

blakeembrey avatar Feb 28 '16 19:02 blakeembrey

Ah, awesome, thanks for the pointers!

On Sun, Feb 28, 2016, 11:50 Blake Embrey [email protected] wrote:

@nevir https://github.com/nevir Repos don't need to be in the organisation to be added to the registry. Those are only ones that we, as maintainers, are "officially" collaborating on.

Also, @unional https://github.com/unional wrote a generator: https://github.com/unional/generator-typings

— Reply to this email directly or view it on GitHub https://github.com/typings/registry/issues/155#issuecomment-189933093.

nevir avatar Feb 28 '16 20:02 nevir

Here's an example of someone hosting it outside of the typed-typings repo: https://github.com/typings/registry/blob/master/npm/node-uuid.json - there's a few others too, it's just we've been writing a lot of the initial definitions.

blakeembrey avatar Feb 28 '16 21:02 blakeembrey

@nevir , let me know what do you think about the generator. Any issue welcome. :rose:

unional avatar Feb 28 '16 21:02 unional

@nevir Did these answer your questions too? Any other thoughts on streamlining further?

blakeembrey avatar Feb 29 '16 23:02 blakeembrey

Got side tracked unfortunately, I hope I'll have some time to play around w/ them soon

nevir avatar Mar 01 '16 03:03 nevir