nuxt-ignis 0.5.0-rc.1 → 0.5.0-rc.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.
Files changed (161) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +1 -1
  3. package/.nuxt/components.d.ts +218 -230
  4. package/.nuxt/content/components.ts +108 -107
  5. package/.nuxt/dev/index.mjs +148 -111
  6. package/.nuxt/dev/index.mjs.map +1 -1
  7. package/.nuxt/dist/server/client.manifest.json +2 -2
  8. package/.nuxt/dist/server/client.manifest.mjs +2 -2
  9. package/.nuxt/eslint-typegen.d.ts +60 -6
  10. package/.nuxt/eslint.config.d.mts +3 -3
  11. package/.nuxt/eslint.config.mjs +11 -11
  12. package/.nuxt/imports.d.ts +56 -56
  13. package/.nuxt/manifest/latest.json +1 -1
  14. package/.nuxt/manifest/meta/dev.json +1 -1
  15. package/.nuxt/mdc-image-component.mjs +1 -1
  16. package/.nuxt/module/nuxt-robots.d.ts +12 -12
  17. package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
  18. package/.nuxt/module/nuxt-site-config.d.ts +11 -8
  19. package/.nuxt/module/nuxt-sitemap.d.ts +17 -17
  20. package/.nuxt/nitro.json +5 -5
  21. package/.nuxt/nuxt.d.ts +11 -8
  22. package/.nuxt/nuxt.json +2 -2
  23. package/.nuxt/nuxt.node.d.ts +9 -7
  24. package/.nuxt/tsconfig.app.json +186 -162
  25. package/.nuxt/tsconfig.json +188 -161
  26. package/.nuxt/tsconfig.node.json +101 -84
  27. package/.nuxt/tsconfig.server.json +124 -120
  28. package/.nuxt/tsconfig.shared.json +60 -55
  29. package/.nuxt/types/build.d.ts +1 -1
  30. package/.nuxt/types/components.d.ts +288 -300
  31. package/.nuxt/types/i18n-plugin.d.ts +2 -2
  32. package/.nuxt/types/imports.d.ts +677 -673
  33. package/.nuxt/types/modules.d.ts +34 -14
  34. package/.nuxt/types/nitro-imports.d.ts +249 -249
  35. package/.nuxt/types/nitro-nuxt.d.ts +3 -1
  36. package/.nuxt/types/nitro-routes.d.ts +15 -15
  37. package/.nuxt/types/plugins.d.ts +36 -36
  38. package/.nuxt/ui-image-component.ts +1 -1
  39. package/.output/nitro.json +2 -2
  40. package/.output/public/_fonts/31PZhXd_YTCmsoiPQZc-xVtAWAkLogRFRj5mWplmKFE-6WsTw05QKugcwLySGc_b9CIheG8j8LRyo47qPL430Mk.woff2 +0 -0
  41. package/.output/public/_fonts/9FWLUGCSCYLRIRMtCzLrt4Go7DMFXOeN_pyCOJD_44Y-Yh2wNaqrq_e759vVlc3tX81lMwRu9ktkQJX_Svgs-VI.woff2 +0 -0
  42. package/.output/public/_fonts/BQnDL9FFy0Q_jvURlmv87luvmXLSMbSuXsfZv_R2Rkk-y5MVrLtP4J_1al8rz8R-MDaUOMAHckAWCwDrKhw25fY.woff2 +0 -0
  43. package/.output/public/_fonts/JSrPAbQHsQEdUrIE5Ts6fIQ2ymsa4i7HhiCpui6ulCc-_AoyGWssOn06OMh3ZY_GddBBPRny4Igxin4fT_1K6F4.woff2 +0 -0
  44. package/.output/public/_fonts/Jtqhy44WKYEjGWTSusP5YJfJv7Wf74QqgkBOI9u_77s-Rl_Bht5SvmaotE20bkavBEAJEEGEa0hcz3d_8yOeXmw.woff +0 -0
  45. package/.output/public/_fonts/M-60tFLmAJxdPjHsK-2ILWom5zPbu37lb3Qex2waL14-A9y4QcXALPi_RvQsmRsSFUxrT3_J213W4zPFIXetlbw.woff2 +0 -0
  46. package/.output/public/_fonts/T-ozk-QJ_Ck37B2RHPl2i-s_gAGGo7suFgagWoJ8bO4-maDXQ_nEXKAaLHm4Joud3DJR9EVzS7QXWMWK8YOTIcs.woff2 +0 -0
  47. package/.output/public/_fonts/TTYbISAfwy-y4uVGS9AH32sK7b2xJsoCESo64ryf8LU-y87nRMqBGo42rUOW9tWZa06o4oTa0USJrAMMoKDamgs.woff2 +0 -0
  48. package/.output/public/_fonts/Y_5DOsLit49q2i2tbcNxnyUen9__GPCX8mwAi03q1aA-pBCjVKDT5tBT3BJckh9uzNkfUWeUIBPz9Y8T55vcj8E.woff2 +0 -0
  49. package/.output/public/_fonts/ZHaz3DhCHNWhsElqYfuM71rfBBDgjuU2sd34vaYJwQg-71NZaZSGjxzAGjCMnCc2zS5rS_EGA0xHKPGCggWuXik.woff +0 -0
  50. package/.output/public/_fonts/h9PwCjip_BNPVO50hT4v29USWFv6H3ZlYx_IestfqgY-sYfLVuZXl9E1aYbn1S0pAr4zfdQ_WT7iBZhrgQY6N-4.woff2 +0 -0
  51. package/.output/public/_fonts/l00UCz_-QvI_NO8AGcu7ooAcrFDlxYUdxCSCh6gBwd4-vPjTZ3ztgw27A2TnHeCycxPvUtXWEVpG33_97ra6su8.woff2 +0 -0
  52. package/.output/public/_fonts/nuenOq7ZFSZ65QudJO7uQ0sOjDqow2WjfXrQh4S9gEc-uF81rxcswER5srfhzyLfPoGlKNAIt2C_BvkXFOc19rw.woff2 +0 -0
  53. package/.output/public/_fonts/pWMvGwciZ-EfQsfR2ueelhC7Jnt5K-8Px8PjPK0mDII-eT9iD0iZ9WWhTJs6V5GxXr0iaUwx_WxgGGriOiGb81o.woff2 +0 -0
  54. package/.output/public/_fonts/y3mP_zJcojQwJn30TpF_XxDzgeM6Nbk7MaRg1Ne0YcI-lFx13nqMCMgk_S70gRmwEHXlE5BLp1B4W82RpFihpMs.woff2 +0 -0
  55. package/.output/public/_fonts/zr3WxpLd5PmlBr7e4PWGkhZv6XTg70Pi4sCbC-CEV0Q-v2yL98XOiD3FkbiYlYYeAeTSVSkgAckeOp55Q5kHJmU.woff2 +0 -0
  56. package/.output/public/_ignis-config.json +1789 -1
  57. package/.output/public/_nuxt/Bhpb4lc3.js +1 -0
  58. package/.output/public/_nuxt/{DXbccJ2T.js → BqsN2CZp.js} +1 -1
  59. package/.output/public/_nuxt/C9ePPGPX.js +94 -0
  60. package/.output/public/_nuxt/CQozUI2A.js +1 -0
  61. package/.output/public/_nuxt/DBJqMhGy.js +35 -0
  62. package/.output/public/_nuxt/{BiUZ9mZX.js → DvwlldUy.js} +1 -1
  63. package/.output/public/_nuxt/RbPLLy5S.js +1 -0
  64. package/.output/public/_nuxt/{DXBpKbsa.js → aetvq4w9.js} +40 -32
  65. package/.output/public/_nuxt/builds/latest.json +1 -1
  66. package/.output/public/_nuxt/builds/meta/cbc9377a-971e-4db1-b4b1-01807b82ee58.json +1 -0
  67. package/.output/public/_nuxt/entry.whtwWr_z.css +1 -0
  68. package/.output/public/_nuxt/error-404.Cq535Uij.css +1 -0
  69. package/.output/public/_nuxt/error-500.BHm_N15n.css +1 -0
  70. package/.output/public/_nuxt/{dJ-vStNn.js → jpnxxCHq.js} +1 -1
  71. package/.output/public/nuxt-spec.png +0 -0
  72. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  73. package/.output/server/chunks/_/nitro.mjs +273 -154
  74. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  75. package/.output/server/chunks/build/client.manifest.mjs +64 -64
  76. package/.output/server/chunks/routes/renderer.mjs +3 -3
  77. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  78. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +131 -96
  79. package/.output/server/node_modules/@vue/compiler-core/package.json +4 -4
  80. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +4 -1
  81. package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
  82. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +10 -1
  83. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  84. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +4 -3
  85. package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
  86. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +25 -27
  87. package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
  88. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +40 -14
  89. package/.output/server/node_modules/@vue/runtime-dom/package.json +4 -4
  90. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
  91. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
  92. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +1 -1
  93. package/.output/server/node_modules/@vue/shared/package.json +1 -1
  94. package/.output/server/node_modules/debug/package.json +1 -1
  95. package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
  96. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
  97. package/.output/server/node_modules/vue/package.json +6 -6
  98. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +158 -53
  99. package/.output/server/node_modules/vue-bundle-renderer/package.json +16 -11
  100. package/.output/server/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +1218 -0
  101. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1459 -3688
  102. package/.output/server/node_modules/vue-router/package.json +43 -38
  103. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  104. package/.output/server/package.json +13 -13
  105. package/README.md +4 -0
  106. package/app/app.vue +2 -2
  107. package/app/assets/css/ignis-open-props.css +4 -5
  108. package/app/components/CurrentTime.vue +8 -1
  109. package/app/components/ignis/{IgnisInfo.vue → IgnisContent.vue} +3 -3
  110. package/app/components/ignis/{IgnisConfig.vue → IgnisContentConfig.vue} +5 -1
  111. package/app/components/ignis/IgnisContentFeatures.vue +102 -0
  112. package/app/components/ignis/{IgnisWelcome.vue → IgnisContentWelcome.vue} +2 -2
  113. package/app/components/ignis/IgnisFooter.vue +11 -3
  114. package/app/pages/_ignis-config.vue +1 -1
  115. package/app/pages/_ignis-info.vue +1 -1
  116. package/app/pages/_ignis-welcome.vue +1 -1
  117. package/app/pages/index.vue +2 -2
  118. package/bin/cli.js +59 -0
  119. package/bin/set-app-vue.js +18 -0
  120. package/bin/set-css.js +3 -8
  121. package/bin/set-eslint.js +3 -8
  122. package/bin/setup.js +208 -45
  123. package/features.ts +17 -8
  124. package/nuxt.config.ts +9 -4
  125. package/package.json +15 -17
  126. package/public/_ignis-config.json +1789 -1
  127. package/test/config/css-multiple.txt +30 -24
  128. package/test/config/css-nuxt-ui.txt +34 -28
  129. package/test/config/css-open-props.txt +1812 -1805
  130. package/test/config/css-single.txt +28 -22
  131. package/test/config/css-tailwind.txt +55 -48
  132. package/test/config/custom-lang.txt +27 -21
  133. package/test/config/db-neon.txt +28 -22
  134. package/test/config/db-supabase.txt +31 -25
  135. package/test/config/default.txt +27 -21
  136. package/test/config/equipment-1-composable.txt +33 -27
  137. package/test/config/equipment-2-plugins.txt +34 -28
  138. package/test/config/equipment-all.txt +38 -32
  139. package/test/config/forms-formkit.txt +32 -26
  140. package/test/config/forms-vueform.txt +28 -22
  141. package/test/config/i18n.txt +36 -30
  142. package/test/config/no-default-css.txt +24 -18
  143. package/test/config/open-props.txt +1811 -1804
  144. package/test/config/seo-ssr-false.txt +35 -29
  145. package/test/config/ui-nuxt-ui.txt +33 -27
  146. package/test/config/ui-tailwind.txt +54 -47
  147. package/test/features.test.ts +33 -33
  148. package/.nuxt/i18n.options.mjs +0 -165
  149. package/.nuxt/nuxt-i18n-logger.mjs +0 -1
  150. package/.output/public/_nuxt/BA2WKEAc.js +0 -1
  151. package/.output/public/_nuxt/BE_a_Zhd.js +0 -1
  152. package/.output/public/_nuxt/Bnm5Nral.js +0 -1
  153. package/.output/public/_nuxt/BrY1radz.js +0 -35
  154. package/.output/public/_nuxt/CmzFGS1a.js +0 -90
  155. package/.output/public/_nuxt/builds/meta/9a624d26-216d-4e69-b3a7-54b68357876f.json +0 -1
  156. package/.output/public/_nuxt/entry.jMyW6Sg0.css +0 -1
  157. package/.output/public/_nuxt/error-404.BGUbR0Uk.css +0 -1
  158. package/.output/public/_nuxt/error-500.CQfkKpQ2.css +0 -1
  159. package/.output/server/node_modules/vue-router/dist/vue-router.node.mjs +0 -2
  160. package/app/components/ignis/IgnisFeatureList.vue +0 -111
  161. /package/app/components/ignis/{IgnisFeature.vue → IgnisContentFeaturesDetail.vue} +0 -0
@@ -1,35 +1,41 @@
1
1
  {
2
- "app": {
3
- "head": {
4
- "htmlAttrs": {
5
- "lang": "en",
2
+ "nuxtConfig": {
3
+ "app": {
4
+ "head": {
5
+ "htmlAttrs": {
6
+ "lang": "en",
7
+ },
8
+ "title": "Nuxt Ignis App",
6
9
  },
7
- "title": "Nuxt Ignis App",
8
10
  },
9
- },
10
- "css": [
11
- "C:\Git\nuxt-ignis\core\app\assets\css\ignis.css",
12
- ],
13
- "modules": [
14
- "@nuxt/eslint",
15
- "@nuxt/fonts",
16
- "@nuxt/image",
17
- "@nuxt/scripts",
18
- "nuxt-security",
19
- "@vueuse/nuxt",
20
- "@pinia/nuxt",
21
- "@nuxtjs/seo",
22
- ],
23
- "ogImage": {
24
- "enabled": false,
25
- },
26
- "schemaOrg": {
27
- "enabled": false,
28
- },
29
- "ssr": false,
30
- "vue": {
31
- "compilerOptions": {
32
- "isCustomElement": [Function],
11
+ "css": [
12
+ "C:\Git\nuxt-ignis\core\app\assets\css\ignis.css",
13
+ ],
14
+ "modules": [
15
+ "@nuxt/eslint",
16
+ "@nuxt/fonts",
17
+ "@nuxt/image",
18
+ "@nuxt/scripts",
19
+ "nuxt-security",
20
+ "@vueuse/nuxt",
21
+ "@pinia/nuxt",
22
+ "@nuxtjs/seo",
23
+ ],
24
+ "ogImage": {
25
+ "enabled": false,
26
+ },
27
+ "schemaOrg": {
28
+ "enabled": false,
29
+ },
30
+ "ssr": false,
31
+ "vue": {
32
+ "compilerOptions": {
33
+ "isCustomElement": [Function],
34
+ },
33
35
  },
34
36
  },
37
+ "overview": "App title: Nuxt Ignis App
38
+ Modules: @nuxt/eslint, @nuxt/fonts, @nuxt/image, @nuxt/scripts, nuxt-security, @vueuse/nuxt, @pinia/nuxt, @nuxtjs/seo
39
+ Nuxt: log-level=info[default], ssr=false, ignis CSS
40
+ ",
35
41
  }
@@ -1,33 +1,39 @@
1
1
  {
2
- "app": {
3
- "head": {
4
- "htmlAttrs": {
5
- "lang": "en",
2
+ "nuxtConfig": {
3
+ "app": {
4
+ "head": {
5
+ "htmlAttrs": {
6
+ "lang": "en",
7
+ },
8
+ "title": "Nuxt Ignis App",
6
9
  },
7
- "title": "Nuxt Ignis App",
8
10
  },
9
- },
10
- "css": [
11
- "C:\Git\nuxt-ignis\core\app\assets\css\ignis.css",
12
- "C:\Git\nuxt-ignis\core\app\assets\css\ignis-nuxt-ui.css",
13
- ],
14
- "modules": [
15
- "@nuxt/eslint",
16
- "@nuxt/fonts",
17
- "@nuxt/image",
18
- "@nuxt/scripts",
19
- "nuxt-security",
20
- "@vueuse/nuxt",
21
- "@pinia/nuxt",
22
- "@nuxt/ui",
23
- ],
24
- "vite": {
25
- "plugins": [
26
- {
27
- "apply": "build",
28
- "configResolved": [Function],
29
- "name": "vite-plugin-ignore-sourcemap-warnings",
30
- },
11
+ "css": [
12
+ "C:\Git\nuxt-ignis\core\app\assets\css\ignis.css",
13
+ "C:\Git\nuxt-ignis\core\app\assets\css\ignis-nuxt-ui.css",
31
14
  ],
15
+ "modules": [
16
+ "@nuxt/eslint",
17
+ "@nuxt/fonts",
18
+ "@nuxt/image",
19
+ "@nuxt/scripts",
20
+ "nuxt-security",
21
+ "@vueuse/nuxt",
22
+ "@pinia/nuxt",
23
+ "@nuxt/ui",
24
+ ],
25
+ "vite": {
26
+ "plugins": [
27
+ {
28
+ "apply": "build",
29
+ "configResolved": [Function],
30
+ "name": "vite-plugin-ignore-sourcemap-warnings",
31
+ },
32
+ ],
33
+ },
32
34
  },
35
+ "overview": "App title: Nuxt Ignis App
36
+ Modules: @nuxt/eslint, @nuxt/fonts, @nuxt/image, @nuxt/scripts, nuxt-security, @vueuse/nuxt, @pinia/nuxt, @nuxt/ui
37
+ Nuxt: log-level=info[default], ignis CSS
38
+ ",
33
39
  }
@@ -1,57 +1,64 @@
1
1
  {
2
- "app": {
3
- "head": {
4
- "htmlAttrs": {
5
- "lang": "en",
2
+ "nuxtConfig": {
3
+ "app": {
4
+ "head": {
5
+ "htmlAttrs": {
6
+ "lang": "en",
7
+ },
8
+ "title": "Nuxt Ignis App",
6
9
  },
7
- "title": "Nuxt Ignis App",
8
10
  },
9
- },
10
- "css": [
11
- "C:\Git\nuxt-ignis\core\app\assets\css\ignis.css",
12
- "C:\Git\nuxt-ignis\core\app\assets\css\ignis-tailwind.css",
13
- ],
14
- "modules": [
15
- "@nuxt/eslint",
16
- "@nuxt/fonts",
17
- "@nuxt/image",
18
- "@nuxt/scripts",
19
- "nuxt-security",
20
- "@vueuse/nuxt",
21
- "@pinia/nuxt",
22
- ],
23
- "vite": {
24
- "plugins": [
25
- {
26
- "apply": "build",
27
- "configResolved": [Function],
28
- "name": "vite-plugin-ignore-sourcemap-warnings",
29
- },
30
- [
31
- {
32
- "configResolved": [Function],
33
- "configureServer": [Function],
34
- "enforce": "pre",
35
- "name": "@tailwindcss/vite:scan",
36
- },
37
- {
38
- "apply": "serve",
39
- "enforce": "pre",
40
- "name": "@tailwindcss/vite:generate:serve",
41
- "transform": [Function],
42
- },
11
+ "css": [
12
+ "C:\Git\nuxt-ignis\core\app\assets\css\ignis.css",
13
+ "C:\Git\nuxt-ignis\core\app\assets\css\ignis-tailwind.css",
14
+ ],
15
+ "modules": [
16
+ "@nuxt/eslint",
17
+ "@nuxt/fonts",
18
+ "@nuxt/image",
19
+ "@nuxt/scripts",
20
+ "nuxt-security",
21
+ "@vueuse/nuxt",
22
+ "@pinia/nuxt",
23
+ ],
24
+ "vite": {
25
+ "plugins": [
43
26
  {
44
27
  "apply": "build",
45
- "enforce": "pre",
46
- "name": "@tailwindcss/vite:generate:build",
47
- "transform": [Function],
28
+ "configResolved": [Function],
29
+ "name": "vite-plugin-ignore-sourcemap-warnings",
48
30
  },
31
+ [
32
+ {
33
+ "configResolved": [Function],
34
+ "configureServer": [Function],
35
+ "enforce": "pre",
36
+ "name": "@tailwindcss/vite:scan",
37
+ },
38
+ {
39
+ "apply": "serve",
40
+ "enforce": "pre",
41
+ "name": "@tailwindcss/vite:generate:serve",
42
+ "transform": [Function],
43
+ },
44
+ {
45
+ "apply": "build",
46
+ "enforce": "pre",
47
+ "name": "@tailwindcss/vite:generate:build",
48
+ "transform": [Function],
49
+ },
50
+ ],
49
51
  ],
50
- ],
51
- },
52
- "vue": {
53
- "compilerOptions": {
54
- "isCustomElement": [Function],
52
+ },
53
+ "vue": {
54
+ "compilerOptions": {
55
+ "isCustomElement": [Function],
56
+ },
55
57
  },
56
58
  },
59
+ "overview": "App title: Nuxt Ignis App
60
+ Modules: @nuxt/eslint, @nuxt/fonts, @nuxt/image, @nuxt/scripts, nuxt-security, @vueuse/nuxt, @pinia/nuxt
61
+ Extras: Tailwind CSS
62
+ Nuxt: log-level=info[default], ignis CSS
63
+ ",
57
64
  }
@@ -31,7 +31,7 @@ describe('setFeatures() unit tests', () => {
31
31
 
32
32
  test('setFeatures() - default output', async () => {
33
33
  expect(setFeatures).toBeDefined()
34
- setFeatures()
34
+ setFeatures(true)
35
35
  expect(consoleSpy).toHaveBeenCalledOnce()
36
36
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/default.txt')
37
37
  })
@@ -42,25 +42,25 @@ describe('setFeatures() unit tests', () => {
42
42
 
43
43
  test('setFeatures() - UI preset - nuxt-ui', async () => {
44
44
  process.env.NUXT_PUBLIC_IGNIS_PRESET_UI = 'nuxt-ui'
45
- setFeatures()
45
+ setFeatures(true)
46
46
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/ui-nuxt-ui.txt')
47
47
  })
48
48
 
49
49
  test('setFeatures() - UI preset - tailwind', async () => {
50
50
  process.env.NUXT_PUBLIC_IGNIS_PRESET_UI = 'tailwind'
51
- setFeatures()
51
+ setFeatures(true)
52
52
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/ui-tailwind.txt')
53
53
  })
54
54
 
55
55
  test('setFeatures() - UI preset - off', async () => {
56
56
  process.env.NUXT_PUBLIC_IGNIS_PRESET_UI = 'off'
57
- setFeatures()
57
+ setFeatures(true)
58
58
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/ui-off.txt')
59
59
  })
60
60
 
61
61
  test('setFeatures() - UI preset - invalid', async () => {
62
62
  process.env.NUXT_PUBLIC_IGNIS_PRESET_UI = 'invalid'
63
- setFeatures()
63
+ setFeatures(true)
64
64
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/ui-off.txt')
65
65
  })
66
66
 
@@ -68,13 +68,13 @@ describe('setFeatures() unit tests', () => {
68
68
 
69
69
  test('setFeatures() - UI - nuxt-ui', async () => {
70
70
  process.env.NUXT_PUBLIC_IGNIS_UI = 'true'
71
- setFeatures()
71
+ setFeatures(true)
72
72
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/ui-nuxt-ui.txt')
73
73
  })
74
74
 
75
75
  test('setFeatures() - UI - tailwind', async () => {
76
76
  process.env.NUXT_PUBLIC_IGNIS_TAILWIND = 'true'
77
- setFeatures()
77
+ setFeatures(true)
78
78
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/ui-tailwind.txt')
79
79
  })
80
80
 
@@ -82,25 +82,25 @@ describe('setFeatures() unit tests', () => {
82
82
 
83
83
  test('setFeatures() - DB preset - neon', async () => {
84
84
  process.env.NUXT_PUBLIC_IGNIS_PRESET_DB = 'neon'
85
- setFeatures()
85
+ setFeatures(true)
86
86
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/db-neon.txt')
87
87
  })
88
88
 
89
89
  test('setFeatures() - DB preset - supabase', async () => {
90
90
  process.env.NUXT_PUBLIC_IGNIS_PRESET_DB = 'supabase'
91
- setFeatures()
91
+ setFeatures(true)
92
92
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/db-supabase.txt')
93
93
  })
94
94
 
95
95
  test('setFeatures() - DB preset - off', async () => {
96
96
  process.env.NUXT_PUBLIC_IGNIS_PRESET_DB = 'off'
97
- setFeatures()
97
+ setFeatures(true)
98
98
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/db-off.txt')
99
99
  })
100
100
 
101
101
  test('setFeatures() - DB preset - invalid', async () => {
102
102
  process.env.NUXT_PUBLIC_IGNIS_PRESET_DB = 'invalid'
103
- setFeatures()
103
+ setFeatures(true)
104
104
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/db-off.txt')
105
105
  })
106
106
 
@@ -108,13 +108,13 @@ describe('setFeatures() unit tests', () => {
108
108
 
109
109
  test('setFeatures() - DB - neon', async () => {
110
110
  process.env.NUXT_PUBLIC_IGNIS_NEON = 'true'
111
- setFeatures()
111
+ setFeatures(true)
112
112
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/db-neon.txt')
113
113
  })
114
114
 
115
115
  test('setFeatures() - DB - supabase', async () => {
116
116
  process.env.NUXT_PUBLIC_IGNIS_SUPABASE = 'true'
117
- setFeatures()
117
+ setFeatures(true)
118
118
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/db-supabase.txt')
119
119
  })
120
120
 
@@ -122,25 +122,25 @@ describe('setFeatures() unit tests', () => {
122
122
 
123
123
  test('setFeatures() - forms preset - vueform', async () => {
124
124
  process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS = 'vueform'
125
- setFeatures()
125
+ setFeatures(true)
126
126
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/forms-vueform.txt')
127
127
  })
128
128
 
129
129
  test('setFeatures() - forms preset - formkit', async () => {
130
130
  process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS = 'formkit'
131
- setFeatures()
131
+ setFeatures(true)
132
132
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/forms-formkit.txt')
133
133
  })
134
134
 
135
135
  test('setFeatures() - forms preset - off', async () => {
136
136
  process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS = 'off'
137
- setFeatures()
137
+ setFeatures(true)
138
138
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/forms-off.txt')
139
139
  })
140
140
 
141
141
  test('setFeatures() - forms preset - invalid', async () => {
142
142
  process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS = 'invalid'
143
- setFeatures()
143
+ setFeatures(true)
144
144
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/forms-off.txt')
145
145
  })
146
146
 
@@ -148,13 +148,13 @@ describe('setFeatures() unit tests', () => {
148
148
 
149
149
  test('setFeatures() - forms - vueform', async () => {
150
150
  process.env.NUXT_PUBLIC_IGNIS_VUEFORM = 'true'
151
- setFeatures()
151
+ setFeatures(true)
152
152
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/forms-vueform.txt')
153
153
  })
154
154
 
155
155
  test('setFeatures() - forms - formkit', async () => {
156
156
  process.env.NUXT_PUBLIC_IGNIS_FORMKIT_ENABLED = 'true'
157
- setFeatures()
157
+ setFeatures(true)
158
158
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/forms-formkit.txt')
159
159
  })
160
160
 
@@ -162,25 +162,25 @@ describe('setFeatures() unit tests', () => {
162
162
 
163
163
  test('setFeatures() - validation preset - valibot', async () => {
164
164
  process.env.NUXT_PUBLIC_IGNIS_PRESET_VALIDATION = 'valibot'
165
- setFeatures()
165
+ setFeatures(true)
166
166
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/validation-valibot.txt')
167
167
  })
168
168
 
169
169
  test('setFeatures() - validation preset - zod', async () => {
170
170
  process.env.NUXT_PUBLIC_IGNIS_PRESET_VALIDATION = 'zod'
171
- setFeatures()
171
+ setFeatures(true)
172
172
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/validation-zod.txt')
173
173
  })
174
174
 
175
175
  test('setFeatures() - validation preset - off', async () => {
176
176
  process.env.NUXT_PUBLIC_IGNIS_PRESET_VALIDATION = 'off'
177
- setFeatures()
177
+ setFeatures(true)
178
178
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/validation-off.txt')
179
179
  })
180
180
 
181
181
  test('setFeatures() - validation preset - invalid', async () => {
182
182
  process.env.NUXT_PUBLIC_IGNIS_PRESET_VALIDATION = 'invalid'
183
- setFeatures()
183
+ setFeatures(true)
184
184
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/validation-off.txt')
185
185
  })
186
186
 
@@ -188,13 +188,13 @@ describe('setFeatures() unit tests', () => {
188
188
 
189
189
  test('setFeatures() - validation - valibot', async () => {
190
190
  process.env.NUXT_PUBLIC_IGNIS_VALIBOT = 'true'
191
- setFeatures()
191
+ setFeatures(true)
192
192
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/validation-valibot.txt')
193
193
  })
194
194
 
195
195
  test('setFeatures() - validation - zod', async () => {
196
196
  process.env.NUXT_PUBLIC_IGNIS_ZOD = 'true'
197
- setFeatures()
197
+ setFeatures(true)
198
198
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/validation-zod.txt')
199
199
  })
200
200
 
@@ -207,7 +207,7 @@ describe('setFeatures() unit tests', () => {
207
207
  process.env.NUXT_PUBLIC_IGNIS_CORE_SCRIPTS = 'false'
208
208
  process.env.NUXT_PUBLIC_IGNIS_CORE_SECURITY = 'false'
209
209
  process.env.NUXT_PUBLIC_IGNIS_CORE_VUEUSE = 'false'
210
- setFeatures()
210
+ setFeatures(true)
211
211
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/disable-core.txt')
212
212
  })
213
213
 
@@ -225,7 +225,7 @@ describe('setFeatures() unit tests', () => {
225
225
  process.env.NUXT_PUBLIC_IGNIS_SEO = 'true'
226
226
  process.env.NUXT_PUBLIC_IGNIS_AUTH = 'true'
227
227
  process.env.NUXT_PUBLIC_IGNIS_WARN_DUPLICATES = 'false' // to avoid console log
228
- setFeatures()
228
+ setFeatures(true)
229
229
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/enable-all.txt')
230
230
  })
231
231
 
@@ -233,7 +233,7 @@ describe('setFeatures() unit tests', () => {
233
233
 
234
234
  test('setFeatures() - Vue Equipment', async () => {
235
235
  process.env.NUXT_PUBLIC_IGNIS_EQUIPMENT_ENABLED = 'true'
236
- setFeatures()
236
+ setFeatures(true)
237
237
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/equipment.txt')
238
238
  })
239
239
 
@@ -241,7 +241,7 @@ describe('setFeatures() unit tests', () => {
241
241
 
242
242
  test('setFeatures() - Magic Regexp', async () => {
243
243
  process.env.NUXT_PUBLIC_IGNIS_REGEXP = 'true'
244
- setFeatures()
244
+ setFeatures(true)
245
245
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/regexp.txt')
246
246
  })
247
247
 
@@ -249,7 +249,7 @@ describe('setFeatures() unit tests', () => {
249
249
 
250
250
  test('setFeatures() - Nuxt Charts', async () => {
251
251
  process.env.NUXT_PUBLIC_IGNIS_CHARTS = 'true'
252
- setFeatures()
252
+ setFeatures(true)
253
253
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/charts.txt')
254
254
  })
255
255
 
@@ -257,19 +257,19 @@ describe('setFeatures() unit tests', () => {
257
257
 
258
258
  test('setFeatures() - custom html title', async () => {
259
259
  process.env.NUXT_PUBLIC_IGNIS_HTML_TITLE = 'Custom Title'
260
- setFeatures()
260
+ setFeatures(true)
261
261
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/custom-title.txt')
262
262
  })
263
263
 
264
264
  test('setFeatures() - custom CSS', async () => {
265
265
  process.env.NUXT_PUBLIC_IGNIS_CSS = ' first.css '
266
- setFeatures()
266
+ setFeatures(true)
267
267
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/custom-css.txt')
268
268
  })
269
269
 
270
270
  test('setFeatures() - no default CSS', async () => {
271
271
  process.env.NUXT_PUBLIC_IGNIS_CORE_CSS = 'false'
272
- setFeatures()
272
+ setFeatures(true)
273
273
  await expect(getConsoleOutput()).toMatchFileSnapshot('./features/no-default-css.txt')
274
274
  })
275
275
  })
@@ -1,165 +0,0 @@
1
-
2
- // @ts-nocheck
3
-
4
-
5
- export const localeCodes = [
6
- "en"
7
- ]
8
-
9
- export const localeLoaders = {
10
- en: []
11
- }
12
-
13
- export const vueI18nConfigs = [
14
- () => import("#nuxt-i18n/b87d93de" /* webpackChunkName: "config_i18n_46config_46ts_b87d93de" */)
15
- ]
16
-
17
- export const nuxtI18nOptions = {
18
- restructureDir: "i18n",
19
- experimental: {
20
- localeDetector: "",
21
- switchLocalePathLinkSSR: false,
22
- autoImportTranslationFunctions: false,
23
- typedPages: true,
24
- typedOptionsAndMessages: false,
25
- generatedLocaleFilePathFormat: "absolute",
26
- alternateLinkCanonicalQueries: false,
27
- hmr: true
28
- },
29
- bundle: {
30
- compositionOnly: true,
31
- runtimeOnly: false,
32
- fullInstall: true,
33
- dropMessageCompiler: false,
34
- optimizeTranslationDirective: false
35
- },
36
- compilation: {
37
- strictMessage: true,
38
- escapeHtml: false
39
- },
40
- customBlocks: {
41
- defaultSFCLang: "json",
42
- globalSFCScope: false
43
- },
44
- locales: [
45
- "en"
46
- ],
47
- defaultLocale: "",
48
- defaultDirection: "ltr",
49
- routesNameSeparator: "___",
50
- trailingSlash: false,
51
- defaultLocaleRouteNameSuffix: "default",
52
- strategy: "no_prefix",
53
- lazy: false,
54
- langDir: "locales",
55
- rootRedirect: undefined,
56
- detectBrowserLanguage: {
57
- alwaysRedirect: false,
58
- cookieCrossOrigin: false,
59
- cookieDomain: null,
60
- cookieKey: "i18n_redirected",
61
- cookieSecure: false,
62
- fallbackLocale: "",
63
- redirectOn: "root",
64
- useCookie: true
65
- },
66
- differentDomains: false,
67
- baseUrl: "",
68
- customRoutes: "page",
69
- pages: {},
70
- skipSettingLocaleOnNavigate: false,
71
- types: "composition",
72
- debug: false,
73
- parallelPlugin: false,
74
- multiDomainLocales: false,
75
- i18nModules: []
76
- }
77
-
78
- export const normalizedLocales = [
79
- {
80
- language: "en",
81
- code: "en"
82
- }
83
- ]
84
-
85
- export const NUXT_I18N_MODULE_ID = "@nuxtjs/i18n"
86
- export const parallelPlugin = false
87
- export const isSSG = false
88
- export const hasPages = true
89
-
90
- export const DEFAULT_COOKIE_KEY = "i18n_redirected"
91
- export const DEFAULT_DYNAMIC_PARAMS_KEY = "nuxtI18nInternal"
92
- export const SWITCH_LOCALE_PATH_LINK_IDENTIFIER = "nuxt-i18n-slp"
93
- /** client **/
94
- if(import.meta.hot) {
95
-
96
- function deepEqual(a, b, ignoreKeys = []) {
97
- // Same reference?
98
- if (a === b) return true
99
-
100
- // Check if either is null or not an object
101
- if (a == null || b == null || typeof a !== 'object' || typeof b !== 'object') {
102
- return false
103
- }
104
-
105
- // Get top-level keys, excluding ignoreKeys
106
- const keysA = Object.keys(a).filter(k => !ignoreKeys.includes(k))
107
- const keysB = Object.keys(b).filter(k => !ignoreKeys.includes(k))
108
-
109
- // Must have the same number of keys (after ignoring)
110
- if (keysA.length !== keysB.length) {
111
- return false
112
- }
113
-
114
- // Check each property
115
- for (const key of keysA) {
116
- if (!keysB.includes(key)) {
117
- return false
118
- }
119
-
120
- const valA = a[key]
121
- const valB = b[key]
122
-
123
- // Compare functions stringified
124
- if (typeof valA === 'function' && typeof valB === 'function') {
125
- if (valA.toString() !== valB.toString()) {
126
- return false
127
- }
128
- }
129
- // If nested, do a normal recursive check (no ignoring at deeper levels)
130
- else if (typeof valA === 'object' && typeof valB === 'object') {
131
- if (!deepEqual(valA, valB)) {
132
- return false
133
- }
134
- }
135
- // Compare primitive values
136
- else if (valA !== valB) {
137
- return false
138
- }
139
- }
140
-
141
- return true
142
- }
143
-
144
-
145
-
146
- async function loadCfg(config) {
147
- const nuxt = useNuxtApp()
148
- const { default: resolver } = await config()
149
- return typeof resolver === 'function' ? await nuxt.runWithContext(() => resolver()) : resolver
150
- }
151
-
152
-
153
-
154
-
155
- import.meta.hot.accept("../i18n/i18n.config.ts", async mod => {
156
- const [oldData, newData] = await Promise.all([loadCfg(vueI18nConfigs[0]), loadCfg(() => Promise.resolve(mod))]);
157
- vueI18nConfigs[0] = () => Promise.resolve(mod)
158
- if(deepEqual(oldData, newData, ['messages', 'numberFormats', 'datetimeFormats'])) {
159
- return await useNuxtApp()._nuxtI18nDev.resetI18nProperties()
160
- }
161
- import.meta.hot.send('i18n:options-complex-invalidation', {})
162
- })
163
-
164
- }
165
- /** client-end **/
@@ -1 +0,0 @@
1
- export function createLogger() {}
@@ -1 +0,0 @@
1
- import{_ as e,g as o,e as c,a0 as t}from"#entry";const _={};function s(r,a){const n=t;return c(),o(n,{content:"Welcome"})}const m=e(_,[["render",s]]);export{m as default};
@@ -1 +0,0 @@
1
- import{_ as e,g as o,e as t,a0 as c}from"#entry";const _={};function s(r,a){const n=c;return t(),o(n,{content:"Features"})}const i=e(_,[["render",s]]);export{i as default};
@@ -1 +0,0 @@
1
- import{_ as o,g as c,e,a0 as t}from"#entry";const _={};function s(r,a){const n=t;return e(),c(n,{content:"Config"})}const i=o(_,[["render",s]]);export{i as default};