Skip to content
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

Repository Naming in typed-typings #14

Open
unional opened this issue Apr 7, 2016 · 3 comments
Open

Repository Naming in typed-typings #14

unional opened this issue Apr 7, 2016 · 3 comments

Comments

@unional
Copy link
Member

unional commented Apr 7, 2016

<purpose>-<name>

  • env-atom, env-electron

<most common package manager>-<name>

  • “most common package manager” can still change (e.g. bower)
  • "most common package manager" is subjective.
  • npm is not likely to go away, but others not really sure (e.g. bower)
  • Also, I don’t like to “think and determine” what the name of the repo should be. And also don’t like to “look and discover it is only distributed in npm so I name it as npm-*”.

typed-<name>

  • typed- is redundant.

<owner>-<name>

  • Aware that some package transfer ownership (e.g. atom/electron to electron/electron)
  • Is it relatively rare?
@unional
Copy link
Member Author

unional commented Apr 10, 2016

<name>: The most obvious name

Another alternative:

<name>

  • As in NPM registry discussion @typings/<name> or @typed/<name>. Don't need any prefix.
  • Is TS plan to use NPM registry even the source is not NPM package?
    • i.e. atom, electron, etc

@blakeembrey
Copy link
Member

Is TS plan to use NPM registry even the source is not NPM package?

As far as I can understand, yes 😟 It'll be a mirror of DefinitelyTyped, which is definitely not separated in any distinct way. The obvious issue here is collisions, I know there's even been a couple on DefinitelyTyped.

@blakeembrey
Copy link
Member

Here's an old discussion they had on this, without any obvious resolution: DefinitelyTyped/DefinitelyTyped#1951.

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

No branches or pull requests

2 participants