Skip to content

Commit 65958d0

Browse files
committed
fix: make CLI to create package-lock file from first create-app run for better portability
1 parent 4d8df48 commit 65958d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/commands/createApp/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ async function installDependencies(ctx, cwd) {
241241
const customDir = ctx.customDir;
242242

243243
await Promise.all([
244-
await execa('npm', ['install', '--no-package-lock'], { cwd }),
244+
await execa('npm', ['install'], { cwd }),
245245
await execa('npm', ['install'], { cwd: customDir }),
246246
]);
247247
}

0 commit comments

Comments
 (0)