create-zhx-monorepo 0.1.7 → 0.1.8
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/bin/index.js +5 -0
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -107,6 +107,11 @@ const main = async () => {
|
|
|
107
107
|
execSync(`git remote add origin ${gitRemote}`, { stdio: "ignore" });
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
// installing deps
|
|
111
|
+
console.log(cyan("📦 Installing server dependencies..."));
|
|
112
|
+
process.chdir(projectPath);
|
|
113
|
+
execSync("pnpm install", { stdio: "inherit" });
|
|
114
|
+
|
|
110
115
|
// Run Prisma commands
|
|
111
116
|
console.log(cyan("🧬 Running Prisma setup..."));
|
|
112
117
|
process.chdir(serverDir);
|