ied icon indicating copy to clipboard operation
ied copied to clipboard

Replace hashes with readable name

Open rumkin opened this issue 9 years ago • 2 comments

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

rumkin avatar Oct 13 '16 11:10 rumkin

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

zkochan avatar Oct 13 '16 12:10 zkochan

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

rumkin avatar Oct 13 '16 14:10 rumkin