Skip to content

Commit

Permalink
Add node types as dependency to theme generation
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrsKondratjevs committed Oct 19, 2022
1 parent e47c570 commit b83fb27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-packages/csa-generator-theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -199,6 +200,7 @@ const run = async (options) => {
postcssVersion,
reactTypesVersion,
reactReduxVersion,
nodeTypesVersion,
proxy: DEFAULT_PROXY,
eslintConfigVersion,
};
Expand Down
1 change: 1 addition & 0 deletions build-packages/csa-generator-theme/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@tilework/mosaic": "<%= mosaicVersion %>",
"@tilework/mosaic-craco": "<%= mosaicCracoVersion %>",
"@types/react": "<%= reactTypesVersion %>",
"@types/node": "<%= nodeTypesVersion %>",
"postcss": "<%= postcssVersion %>",
"react-redux": "<%= reactReduxVersion %>"
},
Expand Down

0 comments on commit b83fb27

Please sign in to comment.