Skip to content

Commit b8e88fa

Browse files
committed
fix(core): npm prepare script may be removed
Closes #101
1 parent bb927a0 commit b8e88fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/generators/init/generator.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ export default async function (
2828
host.write(CONFIG_FILE_PATH, JSON.stringify(configObject, null, 2));
2929

3030
updateNxJson(host);
31+
3132
if (!initialized) {
3233
updateGitIgnore(host, readWorkspaceConfiguration(host));
34+
addPrepareScript(host);
3335
}
3436

3537
initToolManifest(host, dotnetClient);
36-
addPrepareScript(host);
3738
}
3839

3940
function updateGitIgnore(

0 commit comments

Comments
 (0)