aiteam-x 0.14.2 → 0.14.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.
- package/package.json +1 -1
- package/scripts/cli.mjs +5 -0
package/package.json
CHANGED
package/scripts/cli.mjs
CHANGED
|
@@ -188,6 +188,11 @@ async function main() {
|
|
|
188
188
|
|
|
189
189
|
if (!empty) {
|
|
190
190
|
console.log(C.bold("2. Mesclando arquivos (existentes preservados)..."));
|
|
191
|
+
const nextDir = path.join(absTarget, ".next");
|
|
192
|
+
if (fs.existsSync(nextDir)) {
|
|
193
|
+
fs.rmSync(nextDir, { recursive: true, force: true });
|
|
194
|
+
console.log(C.dim(" Cache .next removido"));
|
|
195
|
+
}
|
|
191
196
|
copyMerge(tmpDir, absTarget);
|
|
192
197
|
console.log(C.green(" ✓ Arquivos mesclados\n"));
|
|
193
198
|
} else {
|