aiteam-x 0.9.2 → 0.9.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/package.json +1 -1
  2. package/scripts/cli.mjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiteam-x",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Painel pixel art para orquestrar agentes BMAD em tempo real",
5
5
  "keywords": [
6
6
  "bmad",
package/scripts/cli.mjs CHANGED
@@ -75,6 +75,10 @@ function copyMerge(src, dest) {
75
75
  copyMerge(srcPath, destPath);
76
76
  } else if (entry.name === "package.json" && fs.existsSync(destPath)) {
77
77
  mergePackageJson(srcPath, destPath);
78
+ } else if (entry.name === "tsconfig.json" && fs.existsSync(destPath)) {
79
+ // Next.js requires its own tsconfig (path aliases @/* → ./*); always overwrite
80
+ fs.copyFileSync(srcPath, destPath);
81
+ console.log(C.dim(" tsconfig.json atualizado (necessário para o Next.js)"));
78
82
  } else if (!fs.existsSync(destPath)) {
79
83
  fs.copyFileSync(srcPath, destPath);
80
84
  }