@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
|
@@ -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);
|