agroplan-ai-cli 1.0.2 → 1.0.3

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/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -591,7 +591,8 @@ async function setupCommand() {
591
591
  try {
592
592
  if (existsSync6(backendDir)) {
593
593
  console.log(" \uD83D\uDDD1\uFE0F Removendo instala\xE7\xE3o anterior...");
594
- Bun.spawnSync(["rm", "-rf", backendDir]);
594
+ const { rmSync } = await import("fs");
595
+ rmSync(backendDir, { recursive: true, force: true });
595
596
  }
596
597
  cpSync(templateDir, backendDir, { recursive: true });
597
598
  console.log(" \u2705 Arquivos copiados com sucesso");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agroplan-ai-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "CLI global para AgroPlan AI - modo local acelerado",
5
5
  "type": "module",
6
6
  "bin": {