pngwn
pngwn
DDeno
Created by pngwn on 10/20/2024 in #help
pnpm -like experience
Hello! I'm experimenting with switching from node to deno for the obvious DX benefits but I'm running into a few difficulties. I use pnpm workspaces extensively, even on smaller projects, but some of my projects have dozens of packages. pnpm make this very pleasant by having a bunch of functionality that works nicely with worskapce. - workspace packages can be defined using a glob pattern. - Working with the worspace form the root, pnpm has filter and recursive flags that make working with monorepos really pleasant. - Linking and cleaning up when publishing. pnpm links monorepo packages together locally (if you ask it to) but then swaps out those specifiers when publishing so that stuff actually works when published. - publishing to npm, deno is cool but no-one uses it, JSR is an interesting experiment but that's about all. It isn't clear to me from the docs if any of these features are supported or how I would go about making them work as expected. Is my workflow just not really supported right now (without a bunch of custom scripts), or am i missing some docs somewhere?
1 replies