From 0ac8867580c34b509469c10e33f51cf7ea8ec42d Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Sun, 25 Jun 2023 17:39:07 +0800 Subject: [PATCH] fix: only auto install s3-cnpmcore on Node.js 18+ closes https://github.com/cnpm/cnpmcore/issues/530 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index a2bc4d62..40ca2822 100644 --- a/package.json +++ b/package.json @@ -111,6 +111,9 @@ "ua-parser-js": "^1.0.34", "validate-npm-package-name": "^3.0.0" }, + "optionalDependencies": { + "s3-cnpmcore": "^1.1.2" + }, "devDependencies": { "@cnpmjs/npm-cli-login": "^1.1.0", "@simplewebauthn/typescript-types": "^7.0.0",