libnpm
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -5,2 +5,16 @@ # Change Log | ||
<a name="1.1.0"></a> | ||
# [1.1.0](https://github.com/npm/libnpm/compare/v1.0.0...v1.1.0) (2018-11-07) | ||
### Features | ||
* **config:** add libnpmconfig ([6a44725](https://github.com/npm/libnpm/commit/6a44725)) | ||
* **json+tree:** add read-package-json and npm-logical-tree ([0198a91](https://github.com/npm/libnpm/commit/0198a91)) | ||
* **lock+prefix:** add lock-verify and find-npm-prefix ([00750c9](https://github.com/npm/libnpm/commit/00750c9)) | ||
* **parseArg:** add npm-package-arg ([5712614](https://github.com/npm/libnpm/commit/5712614)) | ||
* **stringify:** add stringify-package ([0ec5bba](https://github.com/npm/libnpm/commit/0ec5bba)) | ||
<a name="1.0.0"></a> | ||
@@ -7,0 +21,0 @@ # [1.0.0](https://github.com/npm/libnpm/compare/v0.0.1...v1.0.0) (2018-08-31) |
'use strict' | ||
const BB = require('bluebird') | ||
module.exports = { | ||
config: require('libnpmconfig'), | ||
parseArg: require('npm-package-arg'), | ||
readJSON: BB.promisify(require('read-package-json')), | ||
logicalTree: require('npm-logical-tree'), | ||
getPrefix: require('find-npm-prefix'), | ||
verifyLock: require('lock-verify'), | ||
stringifyPackage: require('stringify-package'), | ||
manifest: require('pacote').manifest, | ||
@@ -5,0 +14,0 @@ tarball: require('pacote').tarball, |
{ | ||
"name": "libnpm", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Collection of programmatic APIs for the npm CLI", | ||
@@ -29,3 +29,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"bluebird": "^3.5.3", | ||
"find-npm-prefix": "^1.0.2", | ||
"libnpmaccess": "^2.0.0", | ||
"libnpmconfig": "^1.1.1", | ||
"libnpmhook": "^5.0.0", | ||
@@ -37,5 +40,9 @@ "libnpmorg": "^1.0.0", | ||
"npm-lifecycle": "^2.1.0", | ||
"npm-logical-tree": "^1.2.1", | ||
"npm-package-arg": "^6.1.0", | ||
"npm-profile": "^4.0.0", | ||
"npm-registry-fetch": "^3.3.0", | ||
"pacote": "^9.1.0" | ||
"pacote": "^9.1.0", | ||
"read-package-json": "^2.0.13", | ||
"stringify-package": "^1.0.0" | ||
}, | ||
@@ -42,0 +49,0 @@ "devDependencies": { |
@@ -5,2 +5,5 @@ # libnpm | ||
For bug reports and support, please head over to [npm.community](https://npm.community). | ||
## Install | ||
@@ -33,2 +36,9 @@ | ||
* Miscellaneous | ||
* [`parseArg`](https://npm.im/npm-package-arg) | ||
* [`config`](https://npm.im/libnpmconfig) | ||
* [`readJSON`](https://npm.im/read-package-json) | ||
* [`verifyLock`](https://npm.im/lock-verify) | ||
* [`getPrefix`](https://npm.im/find-npm-prefix) | ||
* [`logicalTree`](https://npm.im/npm-logical-tree) | ||
* [`stringifyPackage`](https://npm.im/stringify-package) | ||
* [`runScript`](https://www.npmjs.com/package/npm-lifecycle) | ||
@@ -35,0 +45,0 @@ * [`fetch`](https://npm.im/npm-registry-fetch) (plain ol' client for registry interaction) |
6343
27
56
17
+ Addedbluebird@^3.5.3
+ Addedfind-npm-prefix@^1.0.2
+ Addedlibnpmconfig@^1.1.1
+ Addednpm-logical-tree@^1.2.1
+ Addednpm-package-arg@^6.1.0
+ Addedread-package-json@^2.0.13
+ Addedstringify-package@^1.0.0
+ Addedfind-npm-prefix@1.0.2(transitive)
+ Addedfind-up@3.0.0(transitive)
+ Addedini@1.3.8(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedlibnpmconfig@1.2.1(transitive)
+ Addedlocate-path@3.0.0(transitive)
+ Addednpm-logical-tree@1.2.1(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@3.0.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedpath-exists@3.0.0(transitive)
+ Addedread-package-json@2.1.2(transitive)
+ Addedstringify-package@1.0.1(transitive)