diff --git a/build-packages/csa-generator-theme/index.js b/build-packages/csa-generator-theme/index.js index 06281fd763..00a792e071 100644 --- a/build-packages/csa-generator-theme/index.js +++ b/build-packages/csa-generator-theme/index.js @@ -139,6 +139,7 @@ const run = async (options) => { let tsServerPluginVersion = '0.0.0'; const postcssVersion = '8.4.5'; const reactTypesVersion = '18.0.17'; + const reactReduxVersion = '8.0.2'; try { scandipwaVersion = await getLatestVersion('@scandipwa/scandipwa'); @@ -197,6 +198,7 @@ const run = async (options) => { mosaicCracoVersion, postcssVersion, reactTypesVersion, + reactReduxVersion, proxy: DEFAULT_PROXY, eslintConfigVersion, }; diff --git a/build-packages/csa-generator-theme/template/package.json b/build-packages/csa-generator-theme/template/package.json index b35e62c004..10d8cc9643 100644 --- a/build-packages/csa-generator-theme/template/package.json +++ b/build-packages/csa-generator-theme/template/package.json @@ -9,8 +9,9 @@ "@scandipwa/ts-server-plugin": "<%= tsServerPluginVersion %>", "@tilework/mosaic": "<%= mosaicVersion %>", "@tilework/mosaic-craco": "<%= mosaicCracoVersion %>", + "@types/react": "<%= reactTypesVersion %>", "postcss": "<%= postcssVersion %>", - "@types/react": "<%= reactTypesVersion %>" + "react-redux": "<%= reactReduxVersion %>" }, "scandipwa": { "type": "theme",