From aeca3c069ae756111d9a424fa4cc53be50f0ec2f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 Apr 2019 23:43:17 -0600 Subject: [PATCH] v3.0.1: reduce dependencies, update docs --- README.md | 4 +--- index.js | 2 +- package-lock.json | 20 ++++++-------------- package.json | 10 +++++----- 4 files changed, 13 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index f1a059e..4cd32b3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -# [greenlock-store-fs](https://git.coolaj86.com/coolaj86/greenlock-store-fs.js) - -| A [Root](https://rootprojects.org) project | +# [greenlock-store-fs](https://git.coolaj86.com/coolaj86/greenlock-store-fs.js) | A [Root](https://rootprojects.org) project A keypair and certificate storage strategy for Greenlock v2.7+ (and v3). The (much simpler) successor to le-store-certbot. diff --git a/index.js b/index.js index 2dcf151..f157157 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ var PromiseA = getPromise(); var readFileAsync = PromiseA.promisify(fs.readFile); var writeFileAsync = PromiseA.promisify(fs.writeFile); // TODO replace with zero-depenency version -var mkdirpAsync = PromiseA.promisify(require('mkdirp')); +var mkdirpAsync = PromiseA.promisify(require('@root/mkdirp')); // How Storage Works in Greenlock: High-Level Call Stack diff --git a/package-lock.json b/package-lock.json index e0b831e..833099c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,21 +1,13 @@ { - "name": "le-store-json", - "version": "1.0.0", + "name": "greenlock-store-fs", + "version": "3.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" - }, - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "requires": { - "minimist": "0.0.8" - } + "@root/mkdirp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@root/mkdirp/-/mkdirp-1.0.0.tgz", + "integrity": "sha512-hxGAYUx5029VggfG+U9naAhQkoMSXtOeXtbql97m3Hi6/sQSRL/4khKZPyOF6w11glyCOU38WCNLu9nUcSjOfA==" }, "safe-replace": { "version": "1.1.0", diff --git a/package.json b/package.json index 6fb7747..2f78a61 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "greenlock-store-fs", - "version": "3.0.0", + "version": "3.0.1", "description": "A file-based certificate store for greenlock that supports wildcards.", - "homepage": "https://git.coolaj86.com/coolaj86/le-store-fs.js", + "homepage": "https://git.rootprojects.org/root/greenlock-store-fs.js", "main": "index.js", "directories": { "test": "tests" @@ -12,7 +12,7 @@ }, "repository": { "type": "git", - "url": "https://git.coolaj86.com/coolaj86/le-store-fs.js.git" + "url": "https://git.rootprojects.org/root/greenlock-store-fs.js.git" }, "keywords": [ "greenlock", @@ -22,10 +22,10 @@ "store", "database" ], - "author": "AJ ONeal (https://coolaj86.com/)", + "author": "AJ ONeal (https://solderjs.com/)", "license": "MPL-2.0", "dependencies": { - "mkdirp": "^0.5.1", + "@root/mkdirp": "^1.0.0", "safe-replace": "^1.1.0" } }