From c85bbaae5b965d2a583e72c1d091e2970324099d Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 27 Sep 2021 14:43:01 +0200 Subject: [PATCH] fix: add types versions --- packages/ipfs-http-response/package.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/packages/ipfs-http-response/package.json b/packages/ipfs-http-response/package.json index c36382762b..b84e41c51b 100644 --- a/packages/ipfs-http-response/package.json +++ b/packages/ipfs-http-response/package.json @@ -5,6 +5,18 @@ "leadMaintainer": "Vasco Santos ", "main": "src/index.js", "types": "types/src/index.d.ts", + "typesVersions": { + "*": { + "*": [ + "types/*", + "types/src/*" + ], + "types/*": [ + "types/*", + "types/src/*" + ] + } + }, "type": "module", "eslintConfig": { "extends": "ipfs", @@ -17,8 +29,10 @@ "import": "./src/index.js" } }, + "publishConfig": { + "directory": "dist" + }, "scripts": { - "prepare": "aegir build --no-bundle && cp -R types dist", "lint": "aegir ts -p check && aegir lint", "build": "aegir build", "release": "aegir release --target node",