Code Monkey home page Code Monkey logo

Comments (5)

barak007 avatar barak007 commented on September 26, 2024 1

In regards to resolutions I think it will be good addition. In regards to the possible bug I will reproduce and open new issue if needed

from qnm.

ranyitz avatar ranyitz commented on September 26, 2024

Thanks @barak007!

From what I know, it does show the bundledDependencies, but it doesn't indicate that those are "bundledDependencies" which I think would be nice to be aware of when running qnm.

from qnm.

ranyitz avatar ranyitz commented on September 26, 2024

@barak007 Here is a PR with a suggested implementation for showing bundledDependencies in qnm's output, let me know what you think.

from qnm.

barak007 avatar barak007 commented on September 26, 2024

The indication is great! and I want to suggest one more case that I think caused me not to see the bundled dependency.
I'm not sure if qnm already shows if a package is forced with resolutions or overrides but when I tried to use "resolutions" (yarn) on a dependency that some package declared as bundled and it didn't show that the bundled dependency was still in the original location (not forced). if you want I can open it as a separated issue.

from qnm.

ranyitz avatar ranyitz commented on September 26, 2024

Hey! Thanks.

Today qnm is not aware to yarn's resolutions or npm's overrides.

It sounds like an good idea, to mark a specific dependency as (resolutions)/(overrides) in the same manner as (bundledDependnecies) to provide a hint about the reason a certain package is located in specific place in the file tree.

Do you think that would be helpful?


Regarding the possible bug, the main reason that I created qnm is that it'll replace the manual work of checking files on the file system, with that in mind, I made it look at the file system as a source of truth and I'm confidence that it's reliable. (e.g. if it says a certain package is located somewhere, you will see it in this location).

If that's not the case, please create a small repro which I'll be able to debug and solve the issue in case it exists.

from qnm.

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.