alexanderGugel / alexanderGugel/ied

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

Offen
#140 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
2k
Forks
51
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

- **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:

``` json
{
"dependencies": {
"lodash": "*"
}
}
```

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

``` json
{
"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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.