Giter Site home page Giter Site logo

More declarative style about npm-link-shared HOT 3 OPEN

orkon avatar orkon commented on June 10, 2024 1
More declarative style

from npm-link-shared.

Comments (3)

wclr avatar wclr commented on June 10, 2024

Hi, you may also be interested in this approach to the problem: https://github.com/whitecolor/yalc

from npm-link-shared.

the1mills avatar the1mills commented on June 10, 2024

I checked it out, looks too complicated :/

A picture or something would help understand how it works. I think devs are afraid of going too far down the wrong road.

As far as I can tell, my tool (npm-link-up) is the simplest one and requires the least deviation from the norm, but feel free to prove me wrong.

from npm-link-shared.

wclr avatar wclr commented on June 10, 2024

@the1mills you mean yalc? it is really very simple. I think it has another goals then npm-link-up just related. It is not for monorepo, monorepo actually assumes that project has many nested packages and they are managed together that is lerna for (I'm not sure why one would use linking for this case).

Primarily yalc's goal to get rid of using symlinks when working with shared packages that are in progress ( because symlinks it is the part of the workflow that brings most of the problems, that is why I would never use such tool as pnpm for example) and there are some other issues with npm link workflow too. So yalc actually "simulates" installation of the packages as if they were installed normally from the registry, only published code available, isolated node_modules and dependencies, it removes all the frictions with npm link'ed packages.

from npm-link-shared.

Related Issues (8)

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.