aiteam-x 0.9.1 → 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 +2 -1
  2. package/scripts/cli.mjs +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiteam-x",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Painel pixel art para orquestrar agentes BMAD em tempo real",
5
5
  "keywords": [
6
6
  "bmad",
@@ -23,6 +23,7 @@
23
23
  },
24
24
  "scripts": {
25
25
  "dev": "next dev",
26
+ "aiteam": "next dev",
26
27
  "build": "next build",
27
28
  "start": "next start",
28
29
  "lint": "next lint",
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
  }
@@ -139,7 +143,7 @@ async function main() {
139
143
  console.log(C.bold(`${n + 2}. Iniciando servidor de desenvolvimento...`));
140
144
  console.log(C.dim(" Acesse http://localhost:3000 quando estiver pronto.\n"));
141
145
 
142
- const child = spawn("npm", ["run", "dev"], {
146
+ const child = spawn("npm", ["run", "aiteam"], {
143
147
  stdio: "inherit",
144
148
  cwd: absTarget,
145
149
  shell: true,