Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency versions in package.json no longer default to caret notation #140

Open
pbock opened this issue Jun 23, 2016 · 1 comment
Open

Comments

@pbock
Copy link

pbock commented Jun 23, 2016

  • Version: 2.0.4
  • Platform: Darwin Kernel Version 15.5.0

After updating ied from <2.0.0 to 2.0.4 recently, I noticed that ied install --save no longer updates my package.json with the versions in caret (^) notation but with an asterisk instead (*). So for example, ied install lodash --save results in the following entry in package.json:

{
    "dependencies": {
        "lodash": "*"
    }
}

The old default (and the one that npm uses) would – as of today – result in the following:

{
    "dependencies": {
        "lodash": "^4.13.1"
    }
}

I'm sure there's a good reason for this change, but I'm curious what that is. I was also looking for a way to configure ied to revert to the old behaviour and couldn't find anything – am I overlooking something?

@alexanderGugel
Copy link
Owner

There is currently no option to revert to the old behaviour. I agree carets would make more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants