From f5a5ff0a76d1941b9fbfd34c9178d3454c1d731e Mon Sep 17 00:00:00 2001 From: Boki Date: Wed, 11 Jun 2025 10:41:33 -0400 Subject: [PATCH] prettier configs --- .prettierignore | 5 - apps/dashboard/angular.json | 181 ++++++++++++++--------------- apps/data-service/turbo.json | 49 ++++---- apps/execution-service/turbo.json | 43 ++++--- apps/portfolio-service/turbo.json | 45 ++++--- apps/processing-service/turbo.json | 49 ++++---- apps/strategy-service/turbo.json | 45 ++++--- libs/cache/turbo.json | 29 +++-- libs/config/turbo.json | 29 +++-- libs/data-frame/turbo.json | 29 +++-- libs/event-bus/turbo.json | 29 +++-- libs/http/turbo.json | 29 +++-- libs/logger/turbo.json | 29 +++-- libs/mongodb-client/turbo.json | 29 +++-- libs/postgres-client/turbo.json | 29 +++-- libs/questdb-client/turbo.json | 29 +++-- libs/shutdown/turbo.json | 29 +++-- libs/strategy-engine/turbo.json | 43 ++++--- libs/types/turbo.json | 29 +++-- libs/utils/turbo.json | 29 +++-- libs/vector-engine/turbo.json | 33 ++++-- turbo.json | 140 ++++++++++++---------- 22 files changed, 581 insertions(+), 400 deletions(-) diff --git a/.prettierignore b/.prettierignore index 768c581..51df405 100644 --- a/.prettierignore +++ b/.prettierignore @@ -103,8 +103,3 @@ scripts/ *.sh *.bat *.ps1 - -# Config files that need special formatting -bunfig.toml -angular.json -turbo.json diff --git a/apps/dashboard/angular.json b/apps/dashboard/angular.json index ca7fd05..3324479 100644 --- a/apps/dashboard/angular.json +++ b/apps/dashboard/angular.json @@ -1,91 +1,90 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "cli": { - "packageManager": "npm" - }, - "newProjectRoot": "projects", - "projects": { - "trading-dashboard": { - "projectType": "application", "schematics": { - "@schematics/angular:component": { - "style": "css" - } - }, - "root": "", - "sourceRoot": "src", - "prefix": "app", - "architect": { "build": { - "builder": "@angular/build:application", - "options": { - "browser": "src/main.ts", - "tsConfig": "tsconfig.app.json", - "inlineStyleLanguage": "css", - "assets": [ - { - "glob": "**/*", - "input": "public" - } - ], - "styles": [ - "src/styles.css" - ] - }, - "configurations": { - "production": { - "budgets": [ - { - "type": "initial", - "maximumWarning": "500kB", - "maximumError": "1MB" - }, - { - "type": "anyComponentStyle", - "maximumWarning": "4kB", - "maximumError": "8kB" - } - ], - "outputHashing": "all" - }, - "development": { - "optimization": false, - "extractLicenses": false, - "sourceMap": false - } - }, - "defaultConfiguration": "production" - }, - "serve": { - "builder": "@angular/build:dev-server", - "configurations": { - "production": { - "buildTarget": "trading-dashboard:build:production" - }, - "development": { - "buildTarget": "trading-dashboard:build:development" - } - }, - "defaultConfiguration": "development" - }, - "extract-i18n": { - "builder": "@angular/build:extract-i18n" - }, "test": { - "builder": "@angular/build:karma", - "options": { - "tsConfig": "tsconfig.spec.json", - "inlineStyleLanguage": "css", - "assets": [ - { - "glob": "**/*", - "input": "public" - } - ], - "styles": [ - "src/styles.css" - ] - } - } - } - } - } -} +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "cli": { + "packageManager": "npm" + }, + "newProjectRoot": "projects", + "projects": { + "trading-dashboard": { + "projectType": "application", + "schematics": { + "@schematics/angular:component": { + "style": "css" + } + }, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular/build:application", + "options": { + "browser": "src/main.ts", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "css", + "assets": [ + { + "glob": "**/*", + "input": "public" + } + ], + "styles": ["src/styles.css"] + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kB", + "maximumError": "1MB" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "4kB", + "maximumError": "8kB" + } + ], + "outputHashing": "all" + }, + "development": { + "optimization": false, + "extractLicenses": false, + "sourceMap": false + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "builder": "@angular/build:dev-server", + "configurations": { + "production": { + "buildTarget": "trading-dashboard:build:production" + }, + "development": { + "buildTarget": "trading-dashboard:build:development" + } + }, + "defaultConfiguration": "development" + }, + "extract-i18n": { + "builder": "@angular/build:extract-i18n" + }, + "test": { + "builder": "@angular/build:karma", + "options": { + "tsConfig": "tsconfig.spec.json", + "inlineStyleLanguage": "css", + "assets": [ + { + "glob": "**/*", + "input": "public" + } + ], + "styles": ["src/styles.css"] + } + } + } + } + } +} diff --git a/apps/data-service/turbo.json b/apps/data-service/turbo.json index 9a81bdc..e7c9b7b 100644 --- a/apps/data-service/turbo.json +++ b/apps/data-service/turbo.json @@ -1,21 +1,28 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": [ - "@stock-bot/cache#build", - "@stock-bot/config#build", - "@stock-bot/event-bus#build", - "@stock-bot/http#build", - "@stock-bot/logger#build", - "@stock-bot/mongodb-client#build", - "@stock-bot/questdb-client#build", - "@stock-bot/shutdown#build" - ], - "outputs": ["dist/**"], - "inputs": ["src/**", - "package.json", - "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [ + "@stock-bot/cache#build", + "@stock-bot/config#build", + "@stock-bot/event-bus#build", + "@stock-bot/http#build", + "@stock-bot/logger#build", + "@stock-bot/mongodb-client#build", + "@stock-bot/questdb-client#build", + "@stock-bot/shutdown#build" + ], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/apps/execution-service/turbo.json b/apps/execution-service/turbo.json index 920f376..846749e 100644 --- a/apps/execution-service/turbo.json +++ b/apps/execution-service/turbo.json @@ -1,17 +1,26 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": [ - "@stock-bot/types#build", - "@stock-bot/config#build", - "@stock-bot/logger#build", - "@stock-bot/utils#build", - "@stock-bot/event-bus#build", - "@stock-bot/shutdown#build" - ], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [ + "@stock-bot/types#build", + "@stock-bot/config#build", + "@stock-bot/logger#build", + "@stock-bot/utils#build", + "@stock-bot/event-bus#build", + "@stock-bot/shutdown#build" + ], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/apps/portfolio-service/turbo.json b/apps/portfolio-service/turbo.json index d0779ff..679a273 100644 --- a/apps/portfolio-service/turbo.json +++ b/apps/portfolio-service/turbo.json @@ -1,18 +1,27 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": [ - "@stock-bot/types#build", - "@stock-bot/config#build", - "@stock-bot/logger#build", - "@stock-bot/utils#build", - "@stock-bot/postgres-client#build", - "@stock-bot/event-bus#build", - "@stock-bot/shutdown#build" - ], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [ + "@stock-bot/types#build", + "@stock-bot/config#build", + "@stock-bot/logger#build", + "@stock-bot/utils#build", + "@stock-bot/postgres-client#build", + "@stock-bot/event-bus#build", + "@stock-bot/shutdown#build" + ], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/apps/processing-service/turbo.json b/apps/processing-service/turbo.json index ebaa9be..2b9cd1e 100644 --- a/apps/processing-service/turbo.json +++ b/apps/processing-service/turbo.json @@ -1,20 +1,29 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": [ - "@stock-bot/types#build", - "@stock-bot/config#build", - "@stock-bot/logger#build", - "@stock-bot/utils#build", - "@stock-bot/data-frame#build", - "@stock-bot/vector-engine#build", - "@stock-bot/mongodb-client#build", - "@stock-bot/event-bus#build", - "@stock-bot/shutdown#build" - ], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [ + "@stock-bot/types#build", + "@stock-bot/config#build", + "@stock-bot/logger#build", + "@stock-bot/utils#build", + "@stock-bot/data-frame#build", + "@stock-bot/vector-engine#build", + "@stock-bot/mongodb-client#build", + "@stock-bot/event-bus#build", + "@stock-bot/shutdown#build" + ], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/apps/strategy-service/turbo.json b/apps/strategy-service/turbo.json index 16180ef..9157e39 100644 --- a/apps/strategy-service/turbo.json +++ b/apps/strategy-service/turbo.json @@ -1,18 +1,27 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": [ - "@stock-bot/types#build", - "@stock-bot/config#build", - "@stock-bot/logger#build", - "@stock-bot/utils#build", - "@stock-bot/strategy-engine#build", - "@stock-bot/event-bus#build", - "@stock-bot/shutdown#build" - ], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [ + "@stock-bot/types#build", + "@stock-bot/config#build", + "@stock-bot/logger#build", + "@stock-bot/utils#build", + "@stock-bot/strategy-engine#build", + "@stock-bot/event-bus#build", + "@stock-bot/shutdown#build" + ], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/cache/turbo.json b/libs/cache/turbo.json index c630cca..6a58ad7 100644 --- a/libs/cache/turbo.json +++ b/libs/cache/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/config/turbo.json b/libs/config/turbo.json index 9fc641f..91571de 100644 --- a/libs/config/turbo.json +++ b/libs/config/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/data-frame/turbo.json b/libs/data-frame/turbo.json index c5fbfeb..4e58ea7 100644 --- a/libs/data-frame/turbo.json +++ b/libs/data-frame/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/utils#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/utils#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/event-bus/turbo.json b/libs/event-bus/turbo.json index c630cca..6a58ad7 100644 --- a/libs/event-bus/turbo.json +++ b/libs/event-bus/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/http/turbo.json b/libs/http/turbo.json index c630cca..6a58ad7 100644 --- a/libs/http/turbo.json +++ b/libs/http/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/logger/turbo.json b/libs/logger/turbo.json index 9d8964a..487f1f9 100644 --- a/libs/logger/turbo.json +++ b/libs/logger/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/mongodb-client/turbo.json b/libs/mongodb-client/turbo.json index 92c4460..d6dc347 100644 --- a/libs/mongodb-client/turbo.json +++ b/libs/mongodb-client/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/postgres-client/turbo.json b/libs/postgres-client/turbo.json index 92c4460..d6dc347 100644 --- a/libs/postgres-client/turbo.json +++ b/libs/postgres-client/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/questdb-client/turbo.json b/libs/questdb-client/turbo.json index 92c4460..d6dc347 100644 --- a/libs/questdb-client/turbo.json +++ b/libs/questdb-client/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/shutdown/turbo.json b/libs/shutdown/turbo.json index c630cca..6a58ad7 100644 --- a/libs/shutdown/turbo.json +++ b/libs/shutdown/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/strategy-engine/turbo.json b/libs/strategy-engine/turbo.json index 2b83f12..e0b5bd2 100644 --- a/libs/strategy-engine/turbo.json +++ b/libs/strategy-engine/turbo.json @@ -1,17 +1,26 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": [ - "@stock-bot/types#build", - "@stock-bot/config#build", - "@stock-bot/logger#build", - "@stock-bot/utils#build", - "@stock-bot/data-frame#build", - "@stock-bot/event-bus#build" - ], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [ + "@stock-bot/types#build", + "@stock-bot/config#build", + "@stock-bot/logger#build", + "@stock-bot/utils#build", + "@stock-bot/data-frame#build", + "@stock-bot/event-bus#build" + ], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/types/turbo.json b/libs/types/turbo.json index 74e52b7..6d18e62 100644 --- a/libs/types/turbo.json +++ b/libs/types/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": [], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/utils/turbo.json b/libs/utils/turbo.json index 9d8964a..487f1f9 100644 --- a/libs/utils/turbo.json +++ b/libs/utils/turbo.json @@ -1,10 +1,19 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/libs/vector-engine/turbo.json b/libs/vector-engine/turbo.json index 721204b..4c85023 100644 --- a/libs/vector-engine/turbo.json +++ b/libs/vector-engine/turbo.json @@ -1,10 +1,23 @@ -{ - "extends": ["//"], - "tasks": { - "build": { - "dependsOn": ["@stock-bot/types#build", "@stock-bot/utils#build", "@stock-bot/data-frame#build"], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - } - } -} +{ + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": [ + "@stock-bot/types#build", + "@stock-bot/utils#build", + "@stock-bot/data-frame#build" + ], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + } + } +} diff --git a/turbo.json b/turbo.json index 405e280..a7163af 100644 --- a/turbo.json +++ b/turbo.json @@ -1,63 +1,77 @@ -{ - "$schema": "https://turbo.build/schema.json", - "ui": "tui", - "globalDependencies": ["**/.env.*local"], - "tasks": { - "build": { - "dependsOn": ["^build"], - "outputs": ["dist/**", ".next/**", "!.next/cache/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - }, - "build:libs": { - "dependsOn": [], - "outputs": ["dist/**"], - "inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] - }, - "dev": { - "dependsOn": ["^build"], - "cache": false, - "persistent": true - }, - "test": { - "dependsOn": ["build"], - "outputs": [] - }, "lint": { - "dependsOn": [], - "outputs": [] - }, - "lint:fix": { - "dependsOn": [], - "outputs": [] - }, - "lint:check": { - "dependsOn": [], - "outputs": [] - }, - "format": { - "dependsOn": [], - "outputs": [] - }, - "format:check": { - "dependsOn": [], - "outputs": [] - }, - "clean": { - "cache": false - }, - "start": { - "dependsOn": ["build"], - "cache": false, - "persistent": true - }, - "backtest": { - "dependsOn": ["build"], - "cache": false - } - }, - "globalEnv": [ - "NODE_ENV", - "DATA_SERVICE_PORT", - "DRAGONFLY_HOST", - "DRAGONFLY_PORT" - ] -} +{ + "$schema": "https://turbo.build/schema.json", + "ui": "tui", + "globalDependencies": ["**/.env.*local"], + "tasks": { + "build": { + "dependsOn": ["^build"], + "outputs": ["dist/**", ".next/**", "!.next/cache/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + }, + "build:libs": { + "dependsOn": [], + "outputs": ["dist/**"], + "inputs": [ + "src/**", + "package.json", + "tsconfig.json", + "!**/*.test.ts", + "!**/*.spec.ts", + "!**/test/**", + "!**/tests/**", + "!**/__tests__/**" + ] + }, + "dev": { + "dependsOn": ["^build"], + "cache": false, + "persistent": true + }, + "test": { + "dependsOn": ["build"], + "outputs": [] + }, + "lint": { + "dependsOn": [], + "outputs": [] + }, + "lint:fix": { + "dependsOn": [], + "outputs": [] + }, + "lint:check": { + "dependsOn": [], + "outputs": [] + }, + "format": { + "dependsOn": [], + "outputs": [] + }, + "format:check": { + "dependsOn": [], + "outputs": [] + }, + "clean": { + "cache": false + }, + "start": { + "dependsOn": ["build"], + "cache": false, + "persistent": true + }, + "backtest": { + "dependsOn": ["build"], + "cache": false + } + }, + "globalEnv": ["NODE_ENV", "DATA_SERVICE_PORT", "DRAGONFLY_HOST", "DRAGONFLY_PORT"] +}