From 9f72e285f74de735ffe56a5c40d4a79fbc1f39c6 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 5 Dec 2024 12:43:50 +0100 Subject: [PATCH] Run dev without building types --- packages/backend-core/package.json | 16 +--------------- packages/client/package.json | 1 - packages/server/package.json | 2 +- packages/shared-core/package.json | 14 -------------- packages/worker/package.json | 2 +- 5 files changed, 3 insertions(+), 32 deletions(-) diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index b2cb1ba526..d089a166a6 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -23,6 +23,7 @@ "prepack": "cp package.json dist", "build": "tsc -p tsconfig.build.json --paths null && node ./scripts/build.js", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", + "build:oss": "node ./scripts/build.js", "check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020", "check:dependencies": "node ../../scripts/depcheck.js", "test": "bash scripts/test.sh", @@ -94,20 +95,5 @@ "testcontainers": "^10.7.2", "timekeeper": "2.2.0", "typescript": "5.5.2" - }, - "nx": { - "targets": { - "build": { - "dependsOn": [ - { - "projects": [ - "@budibase/shared-core", - "@budibase/types" - ], - "target": "build" - } - ] - } - } } } diff --git a/packages/client/package.json b/packages/client/package.json index 6b9131dac0..7c266bba1d 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -61,7 +61,6 @@ "dependsOn": [ { "projects": [ - "@budibase/shared-core", "@budibase/string-templates" ], "target": "build" diff --git a/packages/server/package.json b/packages/server/package.json index 0c7afdfe23..f8b8b30488 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -188,7 +188,7 @@ "projects": [ "@budibase/backend-core" ], - "target": "build" + "target": "build:oss" } ] }, diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index 395bf420c4..e7b98e469b 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -22,19 +22,5 @@ "devDependencies": { "rimraf": "3.0.2", "typescript": "5.5.2" - }, - "nx": { - "targets": { - "build": { - "dependsOn": [ - { - "projects": [ - "@budibase/types" - ], - "target": "build" - } - ] - } - } } } diff --git a/packages/worker/package.json b/packages/worker/package.json index 9038b0c4f5..68bddd1128 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -109,7 +109,7 @@ "projects": [ "@budibase/backend-core" ], - "target": "build" + "target": "build:oss" } ] }