Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces a new command `licenses list` which allows to list the licenses of the packages close #2825
- Loading branch information
Showing
38 changed files
with
1,856 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@pnpm/license-scanner': major | ||
'@pnpm/plugin-commands-licenses': major | ||
"pnpm": minor | ||
--- | ||
|
||
Added a new command `pnpm licenses list`, which displays the licenses of the packages [#2825](https://github.com/pnpm/pnpm/issues/2825) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# @pnpm/license-scanner | ||
|
||
> Check for the licensse of packages | ||
<!--@shields('npm')--> | ||
[![npm version](https://img.shields.io/npm/v/@pnpm/license-scanner.svg)](https://www.npmjs.com/package/@pnpm/license-scanner) | ||
<!--/@--> | ||
|
||
## Installation | ||
|
||
```sh | ||
pnpm add @pnpm/license-scanner | ||
``` | ||
|
||
## License | ||
|
||
[MIT](LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../jest.config.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"name": "@pnpm/license-scanner", | ||
"version": "0.0.0", | ||
"description": "Check for licenses packages", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"engines": { | ||
"node": ">=14.6" | ||
}, | ||
"files": [ | ||
"lib", | ||
"!*.map" | ||
], | ||
"scripts": { | ||
"test": "pnpm run compile && pnpm run _test", | ||
"lint": "eslint src/**/*.ts test/**/*.ts", | ||
"prepublishOnly": "pnpm run compile", | ||
"registry-mock": "registry-mock", | ||
"test:jest": "jest", | ||
"_test": "jest", | ||
"test:e2e": "registry-mock prepare && run-p -r registry-mock test:jest", | ||
"compile": "tsc --build && pnpm run lint --fix" | ||
}, | ||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/license-scanner", | ||
"keywords": [ | ||
"pnpm7", | ||
"pnpm", | ||
"licenses" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/pnpm/pnpm/issues" | ||
}, | ||
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/license-scanner#readme", | ||
"peerDependencies": { | ||
"@pnpm/logger": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@pnpm/cafs": "workspace:*", | ||
"@pnpm/directory-fetcher": "workspace:*", | ||
"@pnpm/error": "workspace:*", | ||
"@pnpm/lockfile-file": "workspace:*", | ||
"@pnpm/lockfile-types": "workspace:*", | ||
"@pnpm/lockfile-utils": "workspace:*", | ||
"@pnpm/lockfile-walker": "workspace:*", | ||
"@pnpm/package-is-installable": "workspace:*", | ||
"@pnpm/read-package-json": "workspace:*", | ||
"@pnpm/types": "workspace:*", | ||
"dependency-path": "workspace:*", | ||
"load-json-file": "^6.2.0", | ||
"p-limit": "^3.1.0", | ||
"path-absolute": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"@pnpm/constants": "workspace:*", | ||
"@pnpm/license-scanner": "workspace:*", | ||
"@types/ramda": "0.28.15" | ||
}, | ||
"funding": "https://opencollective.com/pnpm", | ||
"exports": { | ||
".": "./lib/index.js" | ||
} | ||
} |
Oops, something went wrong.