Maël Nison

Results 627 comments of Maël Nison

I'm not familiar with cnpm, so couple of questions: - What makes cnpm more useful than setting a custom registry in one's configuration? Why does a whole package manager need...

Syntax-wise, what do you think of instead supporting `corepack use yarn@npm:...`, similar to how deps can be aliased?

All calls to all commands have to go through Corepack, since it has to read the packageManager field to know the version of the package manager to use. It doesn't...

> add some sort of global config where the user can specify their favorite package manager This would lead to people forgetting to set the `packageManager` field, then once in...

You already have userland projects that do just that ([`swpm`](https://www.npmjs.com/package/swpm), [`yarpm`](https://www.npmjs.com/package/yarpm), ...). I don't think it needs to be put inside Corepack, especially since it's not the user experience that...

It doesn't make it impossible, and it doesn't even make it harder. I understand it would be more convenient for you if it was a core behavior of Corepack simply...

I'm not convinced we should disable v8-compile-cache for everyone using Yarn just for this one specific issue - using v8-compile-cache makes the Yarn startup faster with Corepack than without, which...

> Or does this mean that Yarn Berry can be installed globally (i.e. no local copy needed) in conjunction with Corepack? It can, but it's not recommended in the Yarn...

You can pin the install to 1.x: ``` corepack prepare --activate [email protected] ```

It doesn't really make sense in `peerDependencies`, as the package manager is not a peer dependency, and even if it was peer dependencies are resolved dynamically based on their ancestors,...