diff --git a/.changeset/smart-zoos-flash.md b/.changeset/smart-zoos-flash.md new file mode 100644 index 00000000..251949d5 --- /dev/null +++ b/.changeset/smart-zoos-flash.md @@ -0,0 +1,10 @@ +--- +'@modern-js-reduck/plugin-auto-actions': patch +'@modern-js-reduck/plugin-devtools': patch +'@modern-js-reduck/plugin-effects': patch +'@modern-js-reduck/plugin-immutable': patch +'@modern-js-reduck/react': patch +'@modern-js-reduck/store': patch +--- + +fix: correct exports diff --git a/packages/plugins/auto-actions/package.json b/packages/plugins/auto-actions/package.json index 7d0901a5..34cfda89 100644 --- a/packages/plugins/auto-actions/package.json +++ b/packages/plugins/auto-actions/package.json @@ -23,7 +23,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" } }, diff --git a/packages/plugins/devtools/package.json b/packages/plugins/devtools/package.json index d0b955fd..3cba4694 100644 --- a/packages/plugins/devtools/package.json +++ b/packages/plugins/devtools/package.json @@ -23,7 +23,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" } }, diff --git a/packages/plugins/effects/package.json b/packages/plugins/effects/package.json index d9a324cc..19aabbc7 100644 --- a/packages/plugins/effects/package.json +++ b/packages/plugins/effects/package.json @@ -23,7 +23,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" } }, diff --git a/packages/plugins/immer/package.json b/packages/plugins/immer/package.json index c3b50526..2b17d6c6 100644 --- a/packages/plugins/immer/package.json +++ b/packages/plugins/immer/package.json @@ -23,7 +23,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" } }, diff --git a/packages/plugins/xstate-immer/package.json b/packages/plugins/xstate-immer/package.json index e55c520f..ce61dad1 100644 --- a/packages/plugins/xstate-immer/package.json +++ b/packages/plugins/xstate-immer/package.json @@ -24,7 +24,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" } }, diff --git a/packages/plugins/xstate/package.json b/packages/plugins/xstate/package.json index 9ad27de6..90dfdb2f 100644 --- a/packages/plugins/xstate/package.json +++ b/packages/plugins/xstate/package.json @@ -21,7 +21,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" } }, diff --git a/packages/react/package.json b/packages/react/package.json index 6183a2c2..e88853eb 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -25,7 +25,7 @@ "exports": { ".": { "types": "./type.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" } }, diff --git a/packages/store/package.json b/packages/store/package.json index ce230771..4fc6c753 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -26,17 +26,17 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", "default": "./dist/esm/index.js" }, "./types": { "types": "./dist/types/types/index.d.ts", - "node": "./dist/cjs/types/index.js", + "require": "./dist/cjs/types/index.js", "default": "./dist/esm/types/index.js" }, "./utils": { "types": "./dist/types/utils/index.d.ts", - "node": "./dist/cjs/utils/index.js", + "require": "./dist/cjs/utils/index.js", "default": "./dist/esm/utils/index.js" } },