create-db 1.0.10-pr62-posthog-and-minor-fixes-18783851498.0 → 1.0.10-pr62-posthog-and-minor-fixes-18784513395.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -752,4 +752,7 @@ export async function main() {
752
752
  }
753
753
  }
754
754
 
755
- main();
755
+ // Only run main() if this file is being executed directly, not when imported
756
+ if (import.meta.url === `file://${process.argv[1]}`) {
757
+ main();
758
+ }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "create-db",
3
- "version": "1.0.10-pr62-posthog-and-minor-fixes-18783851498.0",
3
+ "version": "1.0.10-pr62-posthog-and-minor-fixes-18784513395.0",
4
4
  "description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.",
5
5
  "main": "index.js",
6
- "author": "",
6
+ "author": "prisma",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/prisma/create-db.git"