prettier configs

This commit is contained in:
Boki 2025-06-11 10:41:33 -04:00
parent 8b5e06954a
commit f5a5ff0a76
22 changed files with 581 additions and 400 deletions

View file

@ -103,8 +103,3 @@ scripts/
*.sh *.sh
*.bat *.bat
*.ps1 *.ps1
# Config files that need special formatting
bunfig.toml
angular.json
turbo.json

View file

@ -7,7 +7,8 @@
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"trading-dashboard": { "trading-dashboard": {
"projectType": "application", "schematics": { "projectType": "application",
"schematics": {
"@schematics/angular:component": { "@schematics/angular:component": {
"style": "css" "style": "css"
} }
@ -15,7 +16,8 @@
"root": "", "root": "",
"sourceRoot": "src", "sourceRoot": "src",
"prefix": "app", "prefix": "app",
"architect": { "build": { "architect": {
"build": {
"builder": "@angular/build:application", "builder": "@angular/build:application",
"options": { "options": {
"browser": "src/main.ts", "browser": "src/main.ts",
@ -27,9 +29,7 @@
"input": "public" "input": "public"
} }
], ],
"styles": [ "styles": ["src/styles.css"]
"src/styles.css"
]
}, },
"configurations": { "configurations": {
"production": { "production": {
@ -69,7 +69,8 @@
}, },
"extract-i18n": { "extract-i18n": {
"builder": "@angular/build:extract-i18n" "builder": "@angular/build:extract-i18n"
}, "test": { },
"test": {
"builder": "@angular/build:karma", "builder": "@angular/build:karma",
"options": { "options": {
"tsConfig": "tsconfig.spec.json", "tsConfig": "tsconfig.spec.json",
@ -80,9 +81,7 @@
"input": "public" "input": "public"
} }
], ],
"styles": [ "styles": ["src/styles.css"]
"src/styles.css"
]
} }
} }
} }

View file

@ -13,9 +13,16 @@
"@stock-bot/shutdown#build" "@stock-bot/shutdown#build"
], ],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "inputs": [
"package.json", "src/**",
"tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -11,7 +11,16 @@
"@stock-bot/shutdown#build" "@stock-bot/shutdown#build"
], ],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -12,7 +12,16 @@
"@stock-bot/shutdown#build" "@stock-bot/shutdown#build"
], ],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -14,7 +14,16 @@
"@stock-bot/shutdown#build" "@stock-bot/shutdown#build"
], ],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -12,7 +12,16 @@
"@stock-bot/shutdown#build" "@stock-bot/shutdown#build"
], ],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

11
libs/cache/turbo.json vendored
View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build"], "dependsOn": ["@stock-bot/types#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/utils#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/utils#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -11,7 +11,16 @@
"@stock-bot/event-bus#build" "@stock-bot/event-bus#build"
], ],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": [], "dependsOn": [],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -4,7 +4,16 @@
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -2,9 +2,22 @@
"extends": ["//"], "extends": ["//"],
"tasks": { "tasks": {
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/utils#build", "@stock-bot/data-frame#build"], "dependsOn": [
"@stock-bot/types#build",
"@stock-bot/utils#build",
"@stock-bot/data-frame#build"
],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
} }
} }
} }

View file

@ -6,12 +6,30 @@
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"], "outputs": ["dist/**", ".next/**", "!.next/cache/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
}, },
"build:libs": { "build:libs": {
"dependsOn": [], "dependsOn": [],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "!**/*.test.ts", "!**/*.spec.ts", "!**/test/**", "!**/tests/**", "!**/__tests__/**"] "inputs": [
"src/**",
"package.json",
"tsconfig.json",
"!**/*.test.ts",
"!**/*.spec.ts",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**"
]
}, },
"dev": { "dev": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
@ -21,7 +39,8 @@
"test": { "test": {
"dependsOn": ["build"], "dependsOn": ["build"],
"outputs": [] "outputs": []
}, "lint": { },
"lint": {
"dependsOn": [], "dependsOn": [],
"outputs": [] "outputs": []
}, },
@ -54,10 +73,5 @@
"cache": false "cache": false
} }
}, },
"globalEnv": [ "globalEnv": ["NODE_ENV", "DATA_SERVICE_PORT", "DRAGONFLY_HOST", "DRAGONFLY_PORT"]
"NODE_ENV",
"DATA_SERVICE_PORT",
"DRAGONFLY_HOST",
"DRAGONFLY_PORT"
]
} }