Giter VIP home page Giter VIP logo

Comments (6)

matanlurey avatar matanlurey commented on May 25, 2024

My understanding is VersionConstraint.allowsAny should handle this for me.

from mono_repo.dart.

matanlurey avatar matanlurey commented on May 25, 2024

Some Qs:

  • Should this be opt-in, opt-out, or just always on?
  • If opt-, is this a flag per mono_repo.yaml file?
  • Do we care about dev_dependencies?

/cc @alorenzen @natebosch

from mono_repo.dart.

natebosch avatar natebosch commented on May 25, 2024

I don't think we need to check the full cross product.

For a concrete example both _bazel_codegen and build need to be compatible, and both build_runner and build need to be compatible, but build_runner and _bazel_codegen don't necessarily need to be compatible.

Maybe something like "If pkg_a depends on pkg_b within the same repo they need to have compatible constraints for all deps"

from mono_repo.dart.

matanlurey avatar matanlurey commented on May 25, 2024

I guess the other option is no magic, and have the configuration say:

check_version_constraints:
  "build":
    - "bazel_codegen"
    - "build_runner"

WDUT?

from mono_repo.dart.

natebosch avatar natebosch commented on May 25, 2024

Would prefer some magic over no magic if we can find some heuristics that work well enough - otherwise it's another bit of config that changes rarely but could go stale.

from mono_repo.dart.

matanlurey avatar matanlurey commented on May 25, 2024

I no longer need this.

from mono_repo.dart.

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.