From eba4aebd14be0912db0805f11be23818ec0138b7 Mon Sep 17 00:00:00 2001 From: Matt Goodson Date: Mon, 31 May 2021 14:59:13 +1200 Subject: [PATCH] fix(client): fixes absolute imports for types --- package-lock.json | 6 +++--- package.json | 4 ++-- src/generate/index.ts | 2 +- src/query-client/query-builder/client.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 98c770b..e52b83e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6984,9 +6984,9 @@ "dev": true }, "relational-schema": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/relational-schema/-/relational-schema-0.4.2.tgz", - "integrity": "sha512-GCLtbAES/FBrAFMePkZUoIe9zhbVPIz2UX4AvTddR6sE610CGqcUZvOHDh8e6XBfEMQcFAZSKww7C4kiOdszRw==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/relational-schema/-/relational-schema-0.4.3.tgz", + "integrity": "sha512-ogI5ZNTrWw6wJcLD645nP3MOWh6fE5bQW9ZmyA7e5BgVTjXCqOq1pdDtqq9grYsEAQ1m3pbYFtVALTdQ7HVQXQ==", "dev": true, "requires": { "chalk": "^4.1.1", diff --git a/package.json b/package.json index b997a60..ff008e9 100755 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "knex": "^0.95.4", "pg": "^8.4.1", "promise-mysql": "^4.1.3", - "relational-schema": "^0.4.2", + "relational-schema": "^0.4.3", "ts-jest": "^24.2.0", "ts-node": "^9.1.1", "ts-node-dev": "^1.1.1", @@ -89,6 +89,6 @@ "knex": "^0.95.4", "pg": "^8.4.1", "promise-mysql": "^4.1.3", - "relational-schema": "^0.4.2" + "relational-schema": "^0.4.3" } } diff --git a/src/generate/index.ts b/src/generate/index.ts index c8330d7..0d19d9e 100644 --- a/src/generate/index.ts +++ b/src/generate/index.ts @@ -1,5 +1,5 @@ import { join } from 'path'; -import { LogLevel } from 'src/types'; +import { LogLevel } from '../types'; import { buildClient, buildEntryPoint, buildTableClients } from './client-builder'; import { logger } from './logger'; import { writeFormattedFile } from './printer'; diff --git a/src/query-client/query-builder/client.ts b/src/query-client/query-builder/client.ts index 8532d73..0416106 100644 --- a/src/query-client/query-builder/client.ts +++ b/src/query-client/query-builder/client.ts @@ -1,5 +1,5 @@ import { Knex } from 'knex'; -import { ClientEngine, LogLevel } from 'src/types'; +import { ClientEngine, LogLevel } from '../../types'; import { Connection, GybsonConfig, Logger } from '..'; import { buildLogger, logger } from '../lib/logging';