diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 23f39c26..eb4df198 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,13 +125,13 @@ importers: version: 6.0.1 ts-loader: specifier: ^9.5.1 - version: 9.5.1(typescript@5.5.4)(webpack@5.93.0) + version: 9.5.1(typescript@5.5.4)(webpack@5.93.0(esbuild@0.23.0)) ts-node: specifier: 10.9.2 version: 10.9.2(@types/node@20.14.15)(typescript@5.5.4) tsup: specifier: ^8.2.4 - version: 8.2.4(typescript@5.5.4) + version: 8.2.4(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.4) typescript: specifier: 5.5.4 version: 5.5.4 @@ -181,6 +181,9 @@ importers: packages/bot: dependencies: + '@opentrader/bot-store': + specifier: workspace:* + version: link:../bot-store '@opentrader/bot-templates': specifier: workspace:* version: link:../bot-templates @@ -238,7 +241,7 @@ importers: version: 5.5.4 vitest: specifier: ^2.0.5 - version: 2.0.5(@types/node@20.14.15) + version: 2.0.5(@types/node@20.14.15)(terser@5.31.6) packages/bot-processor: dependencies: @@ -280,6 +283,40 @@ importers: specifier: 5.5.4 version: 5.5.4 + packages/bot-store: + dependencies: + '@opentrader/bot-processor': + specifier: workspace:* + version: link:../bot-processor + '@opentrader/db': + specifier: workspace:* + version: link:../db + '@opentrader/event-bus': + specifier: workspace:* + version: link:../event-bus + devDependencies: + '@opentrader/eslint': + specifier: workspace:* + version: link:../eslint + '@opentrader/tsconfig': + specifier: workspace:* + version: link:../tsconfig + '@opentrader/types': + specifier: workspace:* + version: link:../types + '@types/node': + specifier: ^20.14.15 + version: 20.14.15 + eslint: + specifier: 8.57.0 + version: 8.57.0 + typescript: + specifier: 5.5.4 + version: 5.5.4 + vitest: + specifier: ^2.0.5 + version: 2.0.5(@types/node@20.14.15)(terser@5.31.6) + packages/bot-templates: dependencies: '@opentrader/bot-processor': @@ -321,10 +358,10 @@ importers: version: 8.57.0 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) ts-jest: specifier: ^29.2.4 - version: 29.2.4(@babel/core@7.25.2)(esbuild@0.23.0)(jest@29.7.0)(typescript@5.5.4) + version: 29.2.4(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)))(typescript@5.5.4) typescript: specifier: 5.5.4 version: 5.5.4 @@ -468,7 +505,7 @@ importers: version: 5.5.4 vitest: specifier: ^2.0.5 - version: 2.0.5(@types/node@20.14.15) + version: 2.0.5(@types/node@20.14.15)(terser@5.31.6) packages/exchanges: dependencies: @@ -530,10 +567,10 @@ importers: version: 8.57.0 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) ts-jest: specifier: ^29.2.4 - version: 29.2.4(@babel/core@7.25.2)(esbuild@0.23.0)(jest@29.7.0)(typescript@5.5.4) + version: 29.2.4(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)))(typescript@5.5.4) ts-node: specifier: 10.9.2 version: 10.9.2(@types/node@20.14.15)(typescript@5.5.4) @@ -662,10 +699,10 @@ importers: version: 8.57.0 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) ts-jest: specifier: ^29.2.4 - version: 29.2.4(@babel/core@7.25.2)(esbuild@0.23.0)(jest@29.7.0)(typescript@5.5.4) + version: 29.2.4(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)))(typescript@5.5.4) typescript: specifier: 5.5.4 version: 5.5.4 @@ -699,13 +736,13 @@ importers: version: 8.57.0 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) ts-jest: specifier: ^29.2.4 - version: 29.2.4(@babel/core@7.25.2)(esbuild@0.23.0)(jest@29.7.0)(typescript@5.5.4) + version: 29.2.4(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)))(typescript@5.5.4) tsup: specifier: ^8.2.4 - version: 8.2.4(typescript@5.5.4) + version: 8.2.4(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.4) typescript: specifier: 5.5.4 version: 5.5.4 @@ -783,7 +820,7 @@ importers: version: 8.57.0 tsup: specifier: ^8.2.4 - version: 8.2.4(typescript@5.5.4) + version: 8.2.4(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.4) typescript: specifier: 5.5.4 version: 5.5.4 @@ -4822,7 +4859,7 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(ts-node@10.9.2)': + '@jest/core@29.7.0(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -4836,7 +4873,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -5034,7 +5071,7 @@ snapshots: optional: true '@prisma/client@5.17.0(prisma@5.17.0)': - dependencies: + optionalDependencies: prisma: 5.17.0 '@prisma/debug@5.17.0': {} @@ -5274,7 +5311,7 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0)(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) @@ -5287,6 +5324,7 @@ snapshots: ignore: 5.3.2 natural-compare: 1.4.0 ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color @@ -5299,6 +5337,7 @@ snapshots: '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.6 eslint: 8.57.0 + optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color @@ -5315,6 +5354,7 @@ snapshots: debug: 4.3.6 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color @@ -5331,6 +5371,7 @@ snapshots: minimatch: 9.0.5 semver: 7.6.3 ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color @@ -5813,13 +5854,13 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 - create-jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2): + create-jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -6581,16 +6622,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.14.15)(ts-node@10.9.2): + jest-cli@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -6600,12 +6641,11 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.14.15)(ts-node@10.9.2): + jest-config@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)): dependencies: '@babel/core': 7.25.2 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.15 babel-jest: 29.7.0(@babel/core@7.25.2) chalk: 4.1.2 ci-info: 3.9.0 @@ -6625,6 +6665,8 @@ snapshots: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 20.14.15 ts-node: 10.9.2(@types/node@20.14.15)(typescript@5.5.4) transitivePeerDependencies: - babel-plugin-macros @@ -6707,7 +6749,7 @@ snapshots: jest-util: 29.7.0 jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): - dependencies: + optionalDependencies: jest-resolve: 29.7.0 jest-regex-util@29.6.3: {} @@ -6851,12 +6893,12 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2): + jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -7222,9 +7264,12 @@ snapshots: dependencies: find-up: 4.1.0 - postcss-load-config@6.0.1: + postcss-load-config@6.0.1(postcss@8.4.41)(tsx@4.17.0): dependencies: lilconfig: 3.1.2 + optionalDependencies: + postcss: 8.4.41 + tsx: 4.17.0 postcss@8.4.41: dependencies: @@ -7633,15 +7678,16 @@ snapshots: term-size@2.2.1: {} - terser-webpack-plugin@5.3.10(esbuild@0.23.0)(webpack@5.93.0): + terser-webpack-plugin@5.3.10(esbuild@0.23.0)(webpack@5.93.0(esbuild@0.23.0)): dependencies: '@jridgewell/trace-mapping': 0.3.25 - esbuild: 0.23.0 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.31.6 webpack: 5.93.0(esbuild@0.23.0) + optionalDependencies: + esbuild: 0.23.0 terser@5.31.6: dependencies: @@ -7704,14 +7750,12 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-jest@29.2.4(@babel/core@7.25.2)(esbuild@0.23.0)(jest@29.7.0)(typescript@5.5.4): + ts-jest@29.2.4(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)))(typescript@5.5.4): dependencies: - '@babel/core': 7.25.2 bs-logger: 0.2.6 ejs: 3.1.10 - esbuild: 0.23.0 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2) + jest: 29.7.0(@types/node@20.14.15)(ts-node@10.9.2(@types/node@20.14.15)(typescript@5.5.4)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -7719,8 +7763,13 @@ snapshots: semver: 7.6.3 typescript: 5.5.4 yargs-parser: 21.1.1 + optionalDependencies: + '@babel/core': 7.25.2 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.25.2) - ts-loader@9.5.1(typescript@5.5.4)(webpack@5.93.0): + ts-loader@9.5.1(typescript@5.5.4)(webpack@5.93.0(esbuild@0.23.0)): dependencies: chalk: 4.1.2 enhanced-resolve: 5.17.1 @@ -7750,7 +7799,7 @@ snapshots: tslib@2.6.3: {} - tsup@8.2.4(typescript@5.5.4): + tsup@8.2.4(postcss@8.4.41)(tsx@4.17.0)(typescript@5.5.4): dependencies: bundle-require: 5.0.0(esbuild@0.23.0) cac: 6.7.14 @@ -7762,12 +7811,14 @@ snapshots: globby: 11.1.0 joycon: 3.1.1 picocolors: 1.0.1 - postcss-load-config: 6.0.1 + postcss-load-config: 6.0.1(postcss@8.4.41)(tsx@4.17.0) resolve-from: 5.0.0 rollup: 4.20.0 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.4.41 typescript: 5.5.4 transitivePeerDependencies: - jiti @@ -7826,10 +7877,11 @@ snapshots: typescript-eslint@7.18.0(eslint@8.57.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 + optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color @@ -7864,13 +7916,13 @@ snapshots: vary@1.1.2: {} - vite-node@2.0.5(@types/node@20.14.15): + vite-node@2.0.5(@types/node@20.14.15)(terser@5.31.6): dependencies: cac: 6.7.14 debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.1(@types/node@20.14.15) + vite: 5.4.1(@types/node@20.14.15)(terser@5.31.6) transitivePeerDependencies: - '@types/node' - less @@ -7882,19 +7934,19 @@ snapshots: - supports-color - terser - vite@5.4.1(@types/node@20.14.15): + vite@5.4.1(@types/node@20.14.15)(terser@5.31.6): dependencies: - '@types/node': 20.14.15 esbuild: 0.21.5 postcss: 8.4.41 rollup: 4.20.0 optionalDependencies: + '@types/node': 20.14.15 fsevents: 2.3.3 + terser: 5.31.6 - vitest@2.0.5(@types/node@20.14.15): + vitest@2.0.5(@types/node@20.14.15)(terser@5.31.6): dependencies: '@ampproject/remapping': 2.3.0 - '@types/node': 20.14.15 '@vitest/expect': 2.0.5 '@vitest/pretty-format': 2.0.5 '@vitest/runner': 2.0.5 @@ -7910,9 +7962,11 @@ snapshots: tinybench: 2.9.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.1(@types/node@20.14.15) - vite-node: 2.0.5(@types/node@20.14.15) + vite: 5.4.1(@types/node@20.14.15)(terser@5.31.6) + vite-node: 2.0.5(@types/node@20.14.15)(terser@5.31.6) why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 20.14.15 transitivePeerDependencies: - less - lightningcss @@ -7959,7 +8013,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(esbuild@0.23.0)(webpack@5.93.0) + terser-webpack-plugin: 5.3.10(esbuild@0.23.0)(webpack@5.93.0(esbuild@0.23.0)) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: