complete-cli 1.0.1-dev.0 → 1.0.1-dev.1

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.
@@ -114,8 +114,8 @@ async function installNodeModules(projectPath, skipInstall, packageManager) {
114
114
  const command = getPackageManagerInstallCommand(packageManager);
115
115
  promptLog(`Installing node modules with "${command}"... (This can take a long time.)`);
116
116
  const $$ = $({ cwd: projectPath });
117
- const commandParts = command.split(" ");
118
- await $$ `${commandParts}`;
117
+ /// const commandParts = command.split(" ");
118
+ await $$ `${packageManager} install`;
119
119
  }
120
120
  async function formatFiles(projectPath) {
121
121
  const $$ = $({ cwd: projectPath });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complete-cli",
3
- "version": "1.0.1-dev.0",
3
+ "version": "1.0.1-dev.1",
4
4
  "description": "A command line tool for bootstrapping TypeScript projects.",
5
5
  "keywords": [
6
6
  "typescript"
@@ -187,8 +187,8 @@ async function installNodeModules(
187
187
  `Installing node modules with "${command}"... (This can take a long time.)`,
188
188
  );
189
189
  const $$ = $({ cwd: projectPath });
190
- const commandParts = command.split(" ");
191
- await $$`${commandParts}`;
190
+ /// const commandParts = command.split(" ");
191
+ await $$`${packageManager} install`;
192
192
  }
193
193
 
194
194
  async function formatFiles(projectPath: string) {