Code Monkey home page Code Monkey logo

Comments (5)

francoispluchino avatar francoispluchino commented on September 21, 2024

With the option config.foxy.manager-version. but config.foxy.manager must be npm for your example.

from foxy.

schmunk42 avatar schmunk42 commented on September 21, 2024

I have config.foxy.manager set to yarn.

I was looking more for a setting, which says: You can either use yarn >= 1.0 or npm >= 5.0 to install assets of this project.

from foxy.

francoispluchino avatar francoispluchino commented on September 21, 2024

I did not anticipate this behavior, but simplified with a single asset manager. In this case, all manager options should be changed. Initially, I had duplicate each option with the name of the manager, but it made the config much more complex.

Maybe, allowed for each option to define a map with the name of the manager, like:

{
    "config": {
        "foxy": {
            "manager-version": {
                "npm": ">=5.0",
                "yarn": ">=1.0"
            }
        }
    }
}

from foxy.

schmunk42 avatar schmunk42 commented on September 21, 2024

The code snippet looks good to me.

In my setups I'll have control over the package-manager to use, since it'll be in a Container. But I already stumbled upon a lot of strange behaviors between 0.x and 1.x versions of yarn and 3.x to 5.x version of npm.

Excluding knowingly broken versions is great.

from foxy.

francoispluchino avatar francoispluchino commented on September 21, 2024

Added by 71b8792.

from foxy.

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.