From 3c4eb457ade5fbd58eba3131a70ca321f55b559d Mon Sep 17 00:00:00 2001 From: Ariel Weinberger Date: Sun, 31 Dec 2023 04:42:47 -0800 Subject: [PATCH] update package json and knexfile --- clickhouse/knexfile.ts | 5 +++-- clickhouse/package-lock.json | 8 ++++---- clickhouse/package.json | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 5 files changed, 16 insertions(+), 15 deletions(-) diff --git a/clickhouse/knexfile.ts b/clickhouse/knexfile.ts index 8f27bb9f..9daf442c 100644 --- a/clickhouse/knexfile.ts +++ b/clickhouse/knexfile.ts @@ -8,11 +8,12 @@ const { CLICKHOUSE_PASSWORD = "default", } = process.env; +const str = `https://${CLICKHOUSE_USER}:${CLICKHOUSE_PASSWORD}@${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/default` + const config: { [key: string]: Knex.Config } = { default: { client: clickhouse as any, - connection: () => - `clickhouse://${CLICKHOUSE_USER}:${CLICKHOUSE_PASSWORD}@${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/default` as any, + connection: () => str as any, migrations: { disableTransactions: true, disableMigrationsListValidation: true, diff --git a/clickhouse/package-lock.json b/clickhouse/package-lock.json index b968d2e8..91a777e8 100644 --- a/clickhouse/package-lock.json +++ b/clickhouse/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@pezzo/knex-clickhouse-dialect": "^1.2.0" + "@pezzo/knex-clickhouse-dialect": "^1.3.0" }, "devDependencies": { "ts-node": "^10.9.2" @@ -53,9 +53,9 @@ } }, "node_modules/@pezzo/knex-clickhouse-dialect": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@pezzo/knex-clickhouse-dialect/-/knex-clickhouse-dialect-1.2.0.tgz", - "integrity": "sha512-UrQGCidFMevZ+ZAzRD/aKthMK9SP/KQOMGPNVpVXJXWCZthj7GkTjRrpjqIpZ189e3nft/B7mu+aSStymw0BQA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@pezzo/knex-clickhouse-dialect/-/knex-clickhouse-dialect-1.3.0.tgz", + "integrity": "sha512-iZlRl62do4lfSjHUfCTclZm/a3ZEnWFrm2P34yiOXMgqDX1m2VI/DAyLNuBmuvo+WIluFaW1O7SXMhlMMcnuHQ==", "dependencies": { "clickhouse": "^2.6.0", "knex": "^2.5.1", diff --git a/clickhouse/package.json b/clickhouse/package.json index 75f1fc10..a2c92c64 100644 --- a/clickhouse/package.json +++ b/clickhouse/package.json @@ -12,6 +12,6 @@ "ts-node": "^10.9.2" }, "dependencies": { - "@pezzo/knex-clickhouse-dialect": "^1.2.0" + "@pezzo/knex-clickhouse-dialect": "^1.3.0" } } diff --git a/package-lock.json b/package-lock.json index 87eb70a4..858c2119 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@nestjs/swagger": "^7.1.12", "@nx/nest": "16.6.0", "@nx/next": "16.6.0", - "@pezzo/knex-clickhouse-dialect": "^1.2.0", + "@pezzo/knex-clickhouse-dialect": "^1.3.0", "@pezzo/llm-toolkit": "^0.5.0", "@prisma/client": "^5.1.1", "@radix-ui/react-accordion": "^1.1.2", @@ -11291,9 +11291,9 @@ } }, "node_modules/@pezzo/knex-clickhouse-dialect": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@pezzo/knex-clickhouse-dialect/-/knex-clickhouse-dialect-1.2.0.tgz", - "integrity": "sha512-UrQGCidFMevZ+ZAzRD/aKthMK9SP/KQOMGPNVpVXJXWCZthj7GkTjRrpjqIpZ189e3nft/B7mu+aSStymw0BQA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@pezzo/knex-clickhouse-dialect/-/knex-clickhouse-dialect-1.3.0.tgz", + "integrity": "sha512-iZlRl62do4lfSjHUfCTclZm/a3ZEnWFrm2P34yiOXMgqDX1m2VI/DAyLNuBmuvo+WIluFaW1O7SXMhlMMcnuHQ==", "dependencies": { "clickhouse": "^2.6.0", "knex": "^2.5.1", @@ -58031,9 +58031,9 @@ } }, "@pezzo/knex-clickhouse-dialect": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@pezzo/knex-clickhouse-dialect/-/knex-clickhouse-dialect-1.2.0.tgz", - "integrity": "sha512-UrQGCidFMevZ+ZAzRD/aKthMK9SP/KQOMGPNVpVXJXWCZthj7GkTjRrpjqIpZ189e3nft/B7mu+aSStymw0BQA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@pezzo/knex-clickhouse-dialect/-/knex-clickhouse-dialect-1.3.0.tgz", + "integrity": "sha512-iZlRl62do4lfSjHUfCTclZm/a3ZEnWFrm2P34yiOXMgqDX1m2VI/DAyLNuBmuvo+WIluFaW1O7SXMhlMMcnuHQ==", "requires": { "clickhouse": "^2.6.0", "knex": "^2.5.1", diff --git a/package.json b/package.json index dcc150ae..dc0c14b8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@nestjs/swagger": "^7.1.12", "@nx/nest": "16.6.0", "@nx/next": "16.6.0", - "@pezzo/knex-clickhouse-dialect": "^1.2.0", + "@pezzo/knex-clickhouse-dialect": "^1.3.0", "@pezzo/llm-toolkit": "^0.5.0", "@prisma/client": "^5.1.1", "@radix-ui/react-accordion": "^1.1.2",