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,19 +1,19 @@
1
1
  {
2
2
  "name": "vue-router",
3
- "version": "4.5.1",
3
+ "version": "4.6.3",
4
4
  "main": "index.js",
5
5
  "unpkg": "dist/vue-router.global.js",
6
6
  "jsdelivr": "dist/vue-router.global.js",
7
7
  "module": "dist/vue-router.mjs",
8
- "types": "dist/vue-router.d.ts",
8
+ "types": "dist/vue-router.d.mts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./dist/vue-router.d.ts",
11
+ "types": "./dist/vue-router.d.mts",
12
12
  "node": {
13
13
  "import": {
14
- "production": "./dist/vue-router.node.mjs",
15
- "development": "./dist/vue-router.node.mjs",
16
- "default": "./dist/vue-router.node.mjs"
14
+ "production": "./vue-router.node.mjs",
15
+ "development": "./vue-router.node.mjs",
16
+ "default": "./vue-router.node.mjs"
17
17
  },
18
18
  "require": {
19
19
  "production": "./dist/vue-router.prod.cjs",
@@ -27,13 +27,17 @@
27
27
  "./dist/*": "./dist/*",
28
28
  "./vetur/*": "./vetur/*",
29
29
  "./package.json": "./package.json",
30
+ "./experimental": "./dist/experimental/index.mjs",
31
+ "./auto-resolver": {
32
+ "types": "./vue-router-auto-resolver.d.mts"
33
+ },
30
34
  "./auto-routes": {
31
35
  "types": "./vue-router-auto-routes.d.ts",
32
36
  "node": {
33
37
  "import": {
34
- "production": "./dist/vue-router.node.mjs",
35
- "development": "./dist/vue-router.node.mjs",
36
- "default": "./dist/vue-router.node.mjs"
38
+ "production": "./vue-router.node.mjs",
39
+ "development": "./vue-router.node.mjs",
40
+ "default": "./vue-router.node.mjs"
37
41
  },
38
42
  "require": {
39
43
  "production": "./dist/vue-router.prod.cjs",
@@ -48,9 +52,9 @@
48
52
  "types": "./vue-router-auto.d.ts",
49
53
  "node": {
50
54
  "import": {
51
- "production": "./dist/vue-router.node.mjs",
52
- "development": "./dist/vue-router.node.mjs",
53
- "default": "./dist/vue-router.node.mjs"
55
+ "production": "./vue-router.node.mjs",
56
+ "development": "./vue-router.node.mjs",
57
+ "default": "./vue-router.node.mjs"
54
58
  },
55
59
  "require": {
56
60
  "production": "./dist/vue-router.prod.cjs",
@@ -76,19 +80,21 @@
76
80
  "bugs": {
77
81
  "url": "https://github.com/vuejs/router/issues"
78
82
  },
79
- "homepage": "https://github.com/vuejs/router#readme",
83
+ "homepage": "https://router.vuejs.org",
80
84
  "files": [
85
+ "vue-router-auto-resolver.d.mts",
81
86
  "index.js",
82
- "dist/*.{js,cjs,mjs}",
83
- "dist/vue-router.d.ts",
87
+ "vue-router.node.mjs",
84
88
  "vue-router-auto.d.ts",
85
89
  "vue-router-auto-routes.d.ts",
90
+ "dist/**/*.{js,cjs,mjs}",
91
+ "dist/**/*.d.{ts,mts}",
86
92
  "vetur/tags.json",
87
93
  "vetur/attributes.json",
88
94
  "README.md"
89
95
  ],
90
96
  "peerDependencies": {
91
- "vue": "^3.2.0"
97
+ "vue": "^3.5.0"
92
98
  },
93
99
  "vetur": {
94
100
  "tags": "vetur/tags.json",
@@ -98,47 +104,46 @@
98
104
  "@vue/devtools-api": "^6.6.4"
99
105
  },
100
106
  "devDependencies": {
101
- "@microsoft/api-extractor": "^7.48.0",
102
- "@rollup/plugin-alias": "^5.1.1",
103
- "@rollup/plugin-commonjs": "^25.0.8",
104
- "@rollup/plugin-node-resolve": "^15.3.0",
105
- "@rollup/plugin-replace": "^5.0.7",
107
+ "@rollup/plugin-commonjs": "^28.0.7",
108
+ "@rollup/plugin-node-resolve": "^16.0.3",
109
+ "@rollup/plugin-replace": "^6.0.2",
106
110
  "@rollup/plugin-terser": "^0.4.4",
107
111
  "@types/jsdom": "^21.1.7",
108
112
  "@types/nightwatch": "^2.3.32",
109
- "@vitejs/plugin-vue": "^5.2.0",
110
- "@vue/compiler-sfc": "~3.5.13",
111
- "@vue/server-renderer": "~3.5.13",
113
+ "@typescript/native-preview": "7.0.0-dev.20251013.1",
114
+ "@vitejs/plugin-vue": "^6.0.1",
115
+ "@vue/compiler-sfc": "~3.5.22",
116
+ "@vue/server-renderer": "~3.5.22",
112
117
  "@vue/test-utils": "^2.4.6",
113
- "browserstack-local": "^1.5.5",
114
- "chromedriver": "^131.0.1",
118
+ "browserstack-local": "^1.5.8",
119
+ "chromedriver": "^138.0.5",
115
120
  "connect-history-api-fallback": "^1.6.0",
116
- "conventional-changelog-cli": "^2.2.2",
117
- "dotenv": "^16.4.5",
121
+ "dotenv": "^17.2.3",
118
122
  "faked-promise": "^2.2.2",
119
- "geckodriver": "^4.5.1",
120
- "happy-dom": "^15.11.6",
121
- "nightwatch": "^2.6.25",
123
+ "geckodriver": "^6.0.2",
124
+ "happy-dom": "^20.0.0",
125
+ "nightwatch": "^3.12.2",
122
126
  "nightwatch-helpers": "^1.2.0",
123
127
  "rimraf": "^6.0.1",
124
- "rollup": "^3.29.5",
125
- "rollup-plugin-analyzer": "^4.0.0",
128
+ "rollup": "^4.52.4",
126
129
  "rollup-plugin-typescript2": "^0.36.0",
127
- "vite": "^5.4.11",
128
- "vue": "~3.5.13"
130
+ "tsdown": "^0.15.7",
131
+ "tsup": "^8.5.0",
132
+ "vite": "^7.1.10",
133
+ "vue": "~3.6.0-alpha.2"
129
134
  },
130
135
  "scripts": {
131
136
  "dev": "vitest --ui",
132
137
  "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
133
- "build": "rimraf dist && rollup -c rollup.config.mjs",
134
- "build:dts": "api-extractor run --local --verbose && tail -n +10 src/globalExtensions.ts >> dist/vue-router.d.ts",
138
+ "build": "tsdown",
139
+ "build:old": "rimraf dist && rollup -c rollup.config.mjs",
135
140
  "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.ts",
136
141
  "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.mjs",
137
142
  "build:size": "pnpm run build && rollup -c size-checks/rollup.config.mjs",
138
143
  "dev:e2e": "vite --config e2e/vite.config.mjs",
139
144
  "test:types": "tsc --build tsconfig.json",
140
145
  "test:unit": "vitest --coverage run",
141
- "test": "pnpm run build && pnpm run build:dts && pnpm run test:types && pnpm run test:unit && pnpm run test:e2e",
146
+ "test": "pnpm run build && pnpm run test:types && pnpm run test:unit && pnpm run test:e2e",
142
147
  "test:e2e": "pnpm run test:e2e:headless",
143
148
  "test:e2e:headless": "node e2e/runner.mjs --env chrome-headless",
144
149
  "test:e2e:native": "node e2e/runner.mjs --env chrome",
@@ -0,0 +1,2 @@
1
+ global.__VUE_PROD_DEVTOOLS__ = false
2
+ export * from './dist/vue-router.mjs'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-ignis-prod",
3
- "version": "0.5.0-rc.1",
3
+ "version": "0.5.0-rc.2",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
@@ -32,15 +32,15 @@
32
32
  "@sindresorhus/is": "4.6.0",
33
33
  "@trysound/sax": "0.2.0",
34
34
  "@ungap/structured-clone": "1.3.0",
35
- "@vue/compiler-core": "3.5.21",
36
- "@vue/compiler-dom": "3.5.21",
37
- "@vue/compiler-ssr": "3.5.21",
35
+ "@vue/compiler-core": "3.5.22",
36
+ "@vue/compiler-dom": "3.5.22",
37
+ "@vue/compiler-ssr": "3.5.22",
38
38
  "@vue/devtools-api": "6.6.4",
39
- "@vue/reactivity": "3.5.21",
40
- "@vue/runtime-core": "3.5.21",
41
- "@vue/runtime-dom": "3.5.21",
42
- "@vue/server-renderer": "3.5.21",
43
- "@vue/shared": "3.5.21",
39
+ "@vue/reactivity": "3.5.22",
40
+ "@vue/runtime-core": "3.5.22",
41
+ "@vue/runtime-dom": "3.5.22",
42
+ "@vue/server-renderer": "3.5.22",
43
+ "@vue/shared": "3.5.22",
44
44
  "bail": "2.0.2",
45
45
  "better-sqlite3": "12.2.0",
46
46
  "bindings": "1.5.0",
@@ -60,7 +60,7 @@
60
60
  "css-what": "6.2.2",
61
61
  "cssfilter": "0.0.10",
62
62
  "csso": "5.0.5",
63
- "debug": "4.4.1",
63
+ "debug": "4.4.3",
64
64
  "decode-named-character-reference": "1.2.0",
65
65
  "defu": "6.1.4",
66
66
  "destr": "2.0.5",
@@ -230,9 +230,9 @@
230
230
  "vfile": "6.0.3",
231
231
  "vfile-location": "5.0.3",
232
232
  "vfile-message": "4.0.3",
233
- "vue": "3.5.21",
234
- "vue-bundle-renderer": "2.1.2",
235
- "vue-router": "4.5.1",
233
+ "vue": "3.5.22",
234
+ "vue-bundle-renderer": "2.2.0",
235
+ "vue-router": "4.6.3",
236
236
  "web-namespaces": "2.0.1",
237
237
  "xss": "1.0.15",
238
238
  "yaml": "2.8.0",
package/README.md ADDED
@@ -0,0 +1,4 @@
1
+ # Nuxt Ignis Core
2
+ Sources for the `nuxt-ignis` NPM package distribution.
3
+
4
+ See [GitHub project](https://github.com/AloisSeckar/nuxt-ignis) or [the official website](https://nuxt-ignis.com/) for more details.
package/app/app.vue CHANGED
@@ -2,11 +2,11 @@
2
2
  <NuxtRouteAnnouncer />
3
3
  <UApp v-if="ui">
4
4
  <NuxtPage v-if="pages" />
5
- <IgnisInfo v-else :content="'Welcome'" />
5
+ <IgnisContent v-else :content="'Welcome'" />
6
6
  </UApp>
7
7
  <div v-else>
8
8
  <NuxtPage v-if="pages" />
9
- <IgnisInfo v-else :content="'Welcome'" />
9
+ <IgnisContent v-else :content="'Welcome'" />
10
10
  </div>
11
11
  </template>
12
12
 
@@ -5,16 +5,15 @@
5
5
  NUXT_PUBLIC_IGNIS_OPENPROPS=true is required to use this feature
6
6
  */
7
7
 
8
- @import "open-props/normalize";
9
- @import "open-props/buttons";
8
+ @import "open-props/style";
10
9
 
11
10
  /* demo class - used in IgnisFeature component instance */
12
11
  .openprops-feature {
13
12
 
14
13
  /* https://open-props.style/#gradients */
15
- background: var(--gradient-18);
14
+ background: var(--gradient-18) !important;
16
15
 
17
16
  /* https://open-props.style/#colors */
18
- color: var(--gray-12);
19
-
17
+ color: var(--gray-10) !important;
18
+
20
19
  }
@@ -8,7 +8,8 @@
8
8
 
9
9
  <template>
10
10
  <div style="text-align: center; font-size: 0.8em;">
11
- Current datetime with <NuxtLink to="https://nuxt.com/docs/api/components/nuxt-time">NuxtTime</NuxtLink>:
11
+ Current datetime with
12
+ <NuxtLink to="https://nuxt.com/docs/api/components/nuxt-time" class="link">NuxtTime</NuxtLink>:
12
13
  <NuxtTime
13
14
  :datetime="currentDate"
14
15
  hour-cycle="h24"
@@ -29,3 +30,9 @@
29
30
  const vueuse = useRuntimeConfig().public.ignis.core.vueuse
30
31
  const currentDate = vueuse ? useNow() : ignisDate()
31
32
  </script>
33
+
34
+ <style scoped lang="css">
35
+ .link:hover {
36
+ color: oklch(87.9% 0.169 91.605);
37
+ }
38
+ </style>
@@ -18,10 +18,10 @@ const props = defineProps<{
18
18
 
19
19
  let ignisContent
20
20
  if (props.content === 'Welcome') {
21
- ignisContent = resolveComponent('IgnisWelcome')
21
+ ignisContent = resolveComponent('IgnisContentWelcome')
22
22
  } else if (props.content === 'Config') {
23
- ignisContent = resolveComponent('IgnisConfig')
23
+ ignisContent = resolveComponent('IgnisContentConfig')
24
24
  } else {
25
- ignisContent = resolveComponent('IgnisFeatureList')
25
+ ignisContent = resolveComponent('IgnisContentFeatures')
26
26
  }
27
27
  </script>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div style="margin: 0 auto; max-width: 800px;">
2
+ <div class="ignis-config-wrapper">
3
3
  <h1 class="ignis-config-header">
4
4
  Configuration Overview
5
5
  </h1>
@@ -19,6 +19,10 @@ const { data: ignisConfig, error } = await useFetch('/_ignis-config.json', {
19
19
  </script>
20
20
 
21
21
  <style scoped lang="css">
22
+ .ignis-config-wrapper {
23
+ margin: 0 auto;
24
+ max-width: 800px;
25
+ }
22
26
  .ignis-config-header {
23
27
  text-align: center;
24
28
  font-family: monospace;
@@ -0,0 +1,102 @@
1
+ <!--
2
+ https://nuxt.com/docs/guide/directory-structure/pages
3
+
4
+ An example of Nuxt component.
5
+
6
+ IgnisContentFeaturesDetail
7
+ - an example usage of auto-imported Nuxt component declared in `/components` directory
8
+ - the text is (usually) being loaded localized via nuxtjs/i18n module
9
+ - features are being displayed conditionally according to current setting
10
+ - data for displaying are created as an array and then iterated with `v-for` directive
11
+ -->
12
+
13
+ <template>
14
+ <div class="ignis-feature-wrapper">
15
+ <h1 class="ignis-feature-header">
16
+ Features Overview
17
+ </h1>
18
+ <div class="feature-list">
19
+ <IgnisContentFeaturesDetail
20
+ v-for="feature in features" :key="feature.text"
21
+ :text="feature.text" :active="feature.active" :class="feature.class ?? ''" />
22
+ </div>
23
+ </div>
24
+ </template>
25
+
26
+ <script setup lang="ts">
27
+ import { useIgnisT } from '#imports' // requires explicit import for some reason
28
+
29
+ const setup = useRuntimeConfig().public.ignis
30
+
31
+ const ui = setup.preset.ui
32
+ const db = setup.preset.db
33
+ const forms = setup.preset.forms
34
+ const validation = setup.preset.validation
35
+
36
+ const features = [
37
+ { text: useIgnisT('features.nuxt'), active: true },
38
+ { text: useIgnisT('features.consola'), active: true },
39
+ { text: useIgnisT('features.eslint'), active: setup.core.eslint },
40
+ { text: useIgnisT('features.security'), active: setup.core.security },
41
+ { text: useIgnisT('features.image'), active: setup.core.image },
42
+ { text: useIgnisT('features.scripts'), active: setup.core.scripts },
43
+ { text: useIgnisT('features.fonts'), active: setup.core.fonts, class: 'fonts' },
44
+ { text: useIgnisT('features.pinia'), active: setup.core.pinia },
45
+ { text: useIgnisT('features.vueuse'), active: setup.core.vueuse },
46
+ { text: useIgnisT('features.time'), active: true },
47
+ { text: useIgnisT('features.ui'), active: ui === 'nuxt-ui' || setup.ui },
48
+ { text: useIgnisT('features.tailwind'), active: ui !== 'off' || setup.ui || setup.tailwind },
49
+ { text: useIgnisT('features.icon'), active: ui === 'nuxt-ui' || setup.ui },
50
+ { text: useIgnisT('features.neon'), active: db === 'neon' || (db === 'off' && setup.neon) },
51
+ { text: useIgnisT('features.supabase'), active: db === 'supabase' || (db === 'off' && setup.supabase) },
52
+ { text: useIgnisT('features.vueform'), active: forms === 'vueform' || (forms === 'off' && setup.vueform) },
53
+ { text: useIgnisT('features.formkit'), active: forms === 'formkit' || (forms === 'off' && setup.formkit.enabled) },
54
+ { text: useIgnisT('features.valibot'), active: validation === 'valibot' || (validation === 'off' && setup.valibot) },
55
+ { text: useIgnisT('features.zod'), active: validation === 'zod' || (validation === 'off' && setup.zod) },
56
+ { text: useIgnisT('features.content'), active: setup.content },
57
+ { text: useIgnisT('features.i18n'), active: setup.i18n.enabled },
58
+ { text: useIgnisT('features.seo'), active: setup.seo },
59
+ { text: useIgnisT('features.auth'), active: setup.auth },
60
+ { text: useIgnisT('features.equipment'), active: setup.equipment.enabled },
61
+ { text: useIgnisT('features.regexp'), active: setup.regexp },
62
+ { text: useIgnisT('features.charts'), active: setup.charts },
63
+ { text: useIgnisT('features.openprops'), active: setup.openprops, class: 'openprops-feature' },
64
+ ]
65
+ </script>
66
+
67
+ <style scoped>
68
+ /* demo for @nuxt/fonts */
69
+ .fonts {
70
+ font-family: "Kurale";
71
+ }
72
+
73
+ /* avoid Tailwind CSS styles here, because Tailwind may not be enabled */
74
+
75
+ .ignis-feature-wrapper {
76
+ text-align: center;
77
+ margin: 0 auto;
78
+ max-width: 1200px;
79
+ }
80
+
81
+ .ignis-feature-header {
82
+ text-align: center;
83
+ font-family: monospace;
84
+ font-size: 1.75rem;
85
+ margin-top: 2rem;
86
+ margin-bottom: 0.5rem;
87
+ color: #fbbf24;
88
+ }
89
+
90
+ /* margin-auto my-4 flex flex-col */
91
+ .feature-list {
92
+ margin: 0px auto;
93
+ margin-bottom: 8px;
94
+ display: flex;
95
+ flex-direction: column;
96
+ }
97
+
98
+ /* mb-2 */
99
+ .pages {
100
+ margin-bottom: 2em;
101
+ }
102
+ </style>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="ignis-welcome">
2
+ <div class="ignis-welcome-wrapper">
3
3
  <h1 class="ignis-welcome-header">
4
4
  Welcome to Ignis
5
5
  </h1>
@@ -29,7 +29,7 @@ const pages = useRuntimeConfig().public.ignis.pages
29
29
  </script>
30
30
 
31
31
  <style scoped lang="css">
32
- .ignis-welcome {
32
+ .ignis-welcome-wrapper {
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  align-items: center;
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <footer class="link text-xs hover:text-amber-300">
3
- <NuxtLink to="https://github.com/AloisSeckar/nuxt-ignis">
4
- https://github.com/AloisSeckar/nuxt-ignis
2
+ <footer>
3
+ <NuxtLink to="https://nuxt-ignis.com/" class="ignis-link">
4
+ https://nuxt-ignis.com/
5
5
  </NuxtLink>
6
6
  </footer>
7
7
  </template>
@@ -13,4 +13,12 @@ footer {
13
13
  font-size: 0.75rem; /* 12px */
14
14
  line-height: 1rem; /* 16px */
15
15
  }
16
+
17
+ /* text-xs hover:text-amber-300 */
18
+ .ignis-link {
19
+ font-size: 0.75rem;
20
+ }
21
+ .ignis-link:hover {
22
+ color: oklch(87.9% 0.169 91.605);
23
+ }
16
24
  </style>
@@ -1,3 +1,3 @@
1
1
  <template>
2
- <IgnisInfo :content="'Config'" />
2
+ <IgnisContent :content="'Config'" />
3
3
  </template>
@@ -1,3 +1,3 @@
1
1
  <template>
2
- <IgnisInfo :content="'Features'" />
2
+ <IgnisContent :content="'Features'" />
3
3
  </template>
@@ -1,3 +1,3 @@
1
1
  <template>
2
- <IgnisInfo :content="'Welcome'" />
2
+ <IgnisContent :content="'Welcome'" />
3
3
  </template>
@@ -4,12 +4,12 @@
4
4
  An example of Nuxt page.
5
5
  Nuxt automaticaly provides routing and displays this page when user visits root URL or `/index`.
6
6
 
7
- IgnisInfo
7
+ IgnisContent
8
8
  - an example usage of auto-imported Nuxt component declared in `/components` directory
9
9
  - it is a wrapper around couple of possible components defined by "content" prop
10
10
  - this one contains a list of available features configured in current Nuxt Ignis setup
11
11
  -->
12
12
 
13
13
  <template>
14
- <IgnisInfo :content="'Welcome'" />
14
+ <IgnisContent :content="'Welcome'" />
15
15
  </template>
package/bin/cli.js ADDED
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { getPackageManager } from 'elrh-cosca'
4
+
5
+ /**
6
+ * CLI tool to scaffold necessary adjustments in project folder.
7
+ *
8
+ * Supported commands:
9
+ * `setup` - setup Nuxt Ignis in current folder
10
+ * `set-css` - scaffolds default CSS file to allow editing it
11
+ * `set-eslint` - scaffolds default ESLint config file to allow editing it
12
+ * `set-app-vue` - scaffolds default app/app.vue file to allow editing it
13
+ *
14
+ * Second parameter for `setup` might be a boolean to indicate auto mode
15
+ * (no prompts, force = true) or manual mode (with prompts, force = false).
16
+ */
17
+
18
+ // get parameters passed by user
19
+ const args = process.argv.slice(2);
20
+
21
+ // execute actions based on first param
22
+ // additional params might be passed into the called functions
23
+ (async () => {
24
+ switch (args[0]) {
25
+ case 'setup':
26
+ await (await import('./setup.js')).nuxtIgnisSetup(args[1] || false)
27
+ break
28
+ case 'set-css':
29
+ await (await import('./set-css.js')).setCSS(args[1] || false)
30
+ break
31
+ case 'set-eslint':
32
+ await (await import('./set-eslint.js')).setESLint(args[1] || false)
33
+ break
34
+ case 'set-app-vue':
35
+ await (await import('./set-app-vue.js')).setAppVue(args[1] || false)
36
+ break
37
+ default:
38
+ console.log(`Usage: \`${getCmd()} nuxt-ignis setup|set-css|set-eslint|set-app-vue [true|false]\``)
39
+ process.exit(args.length ? 1 : 0)
40
+ }
41
+ })()
42
+
43
+ // try detecting what package manager was used
44
+ // to give user apropriate usage hint
45
+ function getCmd() {
46
+ const packageManager = getPackageManager()
47
+ switch (packageManager) {
48
+ case 'pnpm':
49
+ return 'pnpx'
50
+ case 'yarn':
51
+ return 'yarn dlx'
52
+ case 'bun':
53
+ return 'bunx'
54
+ case 'deno':
55
+ return 'deno run --allow-run npm:npx'
56
+ default:
57
+ return 'npx'
58
+ }
59
+ }
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { createFileFromWebTemplate } from 'elrh-cosca'
4
+
5
+ /**
6
+ * CLI tool to create Nuxt default app.vue file to allow adjusting it.
7
+ * The file will be created as `app/app.vue` folder.
8
+ * In the final build, it will override the baked-in default.
9
+ *
10
+ * Usage: `npx nuxt-ignis set-app-vue` in target folder.
11
+ */
12
+ export async function setAppVue() {
13
+ try {
14
+ await createFileFromWebTemplate('https://raw.githubusercontent.com/AloisSeckar/nuxt-ignis/refs/tags/v0.4.0/core/app/app.vue', 'app/app.vue')
15
+ } catch (error) {
16
+ console.error('Error creating Ignis `app.vue` file:\n', error.message)
17
+ }
18
+ }
package/bin/set-css.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  import { createFileFromWebTemplate } from 'elrh-cosca'
4
4
 
@@ -9,15 +9,10 @@ import { createFileFromWebTemplate } from 'elrh-cosca'
9
9
  *
10
10
  * Usage: `npx nuxt-ignis set-css` in target folder.
11
11
  */
12
- async function main() {
12
+ export async function setCSS() {
13
13
  try {
14
- await createFileFromWebTemplate('https://raw.githubusercontent.com/AloisSeckar/nuxt-ignis/refs/heads/main/core/app/assets/css/ignis.css', 'app/assets/css/ignis.css')
14
+ await createFileFromWebTemplate('https://raw.githubusercontent.com/AloisSeckar/nuxt-ignis/refs/tags/v0.4.0/core/app/assets/css/ignis.css', 'app/assets/css/ignis.css')
15
15
  } catch (error) {
16
16
  console.error('Error creating Ignis CSS file:\n', error.message)
17
17
  }
18
18
  }
19
-
20
- main().catch((err) => {
21
- console.error(err)
22
- process.exit(1)
23
- })
package/bin/set-eslint.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  import { createFileFromWebTemplate } from 'elrh-cosca'
4
4
 
@@ -7,15 +7,10 @@ import { createFileFromWebTemplate } from 'elrh-cosca'
7
7
  *
8
8
  * Usage: `npx nuxt-ignis set-eslint` in target folder.
9
9
  */
10
- async function main() {
10
+ export async function setESLint() {
11
11
  try {
12
- await createFileFromWebTemplate('https://raw.githubusercontent.com/AloisSeckar/nuxt-ignis/refs/heads/main/core/eslint.config.mjs', 'eslint.config.mjs')
12
+ await createFileFromWebTemplate('https://raw.githubusercontent.com/AloisSeckar/nuxt-ignis/refs/tags/v0.4.0/core/eslint.config.mjs', 'eslint.config.mjs')
13
13
  } catch (error) {
14
14
  console.error('Error creating ESLint config file:\n', error.message)
15
15
  }
16
16
  }
17
-
18
- main().catch((err) => {
19
- console.error(err)
20
- process.exit(1)
21
- })