<p>Garn sollte aktuell installierte Versionen von Modulen auf dem System anzeigen</p>

Erstellt am 22. Okt. 2016  Β·  3Kommentare  Β·  Quelle: yarnpkg/yarn

MΓΆchten Sie ein _Feature_ anfordern oder einen _Bug_ melden?

Feature

Wie ist das aktuelle Verhalten?

Garn hat keinen Befehl, um Informationen ΓΌber die aktuell installierten Versionen von node usw. anzuzeigen.

Was ist das erwartete Verhalten?

Ich erwarte, dass Garn einen Befehl hat, der Informationen / Versionen des installierten Knotens wie npm version anzeigt

vielleicht yarn versions weil yarn version einen anderen Zweck hat.

_erwartete Ausgabe_ :

$ npm version
{
  npm: '3.10.5',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.3.0',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.0.71.52',
  zlib: '1.2.8' 
}

$ yarn versions
{
  yarn: '0.16.0',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.3.0',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '5.0.71.52',
  zlib: '1.2.8' 
}

Bitte geben Sie Ihre node.js-, Garn- und Betriebssystemversion an.
Knoten: 6.3.0
Garn: 0.16.0
Betriebssystem: Win 8.1

Hilfreichster Kommentar

Der von @NonPolynomial beschriebene Befehl heißt jetzt yarn list

Alle 3 Kommentare

#1423 erstellt, um dies zu beheben, Genehmigung ausstehend.

nein, das ist dasselbe wie npm ls .
npm version zeigt stattdessen die installierten Versionen von zB Node und NPM.

den Titel dieser Ausgabe geΓ€ndert

Am 23.10.2016 um 09:39 schrieb Pushkaraj Shinde:

yarn ls erledigt das fΓΌr Sie.

$ yarn ls
yarn ls v0.16.0
β”œβ”€ [email protected]
β”‚  β”œβ”€ mime-types@~2.1.11
β”‚  └─ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  └─ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  β”œβ”€ accepts@~1.3.3
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ content-type@~1.0.2
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ debug@~2.2.0
β”‚  β”œβ”€ depd@~1.1.0
β”‚  β”œβ”€ encodeurl@~1.0.1
β”‚  β”œβ”€ escape-html@~1.0.3
β”‚  β”œβ”€ etag@~1.7.0
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ methods@~1.1.2
β”‚  β”œβ”€ on-finished@~2.3.0
β”‚  β”œβ”€ parseurl@~1.3.1
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ proxy-addr@~1.1.2
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ range-parser@~1.2.0
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ serve-static@~1.11.1
β”‚  β”œβ”€ type-is@~1.6.13
β”‚  β”œβ”€ [email protected]
β”‚  └─ vary@~1.1.0
β”œβ”€ [email protected]
β”‚  β”œβ”€ debug@~2.2.0
β”‚  β”œβ”€ escape-html@~1.0.3
β”‚  β”œβ”€ on-finished@~2.3.0
β”‚  β”œβ”€ statuses@~1.3.0
β”‚  └─ unpipe@~1.0.0
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  └─ statuses@>= 1.3.0 < 2
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  └─ mime-db@~1.24.0
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  └─ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  β”œβ”€ forwarded@~0.1.0
β”‚  └─ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  β”œβ”€ debug@~2.2.0
β”‚  β”œβ”€ depd@~1.1.0
β”‚  β”œβ”€ destroy@~1.0.4
β”‚  β”œβ”€ encodeurl@~1.0.1
β”‚  β”œβ”€ escape-html@~1.0.3
β”‚  β”œβ”€ etag@~1.7.0
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ http-errors@~1.5.0
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  β”œβ”€ on-finished@~2.3.0
β”‚  β”œβ”€ range-parser@~1.2.0
β”‚  └─ statuses@~1.3.0
β”œβ”€ [email protected]
β”‚  β”œβ”€ encodeurl@~1.0.1
β”‚  β”œβ”€ escape-html@~1.0.3
β”‚  β”œβ”€ parseurl@~1.3.1
β”‚  └─ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”‚  β”œβ”€ [email protected]
β”‚  └─ mime-types@~2.1.11
β”œβ”€ [email protected]
β”œβ”€ [email protected]
└─ [email protected]
Done in 0.10s.

Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprΓΌft.
https://www.avast.com/antivirus

Der von @NonPolynomial beschriebene Befehl heißt jetzt yarn list

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen