Skip to content

Start mirroring @types from Definitely Typed #3

@sandersn

Description

@sandersn

This is a planning thread for mirroring @types from Definitely Typed as Github Packages. Github Packages are associated with an org which determines their npm scope. It will be @types in this case.
But Github Packages exist in a separate namespace from repos; they're required to have an associated repo but it can be named anything. It's not a one-to-one situation the way types currently is.

Here are the open questions I know of:

  1. What to name the Definitely Typed mirror repo.
  2. What to put in the mirror repo (if anything).
  3. What to do with the existing, used repo-based-packages.
  4. What to do with existing, unused repo-based-packages (which start with npm- and env- as far as I can tell).

Here are my initial answers:

  1. probably DefinitelyTypedMirror since I think DefinitelyTyped would be too confusing.
  2. Nothing? Or just a README explaining the purpose of the repo.
  3. I don't understand how these repos are used compared to npm-published packages from DT. I don't think Github Packages will interfere since they are installed in a completely different way.
  4. I don't think anybody uses these, and they are the majority of repos (208 of 231). It might be worthwhile to do something like renaming the org to typesOld, creating a new types org, and moving the 23 other repos over. (Note: Is renaming an org possible? I didn't know that.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions