@farming-labs/docs 0.0.2 → 0.0.3-beta.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.
@@ -1530,18 +1530,13 @@ async function init(options = {}) {
1530
1530
  p.log.error("Failed to bootstrap. Check your connection and that the repo exists.");
1531
1531
  process.exit(1);
1532
1532
  }
1533
- p.log.success(`Bootstrapped ${pc.cyan(`'${projectName}'`)}. Installing dependencies...`);
1534
- const pm = detectPackageManager(targetDir);
1533
+ p.log.success(`Bootstrapped ${pc.cyan(`'${projectName}'`)}. Installing dependencies with pnpm...`);
1535
1534
  try {
1536
- if (pm === "pnpm") exec("pnpm install", targetDir);
1537
- else if (pm === "yarn") exec("yarn install", targetDir);
1538
- else if (pm === "bun") exec("bun install", targetDir);
1539
- else exec("npm install", targetDir);
1535
+ exec("pnpm install", targetDir);
1540
1536
  } catch {
1541
- p.log.warn("Dependency install failed. Run your package manager install command manually.");
1537
+ p.log.warn("pnpm install failed. Run pnpm install manually inside the project.");
1542
1538
  }
1543
- const devCmd = pm === "yarn" ? "yarn dev" : pm === "bun" ? "bun dev" : `${pm} run dev`;
1544
- p.outro(pc.green(`Done! Run ${pc.cyan(`cd ${projectName} && ${devCmd}`)} to start the dev server.`));
1539
+ p.outro(pc.green(`Done! Run ${pc.cyan(`cd ${projectName} && pnpm run dev`)} to start the dev server.`));
1545
1540
  process.exit(0);
1546
1541
  }
1547
1542
  let framework = detectFramework(cwd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/docs",
3
- "version": "0.0.2",
3
+ "version": "0.0.3-beta.1",
4
4
  "description": "Modern, flexible MDX-based docs framework — core types, config, and CLI",
5
5
  "keywords": [
6
6
  "docs",