commitizen / commitizen/cz-cli

--save-exact does not work.

Offen
#399 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
17.5k
Forks
566
Ø Merge
8 Std. 16 Min.
Gemergte PRs (30 T.)
1

Beschreibung

With commitizen@2.8.6, It doesn't make any difference:

```
$ commitizen init cz-conventional-changelog --save-dev --save-exact
$ cat package.json
{
"devDependencies": {
"cz-conventional-changelog": "^1.2.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
```

```
$ commitizen init cz-conventional-changelog --save-dev
$ cat package.json
{
"devDependencies": {
"cz-conventional-changelog": "^1.2.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the two commitizen init commands shown in the issue and compare the resulting package.json dependency version. Trace the init command's handling of --save-exact and the package metadata update; done means the flag produces an exact version instead of a caret range, while omitting it retains the current behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, node.js
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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