Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:39
    zkochan commented #2933
  • 14:38
    zkochan commented #4052
  • 14:29

    zkochan on fix-trailing-slash

    Revert "revert: "fix: don't add… (compare)

  • 14:22

    zkochan on main

    fix(npm-resolver): always add t… (compare)

  • 14:22

    zkochan on fix-registry-in-npm-resolver

    (compare)

  • 14:22
    zkochan closed #4067
  • 14:07
    fatso83 commented #3960
  • 13:30
    zysim commented #3960
  • 11:52
    dominikg commented #4064
  • 01:37
    zkochan opened #4067
  • 01:36

    zkochan on fix-registry-in-npm-resolver

    fix(npm-resolver): always add t… (compare)

  • 01:26
    zkochan milestoned #4064
  • 01:01

    zkochan on v6.23.6

    (compare)

  • 01:01

    zkochan on main

    chore(release): 6.23.6 (compare)

  • 00:59

    zkochan on main

    fix: installing big git-hosted … (compare)

  • 00:59

    zkochan on 4064

    (compare)

  • 00:59
    zkochan closed #4066
  • 00:59
    zkochan closed #4064
  • 00:29
    PabloSzx commented #4065
  • 00:24
    zkochan opened #4066
Zoltan Kochan
@zkochan
hey, if you check the ino numbers of the files inside those folders, you'll see that they are the same in all 3 folders
they are on the same location on the disk
Amit Marcus
@marxus85
1125899907199372 drwx------+ 1 0 Jun 13 11:08 registry.npmjs.org
10133099161699660 drwx------+ 1 0 Jun 13 11:54 .registry.npmjs.org
17732923532887146 drwxrwx---+ 1 0 Jun 13 11:54 .registry.npmjs.org
getting it using ls -i
Zoltan Kochan
@zkochan
check the files not the folders
folders cannot be hard links
go to one of the packages and check the package.json for instance
Amit Marcus
@marxus85
ok
Zoltan Kochan
@zkochan
but there is an easier solution
just edit the file and you'll see the changes in all 3 folders
Amit Marcus
@marxus85
ok :)
Zoltan Kochan
@zkochan
but if you edit it, it will be refetched during next installation
Amit Marcus
@marxus85
well. ! it worked.
thanks. it wasnt that clear from the docs.
i mean i did read the "why does my nodemodules folder use disk space" section
but that simple method of just editing the file and see for myself:) well that satisfied me ! :)
Zoltan Kochan
@zkochan
hm, if you know how to explain it better, you can suggest an edit. We can definitely extend the FAQ section
Amit Marcus
@marxus85
aight! i'll think about it. anyway, thanks for clearing this out for me
Zoltan Kochan
@zkochan
you're welcome
Amit Marcus
@marxus85
this is actually cool, both places point to the same file, but if i delete only one of them the other one is still there.. nice
Zoltan Kochan
@zkochan
yes, but I work on a mixed solution now because creating one symlink to the folder is faster than creating many hard links to each file
pnpm/pnpm#791
when a package is "independent" it can be symlinked
Amit Marcus
@marxus85
ok that something i didnt not understand in the first place, i mean why not just junctioning all the folders to begin with..
Zoltan Kochan
@zkochan
because packages have different sets of dependencies in different projects
Zoltan Kochan
@zkochan

@all pnpm version 0.70.0 has been released. Not as latest for now.

It has breaking changes in the store structure, so you'll have to reinstall node_modules.

However, it is the fastest pnpm so far!

Vaughan Rouesnel
@vjpr
nice work!
Zoltan Kochan
@zkochan
It would be great to have some help resolving the webpack/browserify issues: pnpm/pnpm#801
Zoltan Kochan
@zkochan
Seems like pnpm has no issues with the latest webpack! This is great! Now pnpm can be used for CRA and Angular2
Andrey Popp
@andreypopp
btw lockfiles
I like that npm5 locks the structure — I think it's more readable than yarn's approach where it maps ranges to concrete versions
The improvement, I think would be to have a flat structure like yarn but with dependent: package-name field on each record which specifies the package which depends on the record's package
Zoltan Kochan
@zkochan
Zoltan Kochan
@zkochan
I'll write a post about pnpm's shrinkwrap format. But ours doesn't need to fix layout because pnpm is not hoisting packages.
our's is also good for CR because we use YAML not JSON
and we show structure, by having dependencies and optionalDependencies in each package. So no need in dependent
Zoltan Kochan
@zkochan
Andrey Popp
@andreypopp
🎉🎉👍
kylemeier
@kylemeier
sorry if this was already asked but if one library requires lodash 1.5.4 and another lodash 2.7.9, does lodash get installed twice or just once and potentially breaks one of the libraries?
Zoltan Kochan
@zkochan
By once we mean. Once a concrete version
So both 1.5.4 and 2.7.9 will be installed. But only once each
Jason Yu
@ycmjason
hello there, I have a curious question. Is there a way to see which packages are available on local, i.e. already downloaded on my computer?
Zoltan Kochan
@zkochan
there is no command for it. You can look in the ~/.pnpm-store/2/store.json file
Jason Yu
@ycmjason
wouldn't it be a neat feature?
pnpm ls
then list the packages installed locally
Zoltan Kochan
@zkochan
we did not implement pnpm ls yet:-)
Jason Yu
@ycmjason
just a suggestion or random thought
Zoltan Kochan
@zkochan
oh, look, we already had this idea pnpm/pnpm#430
pnpm store ls
Zoltan Kochan
@zkochan
pnpm is now on 1st page when Google searching "fast package manager". And on first place on duckduckgo :tada:
kaiserfedor
@kaiserfedor
Hello everyone! In pnpm doc: When using npm or Yarn for example, if you have 100 packages using lodash, you will have 100 copies of lodash on disk. But it doesn't seem to be true, at least for npm. :)
it may confuse somebody
Zoltan Kochan
@zkochan
OK. I'll rewrite it.