Skip to content

Commit

Permalink
chore: clean up after performance query debugging (#18)
Browse files Browse the repository at this point in the history
* chore: clean up after performance query debugging

* fix: bad merge

* fix: bad merge
  • Loading branch information
javierdelafuentesales authored Feb 23, 2024
1 parent 9f1f9e3 commit 0679e0e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -162,7 +162,7 @@
"typeorm-aurora-data-api-driver": "^2.0.0"
},
"peerDependenciesMeta": {
"@streamyard/spanner": {
"@google-cloud/spanner": {
"optional": true
},
"@sap/hana-client": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/InitCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion src/driver/spanner/SpannerConnectionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/driver/spanner/SpannerDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ export class SpannerDriver implements Driver {
console.error(e)
throw new DriverPackageNotInstalledError(
"Spanner",
"@streamyard/spanner",
"@google-cloud/spanner",
)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/platform/PlatformTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class PlatformTools {
* spanner
*/
case "spanner":
return require("@streamyard/spanner")
return require("@google-cloud/spanner")

/**
* mongodb
Expand Down

0 comments on commit 0679e0e

Please sign in to comment.