From c1774312ed265d240e2ea6d509d30443f980e1a9 Mon Sep 17 00:00:00 2001 From: Sam Hellawell Date: Tue, 5 Nov 2024 22:56:08 +0000 Subject: [PATCH] Packages src export wildcard for individual file access --- packages/cheqd-blockchain-api/package.json | 5 +++++ packages/cheqd-blockchain-modules/package.json | 5 +++++ packages/credential-sdk/package.json | 5 +++++ packages/dock-blockchain-api/package.json | 5 +++++ packages/dock-blockchain-modules/package.json | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/packages/cheqd-blockchain-api/package.json b/packages/cheqd-blockchain-api/package.json index 61d23043..95f081f0 100644 --- a/packages/cheqd-blockchain-api/package.json +++ b/packages/cheqd-blockchain-api/package.json @@ -18,6 +18,11 @@ "import": "./dist/esm/*/index.js", "require": "./dist/cjs/*/index.cjs", "default": "./dist/esm/*/index.js" + }, + "./src/*": { + "import": "./dist/esm/*", + "require": "./dist/cjs/*", + "default": "./dist/esm/*" } }, "repository": { diff --git a/packages/cheqd-blockchain-modules/package.json b/packages/cheqd-blockchain-modules/package.json index ce6c3787..8e032072 100644 --- a/packages/cheqd-blockchain-modules/package.json +++ b/packages/cheqd-blockchain-modules/package.json @@ -18,6 +18,11 @@ "import": "./dist/esm/*/index.js", "require": "./dist/cjs/*/index.cjs", "default": "./dist/esm/*/index.js" + }, + "./src/*": { + "import": "./dist/esm/*", + "require": "./dist/cjs/*", + "default": "./dist/esm/*" } }, "repository": { diff --git a/packages/credential-sdk/package.json b/packages/credential-sdk/package.json index 38f149e5..b010c5e3 100644 --- a/packages/credential-sdk/package.json +++ b/packages/credential-sdk/package.json @@ -16,6 +16,11 @@ "import": "./dist/esm/*/index.js", "require": "./dist/cjs/*/index.cjs", "default": "./dist/esm/*/index.js" + }, + "./src/*": { + "import": "./dist/esm/*", + "require": "./dist/cjs/*", + "default": "./dist/esm/*" } }, "repository": { diff --git a/packages/dock-blockchain-api/package.json b/packages/dock-blockchain-api/package.json index fd604913..3522f65a 100644 --- a/packages/dock-blockchain-api/package.json +++ b/packages/dock-blockchain-api/package.json @@ -18,6 +18,11 @@ "import": "./dist/esm/*/index.js", "require": "./dist/cjs/*/index.cjs", "default": "./dist/esm/*/index.js" + }, + "./src/*": { + "import": "./dist/esm/*", + "require": "./dist/cjs/*", + "default": "./dist/esm/*" } }, "repository": { diff --git a/packages/dock-blockchain-modules/package.json b/packages/dock-blockchain-modules/package.json index 3620571a..39b0b476 100644 --- a/packages/dock-blockchain-modules/package.json +++ b/packages/dock-blockchain-modules/package.json @@ -18,6 +18,11 @@ "import": "./dist/esm/*/index.js", "require": "./dist/cjs/*/index.cjs", "default": "./dist/esm/*/index.js" + }, + "./src/*": { + "import": "./dist/esm/*", + "require": "./dist/cjs/*", + "default": "./dist/esm/*" } }, "repository": {