Giter VIP home page Giter VIP logo

Comments (3)

EelcoLos avatar EelcoLos commented on August 16, 2024

@AgentEnder @juristr is there something wrong at my understanding the Mental Model using external dependencies like dotnet and inputs? if so, how should the documentation reflect that?
We'd like to generalize the affected command in our workflows and not needing to use the exclude parameter to work around this issue. That'd defeat the purpose of this whole setup

from nx.

EelcoLos avatar EelcoLos commented on August 16, 2024

I've been able to pinpoint it a little more closely for a more real-life scenario at https://github.com/EelcoLos/nx-tinkering .
So, the main branch has nx 19.5.0 . I installed all the packages and ran npx nx run-many -t build test on there.
Then i created a branch test-package-lock-dotnet, where I first tried the case above. This already showed the projects api-demo and api-demo.Test to be affected.
When running npx nx affected -t build test at that point (which is EelcoLos/nx-tinkering@3416d7d), the items are affected. However, the cache states there is a local cache hit.

So, upon pointing out a more real life scenario, I updated all npm packages today resulting in EelcoLos/nx-tinkering#2 .
This did trigger the cache to be void, even for api-demo and api-demo.Test.
My guess at this point (with some testing of my own) is that affecting dependencies (not devDependencies) trigger the cache to be void

from nx.

EelcoLos avatar EelcoLos commented on August 16, 2024

I'm also hoping to get to know how to create your own hasher with a plugin. I'd like to create a plugin using a language not using node as well :)

from nx.

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.