-
Notifications
You must be signed in to change notification settings - Fork 0
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
Start mirroring @types from Definitely Typed #3
Comments
@blakeembrey This is the planning thread I said I would create. |
For 3. Currently since |
@unional so the package.json entry looks like, eg |
oh, I see, after trying it, it's Compare this to the entry for Github Packages:
Here, it's the configuration environment that redirects Edit: So I think projects may not be able to simultaneously use both the existing repo-as-packages and github-npm-packages, but one org can serve both kinds of projects. |
OK, here's a plan. Please comment if you're interested; I'll probably do this tomorrow or Monday if there's no discussion.
People can use the mirror by adding an .npmrc in their project with the text
Which redirects the |
Curious, what’s the advantage of Github packages? |
npm is a good place for Typescript projects to consume packages from the Humans can still use |
@sandersn I am happy with the rename (make it One issue we have is existing users of Typings API/registry, will they all break with the org rename? E.g. https://github.com/typings/registry? Not sure how GitHub handles renames when the old name gets claimed. Unfortunately Typings is still used in production by real people: typings/api#102 (I had hoped the API traffic I saw was legacy/bots). |
Well, the entries in typings look like this: {
"versions": {
"1.6.15": "github:types/npm-big-integer#f6861ea9a7a9bb72f4001dadf03c0ffb14ef7584"
}
} All the repos that we move back to types will be fine. However, when I inspected a few entries, they all pointed to npm-* entries, which will be broken since their new location will be "github:typed-typings/npm-big-integer#...". There are actually still updates to the npm-* packages too, seems like mostly from @unional. If there's still usage of these, shouldn't we keep them around? They're not going to interfere with the packages from Definitely Typed. I know they should be deprecated soon, but I don't necessarily want to deprecate them now. But because of their deprecation, I also don't want to put in much migration work. I suppose I could update typings/registry -- that's just a sed command to replace @unional you probably have an opinion too. |
I basically just accepting PRs. Those are contributions made by users. I personally don’t use those types. :) |
About the |
All right, I'm going to make the move. I made a PR on typings/registry that changes |
Actually, github redirects might make the registry references still work. Still, the PR was so simple that we might as well update the registry. |
I've done the rename and created a new repo. I invited the current owners for now and will invite everybody else soon. I'm going to move the non-package repos next. |
|
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:
Here are my initial answers:
The text was updated successfully, but these errors were encountered: