Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:26
    shawnmcknight commented #6048
  • 11:53
    shawnmcknight commented #6048
  • 10:27
    await-ovo commented #6037
  • 09:05

    zkochan on 6042

    fix: direct deduplication with … (compare)

  • 09:02
    zkochan ready_for_review #6047
  • 08:54
    zkochan closed #6043
  • 08:53
    zkochan commented #6048
  • 08:51
    zkochan synchronize #6047
  • 08:51

    zkochan on v8-lowest-direct

    test: fix (compare)

  • 08:28
    Sylvenas commented #5797
  • 07:46
    xuewan-seven commented #6037
  • 07:45
    xuewan-seven commented #6037
  • 07:43
    xuewan-seven commented #6037
  • 07:28
    xuewan-seven commented #6037
  • 07:26
    PeterRock commented #5900
  • 07:17
    xuewan-seven commented #6037
  • 06:59
    ekwoka commented #3779
  • 05:54
    mihaicozma labeled #6049
  • 05:54
    mihaicozma opened #6049
  • 03:46
    await-ovo commented #6030
Daniel Bayley
@danielbayley
@zkochan Interesting… I'll check it out thanks!
Zoltan Kochan
@zkochan
Just some status updates. I am on vacation this week.
Probably I won't add new features to pnpm v1. I might fix some bugs till v2 is not ready.
For the v2 beta I have to finish the "reactive" rewrite of pnpm, see PR: pnpm/supi#8
Vaughan Rouesnel
@vjpr
@zkochan could you explain package-store/lib/network/got.js#download?
it is downloading a tar with npm-registry-client which is then being written to disk using createWriteStreamAtomic, while at the same time being piped to unpackStream.local?
Vaughan Rouesnel
@vjpr
also, there is no ~/.pnpm-registry anymore?
Zoltan Kochan
@zkochan

it is downloading a tar with npm-registry-client which is then being written to disk using createWriteStreamAtomic, while at the same time being piped to unpackStream.local?

yes, the tarball is being saved and unpacked at the same time. We keep the tarball in the store as well (in case the unpacked version gets mutated)

also, there is no ~/.pnpm-registry anymore?

correct, now the tarballs are saved in the store (~/.pnpm-store), in the folders where the unpacked packages are

Vaughan Rouesnel
@vjpr
can i clear a package from the store by just removing its dir?
or is there an index/manifest somewhere...
Zoltan Kochan
@zkochan
there is an index in the root of store. I don't currently remember what will happen if you remove the folder but leave it in the index.
Vaughan Rouesnel
@vjpr
i think it breaks things...
Zoltan Kochan
@zkochan
I think we can add some commands for these, if needed
Vaughan Rouesnel
@vjpr
maybe we need a pnpm store remove [package]
Zoltan Kochan
@zkochan
there is pnpm store prune
the store prune will remove it if no project has links to the package
so if you remove the node_modules to which it is linked

maybe we need a pnpm store remove [package]

maybe, but right now I don't know how it should behave. Like should it leave the package in the node_modules?

Vaughan Rouesnel
@vjpr
the use case would be when you want to force a re-download
so something that would make the next pnpm i says “this package has been modified in the store…redownloading'
Zoltan Kochan
@zkochan
it does that currently
Vaughan Rouesnel
@vjpr
hmm ok
Zoltan Kochan
@zkochan
Like if you modify a file in the package, it will be reunpacked
from the tarball that is in the store
Vaughan Rouesnel
@vjpr
but what if i delete entirely
rm -rf ~/.pnpm-store/reigstry…/foo/1.0.0
Zoltan Kochan
@zkochan
that one I don't know
you should try, I guess
Zoltan Kochan
@zkochan

@vjpr amazing investigation about the EINTEGRITY issue!

you can also contact with the npm team via their discord channel. They are very responsive there: https://discordapp.com/channels/317475976369930241/317477684999487489

Vaughan Rouesnel
@vjpr
thx will do
Vaughan Rouesnel
@vjpr
how do i join the npm discord?
Zoltan Kochan
@zkochan
Vaughan Rouesnel
@vjpr
thx
Zoltan Kochan
@zkochan
if a peer of a prod dep is resolved from a dev dep, should a warning be printed?
Zoltan Kochan
@zkochan
@andreypopp we are adding hooks to pnpm's engine. See pnpm/supi#12
readPkg and maybe preResolve for now
Zoltan Kochan
@zkochan
lynchmaniac
@lynchmaniac
Hi, Is there any roadmap for the futur release of this excellent pnpm ?
Zoltan Kochan
@zkochan
hi @lynchmaniac
you mean with the hooks?
It was already released yesterday with v1.12.0
lynchmaniac
@lynchmaniac
no i mean a global roadmap. By the way hook is an excellent idea (good article on medium :+1: )
Zoltan Kochan
@zkochan
thanks
we don't currently have a roadmap
lynchmaniac
@lynchmaniac
oki i work on a tools in action with pnpm this why i ask this :)
Zoltan Kochan
@zkochan
what do you mean? you develop some toolings that use pnpm?
lynchmaniac
@lynchmaniac
no, I will make a quickie to present pnpm at the Devfest Nantes (https://devfest.gdgnantes.com/) so it will cool to see what's happens in the futur with pnpm :)
it's an event for dev :smile:
Zoltan Kochan
@zkochan
that is awesome!
lynchmaniac
@lynchmaniac
it wil be a little bench with yarn/npm and explain why pnpm must be more well-known (hooks, symlinks, speed....)
Zoltan Kochan
@zkochan

As of now I cannot promise any supercool new features in the near future. Although I have a few ideas and there are a few really cool issues open in the repo.

My personal goal is to try to fix as many issues as possible, in pnpm as well as in the ecosystem.

And also I want to refactor and divide the codebase till it is so easy that people will start to contribute.

but I think we can create a long-term roadmap
lynchmaniac
@lynchmaniac
thank you very much for this information. I am very interested :) sorry my presentation will be in French and not in English :-(