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.
Files changed (2) hide show
  1. package/bin/index.js +5 -0
  2. 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zhx-monorepo",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Create a ZHX monorepo with one command",
5
5
  "bin": {
6
6
  "create-zhx-monorepo": "bin/index.js"