@freehour/supabase-core 1.0.1 → 1.0.2

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "displayName": "Supabase-Core",
5
5
  "description": "Core services for Supabase",
6
- "version": "1.0.1",
6
+ "version": "1.0.2",
7
7
  "type": "module",
8
8
  "repository": {
9
9
  "type": "git",
@@ -49,6 +49,9 @@ function copyRecursive(src, dest) {
49
49
  }
50
50
  }
51
51
 
52
+ if (process.env.INIT_CWD === process.cwd())
53
+ process.exit(); // Prevent running in the package root
54
+
52
55
  // Copy migrations and schemas folders
53
56
  for (const folder of ['migrations', 'schemas']) {
54
57
  const src = join(sourceDir, folder);