create-innovator 0.4.0 → 0.4.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.
- package/dist/cli.js +4 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -337,8 +337,9 @@ async function setupProject(projectName) {
|
|
|
337
337
|
s.stop("Test snapshots updated");
|
|
338
338
|
s.start("Creating initial commit");
|
|
339
339
|
await execFile2("git", ["add", "."], { cwd: projectName });
|
|
340
|
-
await execFile2("git", ["commit", "
|
|
341
|
-
cwd: projectName
|
|
340
|
+
await execFile2("git", ["commit", "-m", `feat(${projectName}): initial commit`], {
|
|
341
|
+
cwd: projectName,
|
|
342
|
+
env: { ...process.env, HUSKY: "0" }
|
|
342
343
|
});
|
|
343
344
|
s.stop("Initial commit created");
|
|
344
345
|
} catch {
|
|
@@ -349,7 +350,7 @@ async function setupProject(projectName) {
|
|
|
349
350
|
corepack enable
|
|
350
351
|
pnpm install
|
|
351
352
|
pnpm test -u
|
|
352
|
-
git add . && git commit
|
|
353
|
+
git add . && HUSKY=0 git commit -m "feat(${projectName}): initial commit"`
|
|
353
354
|
);
|
|
354
355
|
}
|
|
355
356
|
}
|