Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

What about the declarations in the "typings" registry and "typed-typings" organization? #51

Closed
ivanz opened this issue Jul 9, 2016 · 3 comments

Comments

@ivanz
Copy link

ivanz commented Jul 9, 2016

What is the plan (if any) for the typings registry and typings already published as npm packages? Also the typed-typings organization?

An example is the chai typings package where DefinitelyTyped has version 3.4.0, but the typings registry has the latest 3.5.0 ( https://github.com/typings/registry/blob/master/npm/chai.json )

@ivanz ivanz changed the title What about the typings registry and typed-typings repository? What about the typings registry and typed-typings organization? Jul 9, 2016
@ivanz ivanz changed the title What about the typings registry and typed-typings organization? What about the declarations in the typings registry and typed-typings organization? Jul 9, 2016
@ivanz ivanz changed the title What about the declarations in the typings registry and typed-typings organization? What about the declarations in the "typings" registry and "typed-typings" organization? Jul 9, 2016
@ivanz ivanz closed this as completed Jul 9, 2016
@mhegazy
Copy link
Contributor

mhegazy commented Jul 11, 2016

We still need to add support for redirect, to match the typings registry features, this is tracked by #4.

As for the this specific library, i would recommend moving the latest to definitelytyped.

@blakeembrey
Copy link

So, I just realised a clever trick I can start implementing ASAP. I can set the package.json names of repos in @types to @types/<name>. Then, once you install it, it'll automatically be placed in the location TypeScript needs to look it up. That way everything in @types can be supported until redirects are properly implemented.

@blakeembrey
Copy link

However, this pattern won't work with the existing approach that uses subdirectories for each version, but it's a good start from the @types org side.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants