diff --git a/build-packages/csa-generator-theme/index.js b/build-packages/csa-generator-theme/index.js index 00a792e071..a453fd1331 100644 --- a/build-packages/csa-generator-theme/index.js +++ b/build-packages/csa-generator-theme/index.js @@ -140,6 +140,7 @@ const run = async (options) => { const postcssVersion = '8.4.5'; const reactTypesVersion = '18.0.17'; const reactReduxVersion = '8.0.2'; + const nodeTypesVersion = '18.7.15'; try { scandipwaVersion = await getLatestVersion('@scandipwa/scandipwa'); @@ -199,6 +200,7 @@ const run = async (options) => { postcssVersion, reactTypesVersion, reactReduxVersion, + nodeTypesVersion, 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 10d8cc9643..230638754d 100644 --- a/build-packages/csa-generator-theme/template/package.json +++ b/build-packages/csa-generator-theme/template/package.json @@ -10,6 +10,7 @@ "@tilework/mosaic": "<%= mosaicVersion %>", "@tilework/mosaic-craco": "<%= mosaicCracoVersion %>", "@types/react": "<%= reactTypesVersion %>", + "@types/node": "<%= nodeTypesVersion %>", "postcss": "<%= postcssVersion %>", "react-redux": "<%= reactReduxVersion %>" },