@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.
- package/README.md +70 -0
- package/bin/create-fes-app.mjs +180 -0
- package/package.json +28 -0
- package/templates/craft/.env +6 -0
- package/templates/craft/.env.example +9 -0
- package/templates/craft/.nuxt/app.config.mjs +25 -0
- package/templates/craft/.nuxt/components.d.ts +212 -0
- package/templates/craft/.nuxt/eslint.config.d.mts +9 -0
- package/templates/craft/.nuxt/eslint.config.mjs +77 -0
- package/templates/craft/.nuxt/fetch.d.ts +1 -0
- package/templates/craft/.nuxt/graphql-operations/index.d.ts +2064 -0
- package/templates/craft/.nuxt/graphql-operations/index.js +0 -0
- package/templates/craft/.nuxt/i18n-route-resources.mjs +8 -0
- package/templates/craft/.nuxt/image/providers.d.ts +53 -0
- package/templates/craft/.nuxt/imports.d.ts +128 -0
- package/templates/craft/.nuxt/link-checker/routes.json +1 -0
- package/templates/craft/.nuxt/manifest/meta/8c7a2100-6449-4269-93f2-c4a4d3c46ac1.json +1 -0
- package/templates/craft/.nuxt/module/nuxt-schema-org.d.ts +14 -0
- package/templates/craft/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
- package/templates/craft/.nuxt/module/nuxt-seo-utils.d.ts +36 -0
- package/templates/craft/.nuxt/module/nuxt-site-config.d.ts +46 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.d.ts +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/client-options.js +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/config.d.ts +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/config.js +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/documents.d.ts +12 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +10 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/graphql.config.js +21 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.d.ts +5 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/helpers.js +7 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/hook-files.js +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.d.ts +15 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/mcp.js +74 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/nitro.d.ts +27 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +6 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +46 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-types.js +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/operation-variables.js +29 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/response.d.ts +22 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.d.ts +11 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/server-options.js +5 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.d.ts +4 -0
- package/templates/craft/.nuxt/nuxt-graphql-middleware/sources.js +9 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/config.d.ts +57 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/config.js +10 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/nitro.d.ts +46 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/server-options.d.ts +3 -0
- package/templates/craft/.nuxt/nuxt-multi-cache/server-options.js +2 -0
- package/templates/craft/.nuxt/nuxt.d.ts +59 -0
- package/templates/craft/.nuxt/nuxt.node.d.ts +29 -0
- package/templates/craft/.nuxt/nuxt.shared.d.ts +8 -0
- package/templates/craft/.nuxt/schema/nuxt.schema.d.ts +17 -0
- package/templates/craft/.nuxt/schema/nuxt.schema.json +3 -0
- package/templates/craft/.nuxt/tsconfig.app.json +461 -0
- package/templates/craft/.nuxt/tsconfig.json +471 -0
- package/templates/craft/.nuxt/tsconfig.node.json +245 -0
- package/templates/craft/.nuxt/tsconfig.server.json +336 -0
- package/templates/craft/.nuxt/tsconfig.shared.json +267 -0
- package/templates/craft/.nuxt/types/app.config.d.ts +39 -0
- package/templates/craft/.nuxt/types/build.d.ts +60 -0
- package/templates/craft/.nuxt/types/builder-env.d.ts +1 -0
- package/templates/craft/.nuxt/types/components.d.ts +217 -0
- package/templates/craft/.nuxt/types/i18n-plugin.d.ts +133 -0
- package/templates/craft/.nuxt/types/imports.d.ts +1132 -0
- package/templates/craft/.nuxt/types/layouts.d.ts +20 -0
- package/templates/craft/.nuxt/types/middleware.d.ts +7 -0
- package/templates/craft/.nuxt/types/modules.d.ts +589 -0
- package/templates/craft/.nuxt/types/nitro-config.d.ts +14 -0
- package/templates/craft/.nuxt/types/nitro-imports.d.ts +222 -0
- package/templates/craft/.nuxt/types/nitro-layouts.d.ts +17 -0
- package/templates/craft/.nuxt/types/nitro-middleware.d.ts +11 -0
- package/templates/craft/.nuxt/types/nitro-nuxt.d.ts +90 -0
- package/templates/craft/.nuxt/types/nitro-routes.d.ts +59 -0
- package/templates/craft/.nuxt/types/nitro.d.ts +3 -0
- package/templates/craft/.nuxt/types/nuxt-robots-nitro.d.ts +65 -0
- package/templates/craft/.nuxt/types/nuxt-robots-nuxt.d.ts +10 -0
- package/templates/craft/.nuxt/types/nuxt-scripts-augments.d.ts +15 -0
- package/templates/craft/.nuxt/types/nuxt-sitemap-augments.d.ts +61 -0
- package/templates/craft/.nuxt/types/nuxt-sitemap-virtual.d.ts +23 -0
- package/templates/craft/.nuxt/types/plugins.d.ts +61 -0
- package/templates/craft/.nuxt/types/runtime-config.d.ts +236 -0
- package/templates/craft/.nuxt/types/shared-app.config.d.ts +32 -0
- package/templates/craft/.nuxt/types/shared-imports.d.ts +10 -0
- package/templates/craft/.nuxt/types/vue-shim.d.ts +0 -0
- package/templates/craft/.vscode/extensions.json +7 -0
- package/templates/craft/.vscode/launch.json +15 -0
- package/templates/craft/.vscode/settings.json +73 -0
- package/templates/craft/.vscode/unocss.json +25 -0
- package/templates/craft/Dockerfile +37 -0
- package/templates/craft/README.md +75 -0
- package/templates/craft/_gitignore +24 -0
- package/templates/craft/app/app.vue +11 -0
- package/templates/craft/app/components/.gitkeep +0 -0
- package/templates/craft/app/components/LocaleSwitcher.vue +14 -0
- package/templates/craft/app/pages/[slug].vue +23 -0
- package/templates/craft/app/pages/index.vue +29 -0
- package/templates/craft/app/plugins/gsap-reduced-motion.client.ts +11 -0
- package/templates/craft/app/plugins/org-schema.server.ts +15 -0
- package/templates/craft/app/plugins/site-config.server.ts +17 -0
- package/templates/craft/eslint.config.js +73 -0
- package/templates/craft/graphql.config.ts +4 -0
- package/templates/craft/i18n/index.ts +6 -0
- package/templates/craft/i18n/locales/en.ts +3 -0
- package/templates/craft/i18n/locales/index.ts +17 -0
- package/templates/craft/i18n/locales/it.ts +3 -0
- package/templates/craft/i18n.config.ts +9 -0
- package/templates/craft/node_modules/.bin/acorn +43 -0
- package/templates/craft/node_modules/.bin/browserslist +43 -0
- package/templates/craft/node_modules/.bin/esbuild +34 -0
- package/templates/craft/node_modules/.bin/eslint +43 -0
- package/templates/craft/node_modules/.bin/eslint-config +43 -0
- package/templates/craft/node_modules/.bin/jiti +43 -0
- package/templates/craft/node_modules/.bin/nuxi +43 -0
- package/templates/craft/node_modules/.bin/nuxt +43 -0
- package/templates/craft/node_modules/.bin/rolldown +43 -0
- package/templates/craft/node_modules/.bin/rollup +43 -0
- package/templates/craft/node_modules/.bin/rollup-plugin-visualizer +43 -0
- package/templates/craft/node_modules/.bin/terser +43 -0
- package/templates/craft/node_modules/.bin/tsc +43 -0
- package/templates/craft/node_modules/.bin/vite +43 -0
- package/templates/craft/node_modules/.bin/webpack +43 -0
- package/templates/craft/node_modules/.bin/yaml +43 -0
- package/templates/craft/node_modules/.cache/jiti/craft-nuxt.config.96899b85.mjs +39 -0
- package/templates/craft/node_modules/.cache/jiti/i18n-index.2e90cf09.mjs +6 -0
- package/templates/craft/node_modules/.cache/jiti/i18n-index.a093f66a.mjs +6 -0
- package/templates/craft/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +75 -0
- package/templates/craft/node_modules/.cache/jiti/layer-craft-nuxt.config.c163264b.mjs +36 -0
- package/templates/craft/node_modules/.cache/jiti/layer-craft-parse-env.a47fc157.mjs +23 -0
- package/templates/craft/node_modules/.cache/jiti/locales-index.3d828a7c.mjs +16 -0
- package/templates/craft/node_modules/.cache/jiti/locales-index.c7376a42.mjs +16 -0
- package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +25 -0
- package/templates/craft/node_modules/.cache/jiti/modules-og-image-detect.e32906d8.mjs +25 -0
- package/templates/craft/node_modules/.cache/jiti/starter-craft-nuxt.config.573fb392.mjs +39 -0
- package/templates/craft/node_modules/.cache/nuxt/chrome-workspace.json +1 -0
- package/templates/craft/nuxt.config.ts +39 -0
- package/templates/craft/package.json +26 -0
- package/templates/craft/public/_robots.txt +2 -0
- package/templates/craft/public/favicon.ico +0 -0
- package/templates/craft/public/og-image.jpg +0 -0
- package/templates/craft/queries/Entries.gql +35 -0
- package/templates/craft/queries/Entry.gql +22 -0
- package/templates/craft/queries/OrgSchema.gql +21 -0
- package/templates/craft/queries/Page.gql +6 -0
- package/templates/craft/queries/SiteConfig.gql +6 -0
- package/templates/craft/queries/fragments/Interfaces.gql +25 -0
- package/templates/craft/queries/fragments/Media.gql +11 -0
- package/templates/craft/queries/fragments/OrgSchemaField.gql +3 -0
- package/templates/craft/queries/fragments/SEO.gql +27 -0
- package/templates/craft/schema.graphql +12283 -0
- package/templates/craft/tsconfig.json +18 -0
- package/templates/craft/uno.config.ts +15 -0
- package/templates/strapi/.env +7 -0
- package/templates/strapi/.env.example +6 -0
- package/templates/strapi/.nuxt/app.config.mjs +25 -0
- package/templates/strapi/.nuxt/components.d.ts +216 -0
- package/templates/strapi/.nuxt/eslint.config.d.mts +9 -0
- package/templates/strapi/.nuxt/eslint.config.mjs +77 -0
- package/templates/strapi/.nuxt/fetch.d.ts +1 -0
- package/templates/strapi/.nuxt/graphql-operations/index.d.ts +315 -0
- package/templates/strapi/.nuxt/graphql-operations/index.js +31 -0
- package/templates/strapi/.nuxt/i18n-route-resources.mjs +5 -0
- package/templates/strapi/.nuxt/image/providers.d.ts +53 -0
- package/templates/strapi/.nuxt/imports.d.ts +126 -0
- package/templates/strapi/.nuxt/link-checker/routes.json +1 -0
- package/templates/strapi/.nuxt/manifest/meta/7053ffc6-a484-4262-9af2-d3139913c2af.json +1 -0
- package/templates/strapi/.nuxt/module/nuxt-schema-org.d.ts +14 -0
- package/templates/strapi/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
- package/templates/strapi/.nuxt/module/nuxt-seo-utils.d.ts +36 -0
- package/templates/strapi/.nuxt/module/nuxt-site-config.d.ts +46 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.d.ts +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/client-options.js +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.d.ts +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/config.js +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/documents.d.ts +12 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.d.ts +10 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/graphql.config.js +21 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.d.ts +5 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/helpers.js +7 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-documents.graphql +0 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.d.ts +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/hook-files.js +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.d.ts +15 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/mcp.js +74 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/nitro.d.ts +19 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-hashes.d.ts +6 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.d.ts +32 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-types.js +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.d.ts +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/operation-variables.js +12 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/response.d.ts +18 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.d.ts +8 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/server-options.js +5 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.d.ts +4 -0
- package/templates/strapi/.nuxt/nuxt-graphql-middleware/sources.js +7 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/config.d.ts +57 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/config.js +10 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/nitro.d.ts +46 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.d.ts +3 -0
- package/templates/strapi/.nuxt/nuxt-multi-cache/server-options.js +2 -0
- package/templates/strapi/.nuxt/nuxt.d.ts +58 -0
- package/templates/strapi/.nuxt/nuxt.node.d.ts +28 -0
- package/templates/strapi/.nuxt/nuxt.shared.d.ts +8 -0
- package/templates/strapi/.nuxt/schema/nuxt.schema.d.ts +17 -0
- package/templates/strapi/.nuxt/schema/nuxt.schema.json +3 -0
- package/templates/strapi/.nuxt/tsconfig.app.json +456 -0
- package/templates/strapi/.nuxt/tsconfig.json +466 -0
- package/templates/strapi/.nuxt/tsconfig.node.json +243 -0
- package/templates/strapi/.nuxt/tsconfig.server.json +334 -0
- package/templates/strapi/.nuxt/tsconfig.shared.json +267 -0
- package/templates/strapi/.nuxt/types/app.config.d.ts +39 -0
- package/templates/strapi/.nuxt/types/build.d.ts +60 -0
- package/templates/strapi/.nuxt/types/builder-env.d.ts +1 -0
- package/templates/strapi/.nuxt/types/components.d.ts +221 -0
- package/templates/strapi/.nuxt/types/i18n-plugin.d.ts +133 -0
- package/templates/strapi/.nuxt/types/imports.d.ts +1120 -0
- package/templates/strapi/.nuxt/types/layouts.d.ts +20 -0
- package/templates/strapi/.nuxt/types/middleware.d.ts +7 -0
- package/templates/strapi/.nuxt/types/modules.d.ts +569 -0
- package/templates/strapi/.nuxt/types/nitro-config.d.ts +14 -0
- package/templates/strapi/.nuxt/types/nitro-imports.d.ts +220 -0
- package/templates/strapi/.nuxt/types/nitro-layouts.d.ts +17 -0
- package/templates/strapi/.nuxt/types/nitro-middleware.d.ts +11 -0
- package/templates/strapi/.nuxt/types/nitro-nuxt.d.ts +90 -0
- package/templates/strapi/.nuxt/types/nitro-routes.d.ts +44 -0
- package/templates/strapi/.nuxt/types/nitro.d.ts +3 -0
- package/templates/strapi/.nuxt/types/nuxt-robots-nitro.d.ts +65 -0
- package/templates/strapi/.nuxt/types/nuxt-robots-nuxt.d.ts +10 -0
- package/templates/strapi/.nuxt/types/nuxt-scripts-augments.d.ts +15 -0
- package/templates/strapi/.nuxt/types/nuxt-sitemap-augments.d.ts +61 -0
- package/templates/strapi/.nuxt/types/nuxt-sitemap-virtual.d.ts +23 -0
- package/templates/strapi/.nuxt/types/plugins.d.ts +58 -0
- package/templates/strapi/.nuxt/types/runtime-config.d.ts +244 -0
- package/templates/strapi/.nuxt/types/shared-app.config.d.ts +32 -0
- package/templates/strapi/.nuxt/types/shared-imports.d.ts +10 -0
- package/templates/strapi/.nuxt/types/vue-shim.d.ts +0 -0
- package/templates/strapi/README.md +75 -0
- package/templates/strapi/_gitignore +24 -0
- package/templates/strapi/app/app.vue +5 -0
- package/templates/strapi/app/components/DynamicZone.vue +75 -0
- package/templates/strapi/app/components/SectionSingleImage.vue +39 -0
- package/templates/strapi/app/components/VideoProgress.vue +34 -0
- package/templates/strapi/app/pages/[slug].vue +28 -0
- package/templates/strapi/app/pages/index.vue +12 -0
- package/templates/strapi/app/plugins/gsap-reduced-motion.client.ts +11 -0
- package/templates/strapi/app/plugins/site-config.server.ts +17 -0
- package/templates/strapi/eslint.config.js +74 -0
- package/templates/strapi/node_modules/.bin/esbuild +34 -0
- package/templates/strapi/node_modules/.bin/jiti +43 -0
- package/templates/strapi/node_modules/.bin/nuxi +43 -0
- package/templates/strapi/node_modules/.bin/nuxt +43 -0
- package/templates/strapi/node_modules/.bin/rolldown +43 -0
- package/templates/strapi/node_modules/.bin/rollup +43 -0
- package/templates/strapi/node_modules/.bin/rollup-plugin-visualizer +43 -0
- package/templates/strapi/node_modules/.bin/terser +43 -0
- package/templates/strapi/node_modules/.bin/tsc +43 -0
- package/templates/strapi/node_modules/.bin/vite +43 -0
- package/templates/strapi/node_modules/.bin/webpack +43 -0
- package/templates/strapi/node_modules/.bin/yaml +43 -0
- package/templates/strapi/node_modules/.cache/jiti/layer-base-nuxt.config.5fd074c8.mjs +75 -0
- package/templates/strapi/node_modules/.cache/jiti/layer-strapi-nuxt.config.29354bb2.mjs +33 -0
- package/templates/strapi/node_modules/.cache/jiti/layer-strapi-parse-env.46647a07.mjs +23 -0
- package/templates/strapi/node_modules/.cache/jiti/modules-og-image-detect.3072b6e2.mjs +25 -0
- package/templates/strapi/node_modules/.cache/jiti/modules-vue-strapi-blocks-renderer.5518edfe.mjs +22 -0
- package/templates/strapi/node_modules/.cache/jiti/starter-strapi-nuxt.config.b85f8ac6.mjs +15 -0
- package/templates/strapi/node_modules/.cache/jiti/strapi-nuxt.config.5d4f493c.mjs +15 -0
- package/templates/strapi/node_modules/.cache/nuxt/chrome-workspace.json +1 -0
- package/templates/strapi/nuxt.config.ts +15 -0
- package/templates/strapi/package.json +19 -0
- package/templates/strapi/public/_robots.txt +2 -0
- package/templates/strapi/public/favicon.ico +0 -0
- package/templates/strapi/public/og-image.jpg +0 -0
- package/templates/strapi/queries/PageCustomPage.gql +5 -0
- package/templates/strapi/queries/PageHome.gql +15 -0
- package/templates/strapi/queries/fragments/MetaSocial.gql +9 -0
- package/templates/strapi/queries/fragments/PageCustomPage.gql +32 -0
- package/templates/strapi/queries/fragments/SectionError.gql +4 -0
- package/templates/strapi/queries/fragments/SectionSingleImage.gql +7 -0
- package/templates/strapi/queries/fragments/SeoMeta.gql +16 -0
- package/templates/strapi/queries/fragments/StrapiFile.gql +8 -0
- package/templates/strapi/schema.graphql +1091 -0
- package/templates/strapi/tsconfig.json +18 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _i18n = await jitiImport("./i18n");var _default = exports.default =
|
|
2
|
+
|
|
3
|
+
defineNuxtConfig({
|
|
4
|
+
extends: [
|
|
5
|
+
'@studio-fes/layer-craft'],
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
eslint: {
|
|
9
|
+
config: {
|
|
10
|
+
standalone: false,
|
|
11
|
+
nuxt: {
|
|
12
|
+
sortConfigKeys: true
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
graphqlMiddleware: {
|
|
18
|
+
downloadSchema: 'dev-only'
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
i18n: {
|
|
22
|
+
defaultLocale: _i18n.defaultLocale,
|
|
23
|
+
locales: _i18n.locales,
|
|
24
|
+
strategy: 'prefix_except_default',
|
|
25
|
+
detectBrowserLanguage: false
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
multiCache: {
|
|
29
|
+
api: {
|
|
30
|
+
enabled: true,
|
|
31
|
+
authorization: import.meta.dev ? false : 'hunter',
|
|
32
|
+
cacheTagInvalidationDelay: 3000 // 3 seconds
|
|
33
|
+
},
|
|
34
|
+
data: {
|
|
35
|
+
enabled: true
|
|
36
|
+
},
|
|
37
|
+
disableCacheOverviewLogMessage: true
|
|
38
|
+
}
|
|
39
|
+
}); /* v9-14af1bb3736b5768 */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"uuid":"8907e658-a075-4279-9c70-9ecddf95a2d1"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defaultLocale, locales } from './i18n'
|
|
2
|
+
|
|
3
|
+
export default defineNuxtConfig({
|
|
4
|
+
extends: [
|
|
5
|
+
'@studio-fes/layer-craft',
|
|
6
|
+
],
|
|
7
|
+
|
|
8
|
+
eslint: {
|
|
9
|
+
config: {
|
|
10
|
+
standalone: false,
|
|
11
|
+
nuxt: {
|
|
12
|
+
sortConfigKeys: true,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
graphqlMiddleware: {
|
|
18
|
+
downloadSchema: 'dev-only',
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
i18n: {
|
|
22
|
+
defaultLocale,
|
|
23
|
+
locales,
|
|
24
|
+
strategy: 'prefix_except_default',
|
|
25
|
+
detectBrowserLanguage: false,
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
multiCache: {
|
|
29
|
+
api: {
|
|
30
|
+
enabled: true,
|
|
31
|
+
authorization: import.meta.dev ? false : 'hunter',
|
|
32
|
+
cacheTagInvalidationDelay: 3000, // 3 seconds
|
|
33
|
+
},
|
|
34
|
+
data: {
|
|
35
|
+
enabled: true,
|
|
36
|
+
},
|
|
37
|
+
disableCacheOverviewLogMessage: true,
|
|
38
|
+
},
|
|
39
|
+
})
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "starter-craft",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "nuxt build",
|
|
7
|
+
"dev": "nuxt dev",
|
|
8
|
+
"generate": "nuxt generate",
|
|
9
|
+
"preview": "nuxt preview",
|
|
10
|
+
"postinstall": "nuxt prepare"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@studio-fes/layer-base": "^0.3.9",
|
|
14
|
+
"@studio-fes/layer-craft": "^0.3.9",
|
|
15
|
+
"nuxt": "^4.5.1",
|
|
16
|
+
"vue": "^3.5.40",
|
|
17
|
+
"vue-router": "^5.2.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@antfu/eslint-config": "^9.2.0",
|
|
21
|
+
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
22
|
+
"@unocss/eslint-config": "^66.7.5",
|
|
23
|
+
"eslint": "^10.8.0",
|
|
24
|
+
"eslint-plugin-format": "^2.0.1"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
query Entries(
|
|
2
|
+
$section: [String]
|
|
3
|
+
$limit: Int = null
|
|
4
|
+
$offset: Int = null
|
|
5
|
+
$orderBy: String = null
|
|
6
|
+
$excludeIds: [QueryArgument] = null
|
|
7
|
+
$relatedToEntries: [EntryRelationCriteriaInput]
|
|
8
|
+
$relatedTo: [QueryArgument]
|
|
9
|
+
$search: String = null
|
|
10
|
+
$type: [String] = null
|
|
11
|
+
) {
|
|
12
|
+
entries(
|
|
13
|
+
section: $section
|
|
14
|
+
limit: $limit
|
|
15
|
+
offset: $offset
|
|
16
|
+
orderBy: $orderBy
|
|
17
|
+
id: $excludeIds
|
|
18
|
+
relatedToEntries: $relatedToEntries
|
|
19
|
+
relatedTo: $relatedTo
|
|
20
|
+
search: $search
|
|
21
|
+
type: $type
|
|
22
|
+
) {
|
|
23
|
+
...EntryInterfaceType
|
|
24
|
+
}
|
|
25
|
+
entryCount(
|
|
26
|
+
section: $section
|
|
27
|
+
limit: $limit
|
|
28
|
+
offset: $offset
|
|
29
|
+
orderBy: $orderBy
|
|
30
|
+
id: $excludeIds
|
|
31
|
+
relatedToEntries: $relatedToEntries
|
|
32
|
+
search: $search
|
|
33
|
+
type: $type
|
|
34
|
+
)
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
query Entry(
|
|
2
|
+
$section: [String]
|
|
3
|
+
$slug: [String]
|
|
4
|
+
$uri: [String]
|
|
5
|
+
$site: [String]
|
|
6
|
+
$type: [String]
|
|
7
|
+
$level: Int
|
|
8
|
+
$hasDescendants: Boolean
|
|
9
|
+
) {
|
|
10
|
+
entry(
|
|
11
|
+
section: $section
|
|
12
|
+
slug: $slug
|
|
13
|
+
uri: $uri
|
|
14
|
+
site: $site
|
|
15
|
+
type: $type
|
|
16
|
+
level: $level
|
|
17
|
+
hasDescendants: $hasDescendants
|
|
18
|
+
) {
|
|
19
|
+
...EntryInterfaceType
|
|
20
|
+
...PageEntry
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
query OrgSchema($site: String!) {
|
|
2
|
+
orgSchema(site: $site) {
|
|
3
|
+
type
|
|
4
|
+
name
|
|
5
|
+
legalName
|
|
6
|
+
url
|
|
7
|
+
logoUrl
|
|
8
|
+
email
|
|
9
|
+
telephone
|
|
10
|
+
sameAs
|
|
11
|
+
addresses {
|
|
12
|
+
streetAddress
|
|
13
|
+
addressLocality
|
|
14
|
+
addressRegion
|
|
15
|
+
postalCode
|
|
16
|
+
addressCountry
|
|
17
|
+
priceRange
|
|
18
|
+
openingHours
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
fragment Localized on EntryInterface {
|
|
2
|
+
language
|
|
3
|
+
locale: siteHandle
|
|
4
|
+
slug
|
|
5
|
+
uri
|
|
6
|
+
ancestors {
|
|
7
|
+
language
|
|
8
|
+
locale: siteHandle
|
|
9
|
+
slug
|
|
10
|
+
uri
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
fragment EntryInterfaceType on EntryInterface {
|
|
15
|
+
id
|
|
16
|
+
url
|
|
17
|
+
slug
|
|
18
|
+
title
|
|
19
|
+
sectionHandle
|
|
20
|
+
__typename
|
|
21
|
+
|
|
22
|
+
localized {
|
|
23
|
+
...Localized
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
fragment seoSocialData on Ether_SeoSocialData {
|
|
2
|
+
description
|
|
3
|
+
image {
|
|
4
|
+
...Media
|
|
5
|
+
}
|
|
6
|
+
title
|
|
7
|
+
__typename
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
fragment SEO on Ether_SeoData {
|
|
11
|
+
title
|
|
12
|
+
description
|
|
13
|
+
keywords {
|
|
14
|
+
keyword
|
|
15
|
+
rating
|
|
16
|
+
__typename
|
|
17
|
+
}
|
|
18
|
+
social {
|
|
19
|
+
facebook {
|
|
20
|
+
...seoSocialData
|
|
21
|
+
}
|
|
22
|
+
twitter {
|
|
23
|
+
...seoSocialData
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
__typename
|
|
27
|
+
}
|