pipely-ai 1.3.1 → 1.3.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/index.js +1 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -525,11 +525,7 @@ VITE_API_URL=http://localhost:3333
|
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
async function installLocal() {
|
|
528
|
-
printBanner();
|
|
529
|
-
|
|
530
528
|
const os = detectOS();
|
|
531
|
-
console.log(` Sistema: ${c.bold}${os.label}${c.reset} (${os.arch})`);
|
|
532
|
-
console.log(` Modo: ${c.cyan}Local (sem Docker)${c.reset}\n`);
|
|
533
529
|
|
|
534
530
|
// Check if already installed
|
|
535
531
|
if (isLocalInstalled()) {
|
|
@@ -604,7 +600,7 @@ async function installLocal() {
|
|
|
604
600
|
// Setup database
|
|
605
601
|
process.stdout.write(` Criando banco de dados... `);
|
|
606
602
|
try {
|
|
607
|
-
execSync("npx prisma db push
|
|
603
|
+
execSync("npx prisma db push", {
|
|
608
604
|
cwd: join(PIPELY_DIR, "server"),
|
|
609
605
|
stdio: "pipe",
|
|
610
606
|
env: { ...process.env, DATABASE_URL: `file:${join(PIPELY_DIR, "data/pipely.db")}` },
|