nsgm-cli 1.0.26 → 1.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/generate.js +2 -2
  2. package/package.json +1 -1
package/lib/generate.js CHANGED
@@ -283,14 +283,14 @@ var initFiles = function (dictionary, upgradeFlag) {
283
283
  shelljs_1.default.sed('-i', eval('/nsgm-cli-project/'), dictionary + '-project', destPackagePath);
284
284
  shelljs_1.default.exec('cd ' + dictionary + ' && npm install --save nsgm-cli');
285
285
  shelljs_1.default.exec('cd ' + dictionary + ' && npm install --save-dev @types/node');
286
- shelljs_1.default.exec('cd ' + dictionary + ' && npm install --save-dev @types/react');
286
+ shelljs_1.default.exec('cd ' + dictionary + ' && npm install --save-dev @types/react@18.0.1');
287
287
  shelljs_1.default.exec('cd ' + dictionary + ' && npm install --save-dev @types/lodash');
288
288
  }
289
289
  else {
290
290
  shelljs_1.default.sed('-i', eval('/nsgm-cli-project/'), path_1.default.basename(destFolder) + '-project', destPackagePath);
291
291
  shelljs_1.default.exec('npm install --save nsgm-cli');
292
292
  shelljs_1.default.exec('npm install --save-dev @types/node');
293
- shelljs_1.default.exec('npm install --save-dev @types/react');
293
+ shelljs_1.default.exec('npm install --save-dev @types/react@18.0.1');
294
294
  shelljs_1.default.exec('npm install --save-dev @types/lodash');
295
295
  }
296
296
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nsgm-cli",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "A CLI tool to run Next/Style-components and Graphql/Mysql fullstack project",
5
5
  "main": "index.js",
6
6
  "scripts": {