create-projx 0.1.1 → 1.0.0
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/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -594,15 +594,16 @@ async function update(cwd, localRepo) {
|
|
|
594
594
|
} finally {
|
|
595
595
|
await cleanupRepo(repoDir, isLocal);
|
|
596
596
|
}
|
|
597
|
-
execSync2(
|
|
597
|
+
execSync2("git add -A", { cwd, stdio: "pipe" });
|
|
598
|
+
execSync2(`git commit -m "projx update to v${pkg.version}"`, { cwd, stdio: "pipe" });
|
|
598
599
|
p3.outro(
|
|
599
|
-
`
|
|
600
|
+
`Updated on branch: ${branchName}
|
|
600
601
|
|
|
601
602
|
Review changes:
|
|
602
603
|
git diff ${originalBranch}...${branchName}
|
|
603
604
|
|
|
604
|
-
|
|
605
|
-
git merge ${branchName}`
|
|
605
|
+
Switch back and merge:
|
|
606
|
+
git checkout ${originalBranch} && git merge ${branchName}`
|
|
606
607
|
);
|
|
607
608
|
} else {
|
|
608
609
|
const dlSpinner = p3.spinner();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-projx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Scaffold production-grade projects. Pick your stack (FastAPI, Fastify, React, Flutter), get a fully wired template with auth, database, CI/CD, and E2E tests.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|