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

Replace hashes with readable name #176

Open
rumkin opened this issue Oct 13, 2016 · 2 comments
Open

Replace hashes with readable name #176

rumkin opened this issue Oct 13, 2016 · 2 comments

Comments

@rumkin
Copy link

rumkin commented Oct 13, 2016

As I see in package structure from https://gist.github.com/alexanderGugel/a10ed5655d366875a280 each package get unique id and this is became a mess of id. Why not to use human readable names in format of {package-name}-{version}-{postfix} (where prefix used to prevent names conflicts)? It also would be unique.

  1. We got nice structure.
  2. Sorting is more relevant.
.
├── node_modules
│   ├── lodash -> lodash-v4.16.4-ied/package
│   ├── lodash-v4.16.4-ied
@zkochan
Copy link
Collaborator

zkochan commented Oct 13, 2016

pnpm has more human readable names in the store.

[email protected]

Although it currently does not contain the registry URL...

Scoped packages we escape with a +. Like @[email protected]

Maybe something similar can be used in ied. I would even suggest to use the same naming in the 2 projects

@rumkin
Copy link
Author

rumkin commented Oct 13, 2016

@zkochan pnpm's name format is even better – no postfix needed.

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