diff --git a/.changeset/purple-seas-thank.md b/.changeset/purple-seas-thank.md new file mode 100644 index 0000000000..a3cb1bb666 --- /dev/null +++ b/.changeset/purple-seas-thank.md @@ -0,0 +1,7 @@ +--- +"@marigold/theme-b2b": patch +"@marigold/theme-core": patch +"@marigold/theme-docs": patch +--- + +fix([DST-638]): update theme package.jsons to resolve the warning: The condition "types" here will never be used as it comes after both "import" and "require". diff --git a/themes/theme-b2b/package.json b/themes/theme-b2b/package.json index fdde03bae5..600e6b9566 100644 --- a/themes/theme-b2b/package.json +++ b/themes/theme-b2b/package.json @@ -14,14 +14,12 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" }, "./*": { - "require": "./dist/*.js", "import": "./dist/*.mjs", - "types": "./dist/*.d.ts" + "require": "./dist/*.js" }, "./styles.css": "./dist/styles.css" }, diff --git a/themes/theme-core/package.json b/themes/theme-core/package.json index b2ef2ab636..4c26b9341f 100644 --- a/themes/theme-core/package.json +++ b/themes/theme-core/package.json @@ -15,13 +15,11 @@ "exports": { ".": { "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "import": "./dist/index.mjs" }, "./*": { "require": "./dist/*.js", - "import": "./dist/*.mjs", - "types": "./dist/*.d.ts" + "import": "./dist/*.mjs" }, "./styles.css": "./dist/styles.css" }, diff --git a/themes/theme-docs/package.json b/themes/theme-docs/package.json index a5ca880111..2d9b3c6fbb 100644 --- a/themes/theme-docs/package.json +++ b/themes/theme-docs/package.json @@ -15,13 +15,11 @@ "exports": { ".": { "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "import": "./dist/index.mjs" }, "./*": { "require": "./dist/*.js", - "import": "./dist/*.mjs", - "types": "./dist/*.d.ts" + "import": "./dist/*.mjs" }, "./styles.css": "./dist/styles.css" },