From 42ecad611c18e3620bf4e90ca29bad26836d6b09 Mon Sep 17 00:00:00 2001 From: joaoprocopio Date: Tue, 20 Aug 2024 13:54:39 -0300 Subject: [PATCH] build(dev): desabilita o tui MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/vercel/turborepo/pull/9034 esse pr no turbo repo resolve esse problema de `panic!` mais até o momento usar o tui tá problemático --- apps/mobile/turbo.json | 8 +------- apps/server/package.json | 4 ---- apps/server/src/main.ts | 1 + apps/server/turbo.json | 7 +------ turbo.json | 4 ++-- 5 files changed, 5 insertions(+), 19 deletions(-) diff --git a/apps/mobile/turbo.json b/apps/mobile/turbo.json index 58fc3f0..5d22b90 100644 --- a/apps/mobile/turbo.json +++ b/apps/mobile/turbo.json @@ -1,10 +1,4 @@ { "$schema": "https://turborepo.org/schema.json", - "extends": ["//"], - "tasks": { - "dev": { - "persistent": true, - "interactive": true - } - } + "extends": ["//"] } diff --git a/apps/server/package.json b/apps/server/package.json index 0bcff15..5f1a600 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -1,10 +1,6 @@ { "name": "@nutrilife/server", - "version": "0.0.1", - "description": "", - "author": "", "private": true, - "license": "UNLICENSED", "scripts": { "build": "nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", diff --git a/apps/server/src/main.ts b/apps/server/src/main.ts index 13cad38..ff409c4 100644 --- a/apps/server/src/main.ts +++ b/apps/server/src/main.ts @@ -5,4 +5,5 @@ async function bootstrap() { const app = await NestFactory.create(AppModule); await app.listen(3000); } + bootstrap(); diff --git a/apps/server/turbo.json b/apps/server/turbo.json index 606ee0e..5d22b90 100644 --- a/apps/server/turbo.json +++ b/apps/server/turbo.json @@ -1,9 +1,4 @@ { "$schema": "https://turborepo.org/schema.json", - "extends": ["//"], - "tasks": { - "dev": { - "persistent": false - } - } + "extends": ["//"] } diff --git a/turbo.json b/turbo.json index 822e564..3b8cf0f 100644 --- a/turbo.json +++ b/turbo.json @@ -1,10 +1,10 @@ { "$schema": "https://turbo.build/schema.json", - "ui": "tui", "tasks": { "dev": { "cache": false, - "persistent": false + "interactive": false, + "persistent": true }, "clean": { "cache": false