@studio-fes/create-fes-app 0.1.1

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 (284) hide show
  1. package/README.md +70 -0
  2. package/bin/create-fes-app.mjs +180 -0
  3. package/package.json +28 -0
  4. package/templates/craft/.env +6 -0
  5. package/templates/craft/.env.example +9 -0
  6. package/templates/craft/.nuxt/app.config.mjs +25 -0
  7. package/templates/craft/.nuxt/components.d.ts +212 -0
  8. package/templates/craft/.nuxt/eslint.config.d.mts +9 -0
  9. package/templates/craft/.nuxt/eslint.config.mjs +77 -0
  10. package/templates/craft/.nuxt/fetch.d.ts +1 -0
  11. package/templates/craft/.nuxt/graphql-operations/index.d.ts +2064 -0
  12. package/templates/craft/.nuxt/graphql-operations/index.js +0 -0
  13. package/templates/craft/.nuxt/i18n-route-resources.mjs +8 -0
  14. package/templates/craft/.nuxt/image/providers.d.ts +53 -0
  15. package/templates/craft/.nuxt/imports.d.ts +128 -0
  16. package/templates/craft/.nuxt/link-checker/routes.json +1 -0
  17. package/templates/craft/.nuxt/manifest/meta/8c7a2100-6449-4269-93f2-c4a4d3c46ac1.json +1 -0
  18. package/templates/craft/.nuxt/module/nuxt-schema-org.d.ts +14 -0
  19. package/templates/craft/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
  20. package/templates/craft/.nuxt/module/nuxt-seo-utils.d.ts +36 -0
  21. package/templates/craft/.nuxt/module/nuxt-site-config.d.ts +46 -0
  22. package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.d.ts +7 -0
  23. package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.js +4 -0
  24. package/templates/craft/.nuxt/nuxt-graphql-middleware/config.d.ts +7 -0
  25. package/templates/craft/.nuxt/nuxt-graphql-middleware/config.js +7 -0
  26. package/templates/craft/.nuxt/nuxt-graphql-middleware/documents.d.ts +12 -0
  27. package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +10 -0
  28. package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.js +21 -0
  29. package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.d.ts +5 -0
  30. package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.js +7 -0
  31. package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
  32. package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +4 -0
  33. package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.js +4 -0
  34. package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.d.ts +15 -0
  35. package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.js +74 -0
  36. package/templates/craft/.nuxt/nuxt-graphql-middleware/nitro.d.ts +27 -0
  37. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +6 -0
  38. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +46 -0
  39. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.js +4 -0
  40. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +4 -0
  41. package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.js +29 -0
  42. package/templates/craft/.nuxt/nuxt-graphql-middleware/response.d.ts +22 -0
  43. package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.d.ts +11 -0
  44. package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.js +5 -0
  45. package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.d.ts +4 -0
  46. package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.js +9 -0
  47. package/templates/craft/.nuxt/nuxt-multi-cache/config.d.ts +57 -0
  48. package/templates/craft/.nuxt/nuxt-multi-cache/config.js +10 -0
  49. package/templates/craft/.nuxt/nuxt-multi-cache/nitro.d.ts +46 -0
  50. package/templates/craft/.nuxt/nuxt-multi-cache/server-options.d.ts +3 -0
  51. package/templates/craft/.nuxt/nuxt-multi-cache/server-options.js +2 -0
  52. package/templates/craft/.nuxt/nuxt.d.ts +59 -0
  53. package/templates/craft/.nuxt/nuxt.node.d.ts +29 -0
  54. package/templates/craft/.nuxt/nuxt.shared.d.ts +8 -0
  55. package/templates/craft/.nuxt/schema/nuxt.schema.d.ts +17 -0
  56. package/templates/craft/.nuxt/schema/nuxt.schema.json +3 -0
  57. package/templates/craft/.nuxt/tsconfig.app.json +461 -0
  58. package/templates/craft/.nuxt/tsconfig.json +471 -0
  59. package/templates/craft/.nuxt/tsconfig.node.json +245 -0
  60. package/templates/craft/.nuxt/tsconfig.server.json +336 -0
  61. package/templates/craft/.nuxt/tsconfig.shared.json +267 -0
  62. package/templates/craft/.nuxt/types/app.config.d.ts +39 -0
  63. package/templates/craft/.nuxt/types/build.d.ts +60 -0
  64. package/templates/craft/.nuxt/types/builder-env.d.ts +1 -0
  65. package/templates/craft/.nuxt/types/components.d.ts +217 -0
  66. package/templates/craft/.nuxt/types/i18n-plugin.d.ts +133 -0
  67. package/templates/craft/.nuxt/types/imports.d.ts +1132 -0
  68. package/templates/craft/.nuxt/types/layouts.d.ts +20 -0
  69. package/templates/craft/.nuxt/types/middleware.d.ts +7 -0
  70. package/templates/craft/.nuxt/types/modules.d.ts +589 -0
  71. package/templates/craft/.nuxt/types/nitro-config.d.ts +14 -0
  72. package/templates/craft/.nuxt/types/nitro-imports.d.ts +222 -0
  73. package/templates/craft/.nuxt/types/nitro-layouts.d.ts +17 -0
  74. package/templates/craft/.nuxt/types/nitro-middleware.d.ts +11 -0
  75. package/templates/craft/.nuxt/types/nitro-nuxt.d.ts +90 -0
  76. package/templates/craft/.nuxt/types/nitro-routes.d.ts +59 -0
  77. package/templates/craft/.nuxt/types/nitro.d.ts +3 -0
  78. package/templates/craft/.nuxt/types/nuxt-robots-nitro.d.ts +65 -0
  79. package/templates/craft/.nuxt/types/nuxt-robots-nuxt.d.ts +10 -0
  80. package/templates/craft/.nuxt/types/nuxt-scripts-augments.d.ts +15 -0
  81. package/templates/craft/.nuxt/types/nuxt-sitemap-augments.d.ts +61 -0
  82. package/templates/craft/.nuxt/types/nuxt-sitemap-virtual.d.ts +23 -0
  83. package/templates/craft/.nuxt/types/plugins.d.ts +61 -0
  84. package/templates/craft/.nuxt/types/runtime-config.d.ts +236 -0
  85. package/templates/craft/.nuxt/types/shared-app.config.d.ts +32 -0
  86. package/templates/craft/.nuxt/types/shared-imports.d.ts +10 -0
  87. package/templates/craft/.nuxt/types/vue-shim.d.ts +0 -0
  88. package/templates/craft/.vscode/extensions.json +7 -0
  89. package/templates/craft/.vscode/launch.json +15 -0
  90. package/templates/craft/.vscode/settings.json +73 -0
  91. package/templates/craft/.vscode/unocss.json +25 -0
  92. package/templates/craft/Dockerfile +37 -0
  93. package/templates/craft/README.md +75 -0
  94. package/templates/craft/_gitignore +24 -0
  95. package/templates/craft/app/app.vue +11 -0
  96. package/templates/craft/app/components/.gitkeep +0 -0
  97. package/templates/craft/app/components/LocaleSwitcher.vue +14 -0
  98. package/templates/craft/app/pages/[slug].vue +23 -0
  99. package/templates/craft/app/pages/index.vue +29 -0
  100. package/templates/craft/app/plugins/gsap-reduced-motion.client.ts +11 -0
  101. package/templates/craft/app/plugins/org-schema.server.ts +15 -0
  102. package/templates/craft/app/plugins/site-config.server.ts +17 -0
  103. package/templates/craft/eslint.config.js +73 -0
  104. package/templates/craft/graphql.config.ts +4 -0
  105. package/templates/craft/i18n/index.ts +6 -0
  106. package/templates/craft/i18n/locales/en.ts +3 -0
  107. package/templates/craft/i18n/locales/index.ts +17 -0
  108. package/templates/craft/i18n/locales/it.ts +3 -0
  109. package/templates/craft/i18n.config.ts +9 -0
  110. package/templates/craft/node_modules/.bin/acorn +43 -0
  111. package/templates/craft/node_modules/.bin/browserslist +43 -0
  112. package/templates/craft/node_modules/.bin/esbuild +34 -0
  113. package/templates/craft/node_modules/.bin/eslint +43 -0
  114. package/templates/craft/node_modules/.bin/eslint-config +43 -0
  115. package/templates/craft/node_modules/.bin/jiti +43 -0
  116. package/templates/craft/node_modules/.bin/nuxi +43 -0
  117. package/templates/craft/node_modules/.bin/nuxt +43 -0
  118. package/templates/craft/node_modules/.bin/rolldown +43 -0
  119. package/templates/craft/node_modules/.bin/rollup +43 -0
  120. package/templates/craft/node_modules/.bin/rollup-plugin-visualizer +43 -0
  121. package/templates/craft/node_modules/.bin/terser +43 -0
  122. package/templates/craft/node_modules/.bin/tsc +43 -0
  123. package/templates/craft/node_modules/.bin/vite +43 -0
  124. package/templates/craft/node_modules/.bin/webpack +43 -0
  125. package/templates/craft/node_modules/.bin/yaml +43 -0
  126. package/templates/craft/node_modules/.cache/jiti/craft-nuxt.config.96899b85.mjs +39 -0
  127. package/templates/craft/node_modules/.cache/jiti/i18n-index.2e90cf09.mjs +6 -0
  128. package/templates/craft/node_modules/.cache/jiti/i18n-index.a093f66a.mjs +6 -0
  129. package/templates/craft/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +75 -0
  130. package/templates/craft/node_modules/.cache/jiti/layer-craft-nuxt.config.c163264b.mjs +36 -0
  131. package/templates/craft/node_modules/.cache/jiti/layer-craft-parse-env.a47fc157.mjs +23 -0
  132. package/templates/craft/node_modules/.cache/jiti/locales-index.3d828a7c.mjs +16 -0
  133. package/templates/craft/node_modules/.cache/jiti/locales-index.c7376a42.mjs +16 -0
  134. package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +25 -0
  135. package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.e32906d8.mjs +25 -0
  136. package/templates/craft/node_modules/.cache/jiti/starter-craft-nuxt.config.573fb392.mjs +39 -0
  137. package/templates/craft/node_modules/.cache/nuxt/chrome-workspace.json +1 -0
  138. package/templates/craft/nuxt.config.ts +39 -0
  139. package/templates/craft/package.json +26 -0
  140. package/templates/craft/public/_robots.txt +2 -0
  141. package/templates/craft/public/favicon.ico +0 -0
  142. package/templates/craft/public/og-image.jpg +0 -0
  143. package/templates/craft/queries/Entries.gql +35 -0
  144. package/templates/craft/queries/Entry.gql +22 -0
  145. package/templates/craft/queries/OrgSchema.gql +21 -0
  146. package/templates/craft/queries/Page.gql +6 -0
  147. package/templates/craft/queries/SiteConfig.gql +6 -0
  148. package/templates/craft/queries/fragments/Interfaces.gql +25 -0
  149. package/templates/craft/queries/fragments/Media.gql +11 -0
  150. package/templates/craft/queries/fragments/OrgSchemaField.gql +3 -0
  151. package/templates/craft/queries/fragments/SEO.gql +27 -0
  152. package/templates/craft/schema.graphql +12283 -0
  153. package/templates/craft/tsconfig.json +18 -0
  154. package/templates/craft/uno.config.ts +15 -0
  155. package/templates/strapi/.env +7 -0
  156. package/templates/strapi/.env.example +6 -0
  157. package/templates/strapi/.nuxt/app.config.mjs +25 -0
  158. package/templates/strapi/.nuxt/components.d.ts +216 -0
  159. package/templates/strapi/.nuxt/eslint.config.d.mts +9 -0
  160. package/templates/strapi/.nuxt/eslint.config.mjs +77 -0
  161. package/templates/strapi/.nuxt/fetch.d.ts +1 -0
  162. package/templates/strapi/.nuxt/graphql-operations/index.d.ts +315 -0
  163. package/templates/strapi/.nuxt/graphql-operations/index.js +31 -0
  164. package/templates/strapi/.nuxt/i18n-route-resources.mjs +5 -0
  165. package/templates/strapi/.nuxt/image/providers.d.ts +53 -0
  166. package/templates/strapi/.nuxt/imports.d.ts +126 -0
  167. package/templates/strapi/.nuxt/link-checker/routes.json +1 -0
  168. package/templates/strapi/.nuxt/manifest/meta/7053ffc6-a484-4262-9af2-d3139913c2af.json +1 -0
  169. package/templates/strapi/.nuxt/module/nuxt-schema-org.d.ts +14 -0
  170. package/templates/strapi/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
  171. package/templates/strapi/.nuxt/module/nuxt-seo-utils.d.ts +36 -0
  172. package/templates/strapi/.nuxt/module/nuxt-site-config.d.ts +46 -0
  173. package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.d.ts +7 -0
  174. package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.js +4 -0
  175. package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.d.ts +7 -0
  176. package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.js +7 -0
  177. package/templates/strapi/.nuxt/nuxt-graphql-middleware/documents.d.ts +12 -0
  178. package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +10 -0
  179. package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.js +21 -0
  180. package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.d.ts +5 -0
  181. package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.js +7 -0
  182. package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
  183. package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +4 -0
  184. package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.js +4 -0
  185. package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.d.ts +15 -0
  186. package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.js +74 -0
  187. package/templates/strapi/.nuxt/nuxt-graphql-middleware/nitro.d.ts +19 -0
  188. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +6 -0
  189. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +32 -0
  190. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.js +4 -0
  191. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +4 -0
  192. package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.js +12 -0
  193. package/templates/strapi/.nuxt/nuxt-graphql-middleware/response.d.ts +18 -0
  194. package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.d.ts +8 -0
  195. package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.js +5 -0
  196. package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.d.ts +4 -0
  197. package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.js +7 -0
  198. package/templates/strapi/.nuxt/nuxt-multi-cache/config.d.ts +57 -0
  199. package/templates/strapi/.nuxt/nuxt-multi-cache/config.js +10 -0
  200. package/templates/strapi/.nuxt/nuxt-multi-cache/nitro.d.ts +46 -0
  201. package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.d.ts +3 -0
  202. package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.js +2 -0
  203. package/templates/strapi/.nuxt/nuxt.d.ts +58 -0
  204. package/templates/strapi/.nuxt/nuxt.node.d.ts +28 -0
  205. package/templates/strapi/.nuxt/nuxt.shared.d.ts +8 -0
  206. package/templates/strapi/.nuxt/schema/nuxt.schema.d.ts +17 -0
  207. package/templates/strapi/.nuxt/schema/nuxt.schema.json +3 -0
  208. package/templates/strapi/.nuxt/tsconfig.app.json +456 -0
  209. package/templates/strapi/.nuxt/tsconfig.json +466 -0
  210. package/templates/strapi/.nuxt/tsconfig.node.json +243 -0
  211. package/templates/strapi/.nuxt/tsconfig.server.json +334 -0
  212. package/templates/strapi/.nuxt/tsconfig.shared.json +267 -0
  213. package/templates/strapi/.nuxt/types/app.config.d.ts +39 -0
  214. package/templates/strapi/.nuxt/types/build.d.ts +60 -0
  215. package/templates/strapi/.nuxt/types/builder-env.d.ts +1 -0
  216. package/templates/strapi/.nuxt/types/components.d.ts +221 -0
  217. package/templates/strapi/.nuxt/types/i18n-plugin.d.ts +133 -0
  218. package/templates/strapi/.nuxt/types/imports.d.ts +1120 -0
  219. package/templates/strapi/.nuxt/types/layouts.d.ts +20 -0
  220. package/templates/strapi/.nuxt/types/middleware.d.ts +7 -0
  221. package/templates/strapi/.nuxt/types/modules.d.ts +569 -0
  222. package/templates/strapi/.nuxt/types/nitro-config.d.ts +14 -0
  223. package/templates/strapi/.nuxt/types/nitro-imports.d.ts +220 -0
  224. package/templates/strapi/.nuxt/types/nitro-layouts.d.ts +17 -0
  225. package/templates/strapi/.nuxt/types/nitro-middleware.d.ts +11 -0
  226. package/templates/strapi/.nuxt/types/nitro-nuxt.d.ts +90 -0
  227. package/templates/strapi/.nuxt/types/nitro-routes.d.ts +44 -0
  228. package/templates/strapi/.nuxt/types/nitro.d.ts +3 -0
  229. package/templates/strapi/.nuxt/types/nuxt-robots-nitro.d.ts +65 -0
  230. package/templates/strapi/.nuxt/types/nuxt-robots-nuxt.d.ts +10 -0
  231. package/templates/strapi/.nuxt/types/nuxt-scripts-augments.d.ts +15 -0
  232. package/templates/strapi/.nuxt/types/nuxt-sitemap-augments.d.ts +61 -0
  233. package/templates/strapi/.nuxt/types/nuxt-sitemap-virtual.d.ts +23 -0
  234. package/templates/strapi/.nuxt/types/plugins.d.ts +58 -0
  235. package/templates/strapi/.nuxt/types/runtime-config.d.ts +244 -0
  236. package/templates/strapi/.nuxt/types/shared-app.config.d.ts +32 -0
  237. package/templates/strapi/.nuxt/types/shared-imports.d.ts +10 -0
  238. package/templates/strapi/.nuxt/types/vue-shim.d.ts +0 -0
  239. package/templates/strapi/README.md +75 -0
  240. package/templates/strapi/_gitignore +24 -0
  241. package/templates/strapi/app/app.vue +5 -0
  242. package/templates/strapi/app/components/DynamicZone.vue +75 -0
  243. package/templates/strapi/app/components/SectionSingleImage.vue +39 -0
  244. package/templates/strapi/app/components/VideoProgress.vue +34 -0
  245. package/templates/strapi/app/pages/[slug].vue +28 -0
  246. package/templates/strapi/app/pages/index.vue +12 -0
  247. package/templates/strapi/app/plugins/gsap-reduced-motion.client.ts +11 -0
  248. package/templates/strapi/app/plugins/site-config.server.ts +17 -0
  249. package/templates/strapi/eslint.config.js +74 -0
  250. package/templates/strapi/node_modules/.bin/esbuild +34 -0
  251. package/templates/strapi/node_modules/.bin/jiti +43 -0
  252. package/templates/strapi/node_modules/.bin/nuxi +43 -0
  253. package/templates/strapi/node_modules/.bin/nuxt +43 -0
  254. package/templates/strapi/node_modules/.bin/rolldown +43 -0
  255. package/templates/strapi/node_modules/.bin/rollup +43 -0
  256. package/templates/strapi/node_modules/.bin/rollup-plugin-visualizer +43 -0
  257. package/templates/strapi/node_modules/.bin/terser +43 -0
  258. package/templates/strapi/node_modules/.bin/tsc +43 -0
  259. package/templates/strapi/node_modules/.bin/vite +43 -0
  260. package/templates/strapi/node_modules/.bin/webpack +43 -0
  261. package/templates/strapi/node_modules/.bin/yaml +43 -0
  262. package/templates/strapi/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +75 -0
  263. package/templates/strapi/node_modules/.cache/jiti/layer-strapi-nuxt.config.29354bb2.mjs +33 -0
  264. package/templates/strapi/node_modules/.cache/jiti/layer-strapi-parse-env.46647a07.mjs +23 -0
  265. package/templates/strapi/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +25 -0
  266. package/templates/strapi/node_modules/.cache/jiti/modules-vue-strapi-blocks-renderer.5518edfe.mjs +22 -0
  267. package/templates/strapi/node_modules/.cache/jiti/starter-strapi-nuxt.config.b85f8ac6.mjs +15 -0
  268. package/templates/strapi/node_modules/.cache/jiti/strapi-nuxt.config.5d4f493c.mjs +15 -0
  269. package/templates/strapi/node_modules/.cache/nuxt/chrome-workspace.json +1 -0
  270. package/templates/strapi/nuxt.config.ts +15 -0
  271. package/templates/strapi/package.json +19 -0
  272. package/templates/strapi/public/_robots.txt +2 -0
  273. package/templates/strapi/public/favicon.ico +0 -0
  274. package/templates/strapi/public/og-image.jpg +0 -0
  275. package/templates/strapi/queries/PageCustomPage.gql +5 -0
  276. package/templates/strapi/queries/PageHome.gql +15 -0
  277. package/templates/strapi/queries/fragments/MetaSocial.gql +9 -0
  278. package/templates/strapi/queries/fragments/PageCustomPage.gql +32 -0
  279. package/templates/strapi/queries/fragments/SectionError.gql +4 -0
  280. package/templates/strapi/queries/fragments/SectionSingleImage.gql +7 -0
  281. package/templates/strapi/queries/fragments/SeoMeta.gql +16 -0
  282. package/templates/strapi/queries/fragments/StrapiFile.gql +8 -0
  283. package/templates/strapi/schema.graphql +1091 -0
  284. package/templates/strapi/tsconfig.json +18 -0
@@ -0,0 +1,24 @@
1
+ # Nuxt dev/build outputs
2
+ .output
3
+ .data
4
+ .nuxt
5
+ .nitro
6
+ .cache
7
+ dist
8
+
9
+ # Node dependencies
10
+ node_modules
11
+
12
+ # Logs
13
+ logs
14
+ *.log
15
+
16
+ # Misc
17
+ .DS_Store
18
+ .fleet
19
+ .idea
20
+
21
+ # Local env files
22
+ .env
23
+ .env.*
24
+ !.env.example
@@ -0,0 +1,11 @@
1
+ <script setup lang="ts">
2
+ useHead({
3
+ titleTemplate: '%s',
4
+ })
5
+ </script>
6
+
7
+ <template>
8
+ <NuxtLayout>
9
+ <NuxtPage />
10
+ </NuxtLayout>
11
+ </template>
File without changes
@@ -0,0 +1,14 @@
1
+ <script setup>
2
+ const { locale, locales } = useI18n()
3
+ const switchLocalePath = useSwitchLocalePath()
4
+
5
+ const availableLocales = computed(() => {
6
+ return locales.value.filter(i => i.code !== locale.value)
7
+ })
8
+ </script>
9
+
10
+ <template>
11
+ <NuxtLink v-for="locale in availableLocales" :key="locale.code" :to="switchLocalePath(locale.code)">
12
+ {{ locale.name }}
13
+ </NuxtLink>
14
+ </template>
@@ -0,0 +1,23 @@
1
+ <script setup lang="ts">
2
+ import type { PageEntryFragment } from '#graphql-operations'
3
+
4
+ const route = useRoute()
5
+
6
+ const page = await useCraftEntry<PageEntryFragment>({
7
+ section: ['page'],
8
+ slug: [(route.params.slug) as string],
9
+ })
10
+
11
+ useCraftSEO(page)
12
+ useCraftOrgSchema(page)
13
+ useI18nParams(page)
14
+ </script>
15
+
16
+ <template>
17
+ <div class="container">
18
+ <h1>Nuxt Craft Example</h1>
19
+ <p>{{ page.title }}</p>
20
+ <p>{{ page.slug }}</p>
21
+ <LocaleSwitcher />
22
+ </div>
23
+ </template>
@@ -0,0 +1,29 @@
1
+ <script setup lang="ts">
2
+ import type { EntryInterfaceTypeFragment } from '#graphql-operations'
3
+
4
+ const { locale } = useI18n()
5
+
6
+ const variables = computed(() => ({
7
+ locale: [locale.value],
8
+ section: ['page'],
9
+ }))
10
+
11
+ const { data: pages } = await useAsyncGraphqlQuery('Entries', variables, {
12
+ transform: response => response.data.entries as EntryInterfaceTypeFragment[],
13
+ })
14
+
15
+ useCraftSEO(pages.value?.[0] as EntryInterfaceTypeFragment)
16
+ </script>
17
+
18
+ <template>
19
+ <div>
20
+ <h1> Starter Craft</h1>
21
+ <ul v-if="pages && pages?.length > 0">
22
+ <li v-for="page in pages" :key="page.id">
23
+ <CraftLink :link="page">
24
+ {{ page.title }}
25
+ </CraftLink>
26
+ </li>
27
+ </ul>
28
+ </div>
29
+ </template>
@@ -0,0 +1,11 @@
1
+ export default defineNuxtPlugin(() => {
2
+ const mm = gsap.matchMedia()
3
+
4
+ mm.add('(prefers-reduced-motion: reduce)', () => {
5
+ // instant-complete all GSAP tweens/timelines
6
+ gsap.globalTimeline.timeScale(1000)
7
+ return () => {
8
+ gsap.globalTimeline.timeScale(1)
9
+ }
10
+ })
11
+ })
@@ -0,0 +1,15 @@
1
+ export default defineNuxtPlugin({
2
+ name: 'org-schema',
3
+ enforce: 'pre',
4
+ dependsOn: ['nuxt-graphql-middleware-provide-state'],
5
+ async setup() {
6
+ const nuxtApp = useNuxtApp()
7
+ const site = '$i18n' in nuxtApp ? nuxtApp.$i18n?.locale?.value : undefined
8
+
9
+ const { data } = await useGraphqlQuery('OrgSchema', {
10
+ site: site || 'default',
11
+ })
12
+
13
+ useCraftOrgSchemaIdentity(data.orgSchema)
14
+ },
15
+ })
@@ -0,0 +1,17 @@
1
+ export default defineNuxtPlugin({
2
+ name: 'site-config',
3
+ enforce: 'pre',
4
+ dependsOn: ['nuxt-graphql-middleware-provide-state'],
5
+ async setup() {
6
+ const { data } = await useGraphqlQuery('SiteConfig')
7
+ updateSiteConfig({
8
+ name: data.siteConfig?.siteName,
9
+ url: data.siteConfig?.siteUrl,
10
+ })
11
+
12
+ if (data.siteConfig?.siteUrl) {
13
+ const runtimeConfig = useRuntimeConfig()
14
+ runtimeConfig.public.i18n.baseUrl = data.siteConfig?.siteUrl
15
+ }
16
+ },
17
+ })
@@ -0,0 +1,73 @@
1
+ // @ts-check
2
+ import antfu from '@antfu/eslint-config'
3
+ import graphqlPlugin from '@graphql-eslint/eslint-plugin'
4
+ import { globalIgnores } from 'eslint/config'
5
+ import withNuxt from './.nuxt/eslint.config.mjs'
6
+
7
+ // export default withNuxt(
8
+ export default withNuxt(
9
+ // Your custom configs here
10
+ await antfu(
11
+ {
12
+ formatters: true,
13
+ vue: true,
14
+ pnpm: false,
15
+ unocss: true,
16
+ },
17
+ ),
18
+ globalIgnores([
19
+ 'dist',
20
+ 'node_modules',
21
+ '.output',
22
+ '.nuxt',
23
+ '.storybook',
24
+ 'storybook-static',
25
+ '.github',
26
+ 'coverage',
27
+ '*.log',
28
+ 'nuxt.d.ts',
29
+ '.output',
30
+ '.DS_Store',
31
+ '.vscode',
32
+ '*.md',
33
+ 'package.json',
34
+ 'package-lock.json',
35
+ 'babel.config.js',
36
+ 'graphql',
37
+ 'types.ts',
38
+ 'generated',
39
+ 'components.d.ts',
40
+ 'icons.d.ts',
41
+ 'auto.d.ts',
42
+ 'src-tauri',
43
+ 'auto-imports.d.ts',
44
+ 'schema.graphql',
45
+ ]),
46
+ {
47
+ rules: {
48
+ 'unocss/order': 'error', // or "error",
49
+ },
50
+ },
51
+ {
52
+ files: ['**/*.graphql', '**/*.gql'],
53
+ languageOptions: {
54
+ parser: graphqlPlugin.parser,
55
+ },
56
+ plugins: {
57
+ '@graphql-eslint': graphqlPlugin,
58
+ },
59
+ rules: {
60
+ '@graphql-eslint/no-anonymous-operations': 'error',
61
+ '@graphql-eslint/naming-convention': [
62
+ 'error',
63
+ {
64
+ OperationDefinition: {
65
+ style: 'PascalCase',
66
+ forbiddenPrefixes: ['Query', 'Mutation', 'Subscription', 'Get'],
67
+ forbiddenSuffixes: ['Query', 'Mutation', 'Subscription'],
68
+ },
69
+ },
70
+ ],
71
+ },
72
+ },
73
+ )
@@ -0,0 +1,4 @@
1
+ export default {
2
+ schema: 'schema.graphql',
3
+ documents: ['**/*.{graphql,gql}'],
4
+ }
@@ -0,0 +1,6 @@
1
+ import type { NuxtI18nOptions } from '@nuxtjs/i18n'
2
+
3
+ import localesConfig from './locales'
4
+
5
+ export const defaultLocale = (localesConfig.find(entry => entry.default)?.code || localesConfig[0]?.code || 'en') as NuxtI18nOptions['defaultLocale']
6
+ export const locales = localesConfig.map(({ code, file, language, name }) => ({ code, file, language, name }))
@@ -0,0 +1,3 @@
1
+ export default {
2
+ 'All': 'All',
3
+ }
@@ -0,0 +1,17 @@
1
+ import type { LocaleObject } from '@nuxtjs/i18n'
2
+
3
+ export default [
4
+ {
5
+ code: 'it',
6
+ language: 'it-IT',
7
+ name: 'Italiano',
8
+ file: 'it.ts',
9
+ },
10
+ {
11
+ code: 'en',
12
+ language: 'en-GB',
13
+ default: true,
14
+ name: 'English',
15
+ file: 'en.ts',
16
+ },
17
+ ] as LocaleObject[]
@@ -0,0 +1,3 @@
1
+ export default {
2
+ 'All': 'Alle',
3
+ }
@@ -0,0 +1,9 @@
1
+ export default defineI18nConfig(() => {
2
+ return {
3
+ legacy: false,
4
+ // // @remove in production
5
+ // missingWarn: false,
6
+ // // @remove in production
7
+ // fallbackWarn: false,
8
+ }
9
+ })
@@ -0,0 +1,43 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/acorn@8.16.0/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/acorn@8.16.0/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/bin/acorn" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/bin/acorn" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/bin/acorn" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/bin/acorn" "$@"
40
+ else
41
+ exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/bin/acorn" "$@"
42
+ fi
43
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/bin/acorn
@@ -0,0 +1,43 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/browserslist@4.28.6/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/browserslist@4.28.6/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../../../../node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/cli.js" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/cli.js" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../../../../node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/cli.js" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../../../../node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/cli.js" "$@"
40
+ else
41
+ exec node "$basedir/../../../../node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/cli.js" "$@"
42
+ fi
43
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/browserslist@4.28.6/node_modules/browserslist/cli.js
@@ -0,0 +1,34 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/esbuild@0.28.1/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/esbuild@0.28.1/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ exec "$basedir/../../../../node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/bin/esbuild" "$@"
33
+ exit $?
34
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/esbuild@0.28.1/node_modules/esbuild/bin/esbuild
@@ -0,0 +1,43 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/eslint@10.8.0_jiti@2.7.0_supports-color@10.2.2/node_modules/eslint/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/eslint@10.8.0_jiti@2.7.0_supports-color@10.2.2/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/eslint@10.8.0_jiti@2.7.0_supports-color@10.2.2/node_modules/eslint/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/eslint@10.8.0_jiti@2.7.0_supports-color@10.2.2/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../eslint/bin/eslint.js" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../eslint/bin/eslint.js" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../eslint/bin/eslint.js" "$@"
40
+ else
41
+ exec node "$basedir/../eslint/bin/eslint.js" "$@"
42
+ fi
43
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/packages/create-app/templates/craft/node_modules/eslint/bin/eslint.js
@@ -0,0 +1,43 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/@antfu+eslint-config@9.2.0_@typescript-eslint+typescript-estree@8.65.0_supports-color@1_5a8dd7b96734f80fb6d20ac9fc534dcb/node_modules/@antfu/eslint-config/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/@antfu+eslint-config@9.2.0_@typescript-eslint+typescript-estree@8.65.0_supports-color@1_5a8dd7b96734f80fb6d20ac9fc534dcb/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/@antfu+eslint-config@9.2.0_@typescript-eslint+typescript-estree@8.65.0_supports-color@1_5a8dd7b96734f80fb6d20ac9fc534dcb/node_modules/@antfu/eslint-config/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/@antfu+eslint-config@9.2.0_@typescript-eslint+typescript-estree@8.65.0_supports-color@1_5a8dd7b96734f80fb6d20ac9fc534dcb/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../@antfu/eslint-config/bin/index.mjs" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../@antfu/eslint-config/bin/index.mjs" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../@antfu/eslint-config/bin/index.mjs" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../@antfu/eslint-config/bin/index.mjs" "$@"
40
+ else
41
+ exec node "$basedir/../@antfu/eslint-config/bin/index.mjs" "$@"
42
+ fi
43
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/packages/create-app/templates/craft/node_modules/@antfu/eslint-config/bin/index.mjs
@@ -0,0 +1,43 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/jiti@2.7.0/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/jiti@2.7.0/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
40
+ else
41
+ exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
42
+ fi
43
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs
@@ -0,0 +1,43 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules/nuxt/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules/nuxt/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../nuxt/bin/nuxt.mjs" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../nuxt/bin/nuxt.mjs" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../nuxt/bin/nuxt.mjs" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../nuxt/bin/nuxt.mjs" "$@"
40
+ else
41
+ exec node "$basedir/../nuxt/bin/nuxt.mjs" "$@"
42
+ fi
43
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/packages/create-app/templates/craft/node_modules/nuxt/bin/nuxt.mjs
@@ -0,0 +1,43 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
6
+
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
25
+ esac
26
+
27
+ if [ -z "$NODE_PATH" ]; then
28
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules/nuxt/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules"
29
+ else
30
+ export NODE_PATH="/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules/nuxt/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/nuxt@4.5.1_@babel+plugin-syntax-jsx@7.28.6_@babel+core@7.29.0_supports-color@10.2.2___@_80ac92716983a647c2a82f7fc49eb61a/node_modules:/Users/plcdnl/DEV/fes/nuxt-layers/node_modules/.pnpm/node_modules:$NODE_PATH"
31
+ fi
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../nuxt/bin/nuxt.mjs" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../nuxt/bin/nuxt.mjs" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../nuxt/bin/nuxt.mjs" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../nuxt/bin/nuxt.mjs" "$@"
40
+ else
41
+ exec node "$basedir/../nuxt/bin/nuxt.mjs" "$@"
42
+ fi
43
+ # cmd-shim-target=/Users/plcdnl/DEV/fes/nuxt-layers/packages/create-app/templates/craft/node_modules/nuxt/bin/nuxt.mjs