Code Monkey home page Code Monkey logo

Comments (8)

francoispluchino avatar francoispluchino commented on May 20, 2024

Can you copy me the file composer.json please?

from composer-asset-plugin.

macklay avatar macklay commented on May 20, 2024

@francoispluchino,

composer.json 
{
    "name": "test",

    "minimum-stability": "dev",
    "require": {

        "bower-asset/marionette": "*"
    },

    "extra": {
        "asset-installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }
}

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 20, 2024

The behavior of the update is very strange!

from composer-asset-plugin.

macklay avatar macklay commented on May 20, 2024

@francoispluchino,
the behavior of the install, output the same result and therefore its very strange too ;)

Maybe bower version ^2.0.0 readed by composer as ~2.0.0 ?

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 20, 2024

I found the problem. The plugin converts the range version ^2.0.0 to ~2.0.0. They have, according the doc, the same behavior: replace by >=2.0,<3.0.

However, Composer has a special, ~2.0.0 is not converted to >=2.0.0,<3.0, but to >=2.0.0,<2.1 (see the doc).

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 20, 2024

The problem is in the class Fxp\Composer\AssetPlugin\Converter\SemverConverter line 130

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 20, 2024

Fixed by 8af4aa0.

from composer-asset-plugin.

macklay avatar macklay commented on May 20, 2024

Thanks!

from composer-asset-plugin.

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.