@nextnode-solutions/nn 1.1.2 → 1.1.4

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/dist/index.js +10 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20071,12 +20071,10 @@ function generateLocalSupabaseServices(supabaseConfig, appName, ports) {
20071
20071
  lines.push(" POSTGRES_USER: ${POSTGRES_USER:-supabase_admin}");
20072
20072
  lines.push(" volumes:");
20073
20073
  lines.push(" - supabase-db-data:/var/lib/postgresql/data");
20074
- lines.push(" - ./.nn/supabase/roles.sql:/etc/postgresql.schema.sql:ro");
20074
+ lines.push(" - ./supabase/roles.sql:/etc/postgresql.schema.sql:ro");
20075
+ lines.push(" - ./supabase/init:/docker-entrypoint-initdb.d/migrations");
20075
20076
  lines.push(
20076
- " - ./.nn/supabase/init:/docker-entrypoint-initdb.d/migrations"
20077
- );
20078
- lines.push(
20079
- " - ./.nn/supabase/init-db.sh:/docker-entrypoint-initdb.d/zz-init.sh"
20077
+ " - ./supabase/init-db.sh:/docker-entrypoint-initdb.d/zz-init.sh"
20080
20078
  );
20081
20079
  lines.push("");
20082
20080
  lines.push(" supabase-auth:");
@@ -20140,9 +20138,9 @@ function generateLocalSupabaseServices(supabaseConfig, appName, ports) {
20140
20138
  lines.push(" SUPABASE_ANON_KEY: ${SUPABASE_ANON_KEY}");
20141
20139
  lines.push(" SUPABASE_SERVICE_KEY: ${SUPABASE_SERVICE_ROLE_KEY}");
20142
20140
  lines.push(" volumes:");
20143
- lines.push(" - ./.nn/supabase/kong.yml:/var/lib/kong/kong.yml.tpl:ro");
20141
+ lines.push(" - ./supabase/kong.yml:/var/lib/kong/kong.yml.tpl:ro");
20144
20142
  lines.push(
20145
- " - ./.nn/supabase/kong-entrypoint.sh:/usr/local/bin/kong-entrypoint.sh:ro"
20143
+ " - ./supabase/kong-entrypoint.sh:/usr/local/bin/kong-entrypoint.sh:ro"
20146
20144
  );
20147
20145
  lines.push("");
20148
20146
  lines.push(" supabase-meta:");
@@ -20265,7 +20263,11 @@ function removeIfDirectory(filePath) {
20265
20263
  if (statSync3(filePath).isDirectory()) {
20266
20264
  rmSync(filePath, { recursive: true });
20267
20265
  }
20268
- } catch {
20266
+ } catch (err) {
20267
+ const code = err instanceof Error && "code" in err ? err.code : void 0;
20268
+ if (code !== "ENOENT") {
20269
+ consola.warn(`Failed to clean up ${filePath}: ${err}`);
20270
+ }
20269
20271
  }
20270
20272
  }
20271
20273
  var init_compose = __esm({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextnode-solutions/nn",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "files": [
5
5
  "dist"
6
6
  ],