GithubHelp home page GithubHelp logo

Use Yarn v3 instead of legacy v1 about ladle HOT 7 CLOSED

tajo avatar tajo commented on May 9, 2024 2
Use Yarn v3 instead of legacy v1

from ladle.

Comments (7)

tajo avatar tajo commented on May 9, 2024 2

Switched to pnpm v7 and turborepo.

from ladle.

wojtekmaj avatar wojtekmaj commented on May 9, 2024 1

I'm running husky perfectly fine on Yarn v3.

Also, I'm not really advocating for PnP actually - I still consider it a novelty and some important parts of the ecosystem still have trouble handling it. It's a nice initiative to push the ecosystem forward, but not as a daily driver in a serious project IMO.

I'd still like to use node_modules resolver.

from ladle.

jrkienle avatar jrkienle commented on May 9, 2024 1

Have we considered pnpm? That might be an easier lift than yarn 1 -> 3 and still shave a considerable amount off the build time

from ladle.

tajo avatar tajo commented on May 9, 2024

Yea, I am not against it.

I had some problems running node ESM scripts through yarn v2 but it might be addressed in newer versions (pnp esm node APIs were experimental).

from ladle.

tajo avatar tajo commented on May 9, 2024

One extra concern is the usage of husky (recently added), it works differently in yarn v1 vs v2

from ladle.

nihgwu avatar nihgwu commented on May 9, 2024

I think the majority still stay with Yarn v1, or just turn to pnpm, so from contribution's perspective, It would be nicer to stay with V1 as well, until we are going to try something different

from ladle.

wojtekmaj avatar wojtekmaj commented on May 9, 2024

Updated Yarn to v3 on my working branch in a couple of minutes, that isn't a problem

from ladle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.