From 0679e0e13d06b4fd5381fcac0fdb681075ebd0a1 Mon Sep 17 00:00:00 2001 From: Javier De La Fuente Sales <123395506+javierdelafuentesales@users.noreply.github.com> Date: Fri, 23 Feb 2024 17:26:05 +0100 Subject: [PATCH] chore: clean up after performance query debugging (#18) * chore: clean up after performance query debugging * fix: bad merge * fix: bad merge --- README.md | 2 +- package-lock.json | 10 +++++----- package.json | 6 +++--- src/commands/InitCommand.ts | 2 +- src/driver/spanner/SpannerConnectionOptions.ts | 2 +- src/driver/spanner/SpannerDriver.ts | 2 +- src/platform/PlatformTools.ts | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 7de622060b..7ef29dc6d1 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ await timber.remove() - for **Google Cloud Spanner** ``` - npm install @streamyard/spanner --save + npm install @google-cloud/spanner --save ``` Provide authentication credentials to your application code diff --git a/package-lock.json b/package-lock.json index 8b506cff96..50cdc76b85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@streamyard/typeorm", - "version": "0.3.16-5-beta4", + "version": "0.3.16-6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@streamyard/typeorm", - "version": "0.3.16-5-beta4", + "version": "0.3.16-6", "license": "MIT", "dependencies": { "@sqltools/formatter": "^1.2.5", @@ -87,8 +87,8 @@ "url": "https://opencollective.com/typeorm" }, "peerDependencies": { + "@google-cloud/spanner": "^5.18.0", "@sap/hana-client": "^2.12.25", - "@streamyard/spanner": "^7.3.0-2", "better-sqlite3": "^7.1.2 || ^8.0.0", "hdb-pool": "^0.1.6", "ioredis": "^5.0.4", @@ -106,10 +106,10 @@ "typeorm-aurora-data-api-driver": "^2.0.0" }, "peerDependenciesMeta": { - "@sap/hana-client": { + "@google-cloud/spanner": { "optional": true }, - "@streamyard/spanner": { + "@sap/hana-client": { "optional": true }, "better-sqlite3": { diff --git a/package.json b/package.json index 6eec07e06e..a5bb9f7f79 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@streamyard/typeorm", "private": true, - "version": "0.3.16-5-beta4", + "version": "0.3.16-6", "description": "Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB, Spanner databases.", "license": "MIT", "readmeFilename": "README.md", @@ -143,7 +143,7 @@ "typescript": "^4.9.5" }, "peerDependencies": { - "@streamyard/spanner": "^7.3.0-2", + "@google-cloud/spanner": "^5.18.0", "@sap/hana-client": "^2.12.25", "better-sqlite3": "^7.1.2 || ^8.0.0", "hdb-pool": "^0.1.6", @@ -162,7 +162,7 @@ "typeorm-aurora-data-api-driver": "^2.0.0" }, "peerDependenciesMeta": { - "@streamyard/spanner": { + "@google-cloud/spanner": { "optional": true }, "@sap/hana-client": { diff --git a/src/commands/InitCommand.ts b/src/commands/InitCommand.ts index 1a5767a5a1..8a14d2738f 100644 --- a/src/commands/InitCommand.ts +++ b/src/commands/InitCommand.ts @@ -729,7 +729,7 @@ Steps to run this project: packageJson.dependencies["mongodb"] = "^5.2.0" break case "spanner": - packageJson.dependencies["@streamyard/spanner"] = "^7.3.0-2" + packageJson.dependencies["@google-cloud/spanner"] = "^5.18.0" break } diff --git a/src/driver/spanner/SpannerConnectionOptions.ts b/src/driver/spanner/SpannerConnectionOptions.ts index 879e20fb87..848228139c 100644 --- a/src/driver/spanner/SpannerConnectionOptions.ts +++ b/src/driver/spanner/SpannerConnectionOptions.ts @@ -15,7 +15,7 @@ export interface SpannerConnectionOptions /** * The driver object - * This defaults to require("@streamyard/spanner"). + * This defaults to require("@google-cloud/spanner"). */ readonly driver?: any diff --git a/src/driver/spanner/SpannerDriver.ts b/src/driver/spanner/SpannerDriver.ts index 629a3cc648..005ce49bab 100644 --- a/src/driver/spanner/SpannerDriver.ts +++ b/src/driver/spanner/SpannerDriver.ts @@ -740,7 +740,7 @@ export class SpannerDriver implements Driver { console.error(e) throw new DriverPackageNotInstalledError( "Spanner", - "@streamyard/spanner", + "@google-cloud/spanner", ) } } diff --git a/src/platform/PlatformTools.ts b/src/platform/PlatformTools.ts index 3e1d931fa8..dc7d5c16c9 100644 --- a/src/platform/PlatformTools.ts +++ b/src/platform/PlatformTools.ts @@ -40,7 +40,7 @@ export class PlatformTools { * spanner */ case "spanner": - return require("@streamyard/spanner") + return require("@google-cloud/spanner") /** * mongodb