From 28373c177fdd093b3ee3dac00172a9c75e8fdbf2 Mon Sep 17 00:00:00 2001 From: Kenneth Winner Date: Thu, 16 Sep 2021 08:50:16 -0400 Subject: [PATCH] fix: add fs-extra dep (#186) --- .projen/deps.json | 4 ++++ .projenrc.js | 5 +++-- package.json | 5 ++++- yarn.lock | 10 ++++++++++ 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index 2feee47..0bbe508 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -61,6 +61,10 @@ "name": "typescript", "type": "build" }, + { + "name": "fs-extra", + "type": "bundled" + }, { "name": "projen", "type": "peer" diff --git a/.projenrc.js b/.projenrc.js index da117bb..2420f0c 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -10,9 +10,10 @@ const project = new JsiiProject({ entrypoint: 'lib/index.js', projenDevDependency: true, - devDeps: ['@types/fs-extra@^8'], // This will break if it's on 9 deps: ['projen'], - peerDeps: [ 'projen' ], + peerDeps: ['projen'], + devDeps: ['@types/fs-extra@^8'], // This will break if it's on 9 + bundledDeps: ['fs-extra'], eslint: false, mergify: false, diff --git a/package.json b/package.json index 3bb8724..6586be7 100644 --- a/package.json +++ b/package.json @@ -47,9 +47,12 @@ "projen": "^0.17.83" }, "dependencies": { + "fs-extra": "^9.1.0", "projen": "^0.17.83" }, - "bundledDependencies": [], + "bundledDependencies": [ + "fs-extra" + ], "main": "lib/index.js", "license": "Apache-2.0", "version": "0.0.0", diff --git a/yarn.lock b/yarn.lock index 8b21621..1e6853c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2052,6 +2052,16 @@ fs-extra@^9.0.0, fs-extra@^9.0.1: jsonfile "^6.0.1" universalify "^1.0.0" +fs-extra@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"