nuxt-ignis 0.1.0 → 0.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ ## 0.1.2 (2024-12-05)
4
+ - fix: update package.json according to Nuxt docs
5
+
6
+ ## 0.1.1 (2024-12-05)
7
+ - build: bump nuxt-neon to `0.2.0`
8
+ - fix: features page listing
9
+ - docs: add CHANGELOG.md
10
+
11
+ ## 0.1.0 (2024-12-02)
12
+ - initial release [v0.1.0](https://github.com/AloisSeckar/nuxt-ignis/releases/tag/v0.1.0)
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "nuxt-ignis",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Enhanced and customizable Nuxt application starter pack",
5
5
  "repository": "github:AloisSeckar/nuxt-ignis",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
+ "main": "./nuxt.config.ts",
8
9
  "scripts": {
9
10
  "analyze": "nuxt analyze",
10
11
  "eslint": "eslint .",
@@ -28,8 +29,7 @@
28
29
  "@vueuse/nuxt": "12.0.0",
29
30
  "consola": "3.2.3",
30
31
  "defu": "6.1.4",
31
- "nuxt": "3.14.1592",
32
- "nuxt-neon": "0.1.2",
32
+ "nuxt-neon": "0.2.0",
33
33
  "nuxt-security": "2.1.5",
34
34
  "nuxt-time": "1.0.3",
35
35
  "open-props": "1.7.7",
@@ -39,5 +39,8 @@
39
39
  "vue": "latest",
40
40
  "vue-router": "latest"
41
41
  },
42
+ "devDependencies": {
43
+ "nuxt": "3.14.1592"
44
+ },
42
45
  "packageManager": "pnpm@9.14.4"
43
46
  }
package/pages/index.vue CHANGED
@@ -8,7 +8,7 @@
8
8
  - an example usage of auto-imported Nuxt component declared in `/components` directory
9
9
  - the text is (usually) being loaded localized via nuxtjs/i18n module
10
10
  - features are being displayed conditionally according to current setting
11
-
11
+
12
12
  NuxtLink
13
13
  - special component for improved handling for HTML links (<a> tags)
14
14
  -->
@@ -22,11 +22,11 @@
22
22
  <AppFeature :text="useT('features.pinia')" />
23
23
  <AppFeature :text="useT('features.vueuse')" />
24
24
  <AppFeature :text="useT('features.consola')" />
25
- <AppFeature v-if="ui === 'nuxt-ui'" :text="useT('features.ui')" />
26
- <AppFeature v-if="ui !== 'off'" :text="useT('features.tailwind')" />
27
- <AppFeature v-if="ui === 'nuxt-ui'" :text="useT('features.icon')" />
28
- <AppFeature v-if="db === 'supabase'" :text="useT('features.supabase')" />
29
- <AppFeature v-if="db === 'neon'" :text="useT('features.neon')" />
25
+ <AppFeature v-if="nuxtui" :text="useT('features.ui')" />
26
+ <AppFeature v-if="tailwind" :text="useT('features.tailwind')" />
27
+ <AppFeature v-if="nuxtui" :text="useT('features.icon')" />
28
+ <AppFeature v-if="neon" :text="useT('features.neon')" />
29
+ <AppFeature v-if="supabase" :text="useT('features.supabase')" />
30
30
  <AppFeature v-if="i18n" :text="useT('features.i18n')" />
31
31
  <AppFeature v-if="formkit" :text="useT('features.formkit')" />
32
32
  <AppFeature v-if="content" :text="useT('features.content')" />
@@ -42,8 +42,12 @@
42
42
 
43
43
  <script setup lang="ts">
44
44
  const setup = useRuntimeConfig().public.ignis
45
- const ui = setup.ui
46
- const db = setup.db
45
+ const ui = setup.preset.ui
46
+ const db = setup.preset.db
47
+ const nuxtui = ui === 'nuxt-ui' || setup.ui
48
+ const tailwind = ui !== 'off' || setup.ui || setup.tailwind
49
+ const neon = db === 'neon' || setup.neon
50
+ const supabase = db === 'supabase' || setup.supabase
47
51
  const i18n = setup.i18n
48
52
  const formkit = setup.formkit
49
53
  const content = setup.content