mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-26 07:27:20 -04:00
committed by
Zoltan Kochan
parent
da22f0c1f2
commit
f365491653
6
.changeset/hot-forks-tap.md
Normal file
6
.changeset/hot-forks-tap.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/list": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
`pnpm list --long --json` should print licenses and authors of packagese [#5533](https://github.com/pnpm/pnpm/pull/5533).
|
||||
@@ -28,6 +28,8 @@ export async function getPkgInfo (
|
||||
resolved: pkg.resolved,
|
||||
|
||||
description: manifest.description,
|
||||
license: manifest.license,
|
||||
author: manifest.author,
|
||||
|
||||
homepage: manifest.homepage,
|
||||
repository: (manifest.repository && (
|
||||
|
||||
@@ -435,6 +435,12 @@ test('JSON list with aliased dep', async () => {
|
||||
resolved: 'https://registry.npmjs.org/is-positive/-/is-positive-1.0.0.tgz',
|
||||
|
||||
description: 'Test if a number is positive',
|
||||
license: 'MIT',
|
||||
author: {
|
||||
name: 'Kevin Martensson',
|
||||
email: 'kevinmartensson@gmail.com',
|
||||
url: 'github.com/kevva',
|
||||
},
|
||||
homepage: 'https://github.com/kevva/is-positive#readme',
|
||||
repository: 'git+https://github.com/kevva/is-positive.git',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user