From 4efd98b5dca659ed601417e4d96149fb0165ab70 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sun, 4 Aug 2024 01:57:39 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ai-sdk/package.json | 4 ++-- packages/ai-sdk/tsup.config.ts | 1 - packages/github/src/github-client.ts | 2 +- turbo.json | 22 +++++++++++++++------- 4 files changed, 18 insertions(+), 11 deletions(-) delete mode 100644 packages/ai-sdk/tsup.config.ts diff --git a/packages/ai-sdk/package.json b/packages/ai-sdk/package.json index 9179c9dbd..7caa4575c 100644 --- a/packages/ai-sdk/package.json +++ b/packages/ai-sdk/package.json @@ -23,8 +23,8 @@ "dist" ], "scripts": { - "build": "tsup", - "dev": "tsup --watch", + "build": "tsup --config ../../tsup.config.ts", + "dev": "tsup --config ../../tsup.config.ts --watch", "clean": "del dist", "test": "run-s test:*", "test:lint": "eslint .", diff --git a/packages/ai-sdk/tsup.config.ts b/packages/ai-sdk/tsup.config.ts deleted file mode 100644 index 010d3727b..000000000 --- a/packages/ai-sdk/tsup.config.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from '../../tsup.config' diff --git a/packages/github/src/github-client.ts b/packages/github/src/github-client.ts index 1d22d352d..7fe9aa528 100644 --- a/packages/github/src/github-client.ts +++ b/packages/github/src/github-client.ts @@ -1,4 +1,4 @@ -import { AIFunctionsProvider , assert, getEnv } from '@agentic/core' +import { AIFunctionsProvider, assert, getEnv } from '@agentic/core' import { Octokit } from 'octokit' export namespace github { diff --git a/turbo.json b/turbo.json index 335421c26..a3db906a7 100644 --- a/turbo.json +++ b/turbo.json @@ -4,31 +4,39 @@ "tasks": { "build": { "dependsOn": ["^build"], - "outputs": ["dist/**"] + "outputs": ["dist/**"], + "outputLogs": "new-only" }, "clean": { "dependsOn": ["^clean"], - "outputs": ["dist/**"] + "outputs": ["dist/**"], + "outputLogs": "new-only" }, "test": { "dependsOn": [ - "build", "test:format", "test:lint", + "build", "test:typecheck", "test:unit" ] }, "test:lint": { - "dependsOn": ["^test:lint"] + "dependsOn": ["^test:lint"], + "outputLogs": "errors-only" }, "test:typecheck": { - "dependsOn": ["^test:typecheck"] + "dependsOn": ["^test:typecheck"], + "outputLogs": "errors-only" }, "test:unit": { - "dependsOn": ["^test:unit"] + "dependsOn": ["^test:unit"], + "outputLogs": "errors-only" + }, + "test:format": { + "dependsOn": ["//#test:format", "^test:format"] }, - "test:format": {}, + "//#test:format": {}, "dev": { "cache": false, "persistent": true