<p>benang harus menunjukkan versi modul yang saat ini diinstal pada sistem</p>

Dibuat pada 22 Okt 2016  Β·  3Komentar  Β·  Sumber: yarnpkg/yarn

Apakah Anda ingin meminta _fitur_ atau melaporkan _bug_?

Fitur

Apa perilaku saat ini?

benang tidak memiliki perintah untuk menampilkan informasi tentang versi simpul yang saat ini diinstal, dll.

Apa perilaku yang diharapkan?

Saya berharap benang memiliki perintah yang menampilkan informasi/versi dari simpul yang diinstal seperti npm version

mungkin yarn versions karena yarn version memiliki tujuan lain.

_keluaran yang diharapkan _:

$ 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' 
}

Sebutkan versi node.js, benang, dan sistem operasi Anda.
Simpul: 6.3.0
Benang: 0.16.0
OS: Menangkan 8.1

Komentar yang paling membantu

Perintah yang dijelaskan oleh @NonPolynomial dipanggil sekarang yarn list

Semua 3 komentar

Dibuat #1423 untuk memperbaikinya, menunggu persetujuan.

tidak, itu sama dengan npm ls .
npm version malah menunjukkan versi yang diinstal misalnya Node dan NPM.

mengubah judul masalah itu

Am 23.10.2016 um 09:39 schrieb Pushkaraj Shinde:

yarn ls melakukannya untuk Anda.

$ 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

Perintah yang dijelaskan oleh @NonPolynomial dipanggil sekarang yarn list

Apakah halaman ini membantu?
0 / 5 - 0 peringkat