@nuxt-ignis/db 0.0.1 → 0.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/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@nuxt-ignis/db",
3
3
  "configKey": "ignisDB",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
- "unbuild": "unknown"
7
+ "unbuild": "3.6.1"
8
8
  }
9
9
  }
package/dist/module.mjs CHANGED
@@ -21,15 +21,23 @@ const module$1 = defineNuxtModule({
21
21
  if (dbPreset && !["neon", "supabase"].includes(dbPreset)) {
22
22
  process.env.NUXT_PUBLIC_IGNIS_PRESET_DB = dbPreset = "off";
23
23
  }
24
+ console.log("should push neon?");
25
+ console.log(options.ignisPresetDB === "neon");
26
+ console.log(options.ignisNeon === true);
24
27
  if (options.ignisPresetDB === "neon" || options.ignisNeon === true) {
25
28
  nuxt.options.modules.push("nuxt-neon");
29
+ console.log("pushed neon");
26
30
  }
31
+ console.log("should push supabase?");
32
+ console.log(options.ignisPresetDB === "supabase");
33
+ console.log(options.ignisSupabase === true);
27
34
  if (options.ignisPresetDB === "supabase" || options.ignisSupabase === true) {
28
35
  nuxt.options.modules.push("@nuxtjs/supabase");
29
36
  nuxt.options.runtimeConfig.public.supabase = {
30
37
  redirect: false
31
38
  // https://github.com/supabase/supabase/issues/16551#issuecomment-1685300935
32
39
  };
40
+ console.log("pushed supabase");
33
41
  }
34
42
  console.log(nuxt.options.modules);
35
43
  console.log(nuxt.options.runtimeConfig.public);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt-ignis/db",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Nuxt Ignis module - DB features",
5
5
  "publishConfig": {
6
6
  "access": "public"