Closed justinfagnani closed 2 months ago
this project was a bit harder for me
oh no! :( I don't want that. Hopefully things can improve!
npm
This is a two project monorepo, so if there is a way to configure npm to do the same, i can be for that (without getting in to a package manager fight 😅).
Here are the requirements though:
Yeah, I don't mean to start a package manager fight. It might just be that non-pnpm users don't know how to get started and so need just a little guidance.
At the very least the packagemanager field is package.json should probs be just the major.
This (and a link or inline instructions on installing pnpm) sounds like it might fix most of the friction?
I've opened https://github.com/proposal-signals/signal-utils/pull/58 for feedback you have the time! would be super appreciated :tada:
Gonna close for now, as the readme is updated, if there is we're discussion to have, lemme know and i can reopen
I don't use pnpm, so getting started checking out and building this project was a bit harder for me than other standard npm projects.
npm ci
failed, which at least let me know that I needed to read instructions and see what package manage this project used. I didn't see pnpm installation instructions, so I triednpm i -g pnpm
, thenpnpm install
andpnpm start
as instructed, but that just gave me this error message:Is there a reason this project is configured to use a specific patch version of pnpm? I don't know where the "package-manager-strict" setting is, so I have to go read pnpm docs now...
Is there an important reason to use pnpm? This isn't an extremely large monorepo. Is the performance difference that great? Initial install took 6.6s on my machine, which doesn't feel much different than what npm would have taken.