diff --git a/.changeset/green-geckos-sip.md b/.changeset/green-geckos-sip.md new file mode 100644 index 0000000000..1ba40974ba --- /dev/null +++ b/.changeset/green-geckos-sip.md @@ -0,0 +1,8 @@ +--- +'@talend/design-system': patch +'@talend/react-components': patch +'@talend/react-containers': patch +'@talend/utils': patch +--- + +fix: Fix exports to allow deep imports diff --git a/packages/components/package.json b/packages/components/package.json index b53e38287e..313681e5e8 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -5,8 +5,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*/index.js", - "require": "./lib/*/index.js" + "import": "./lib-esm/*", + "require": "./lib/*" }, ".": { "import": "./lib-esm/index.js", diff --git a/packages/containers/package.json b/packages/containers/package.json index e6fa0ba8cc..a683e43e67 100644 --- a/packages/containers/package.json +++ b/packages/containers/package.json @@ -6,8 +6,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*/index.js", - "require": "./lib/*/index.js" + "import": "./lib-esm/*", + "require": "./lib/*" }, ".": { "import": "./lib-esm/index.js", diff --git a/packages/design-system/package.json b/packages/design-system/package.json index e91ffdd7c9..9e028ac550 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -7,8 +7,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*/index.js", - "require": "./lib/*/index.js" + "import": "./lib-esm/*", + "require": "./lib/*" }, ".": { "import": "./lib-esm/index.js", diff --git a/packages/utils/package.json b/packages/utils/package.json index 6b303e310d..db5ff2e2c2 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -7,8 +7,8 @@ "module": "./lib-esm/index.js", "exports": { "./lib/*": { - "import": "./lib-esm/*/index.js", - "require": "./lib/*/index.js" + "import": "./lib-esm/*", + "require": "./lib/*" }, ".": { "import": "./lib-esm/index.js",