From a9632d2a9fb7680683654444ffee6ffc98f62c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20GUILLOUX?= Date: Fri, 16 Dec 2022 01:51:36 +0100 Subject: [PATCH] feat(deps): fix all deps versions ; improve schema --- nuxt.schema.ts | 43 +++++++++++++++++++++++++++++++++++++++++++ package.json | 12 ++++++------ pnpm-lock.yaml | 24 ++++++++++++------------ 3 files changed, 61 insertions(+), 18 deletions(-) diff --git a/nuxt.schema.ts b/nuxt.schema.ts index 79e64a4c4..789b26b84 100644 --- a/nuxt.schema.ts +++ b/nuxt.schema.ts @@ -1,18 +1,29 @@ export default defineNuxtConfigSchema({ appConfig: { + /** + * Docus theme configuration. + * + * @studio-icon material-symbols:docs + */ docus: { /** * Website title, used as header default title and meta title. + * + * @studio-icon material-symbols:title */ title: 'Docus', /** * Website description, used for meta description. + * + * @studio-icon material-symbols:description */ description: 'The best place to start your documentation.', /** * Cover image. * * @example '/cover.jpg' + * + * @studio-icon dashicons:cover-image */ image: 'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png', @@ -20,23 +31,48 @@ export default defineNuxtConfigSchema({ * Social links. * * Will be used in Social Icons component, in AppHeader and AppFooter. + * + * @studio-icon material-symbols:share-outline */ socials: { /** * Twitter social handle * @example 'nuxt_js' + * @studio-icon simple-icons:twitter */ twitter: '', /** * GitHub org or repository * @example 'nuxt/framework' + * @studio-icon simple-icons:github */ github: '', + /** + * Facebook page url + * @example https://www.facebook.com/groups/nuxtjs + * @studio-icon simple-icons:facebook + */ facebook: '', + /** + * Instagram page url + * @example https://www.instagram.com/wearenuxt + * @studio-icon simple-icons:instagram + */ instagram: '', + /** + * Instagram page url + * @example https://www.youtube.com/@NuxtLabs + * @studio-icon simple-icons:youtube + */ youtube: '', + /** + * Medium page url + * @example https://medium.com/nuxt + * @studio-icon simple-icons:medium + */ medium: '' }, + aside: { /** * The level to which the navigation should be scaled. @@ -61,6 +97,8 @@ export default defineNuxtConfigSchema({ * Title to be displayed in header or as aria-label if logo is defined * * Default to docus.title + * + * @studio-icon material-symbols:title */ title: '', /** @@ -81,6 +119,7 @@ export default defineNuxtConfigSchema({ * Paths to be excluded from header links. * * @type {string[]} + * */ exclude: [] }, @@ -91,6 +130,8 @@ export default defineNuxtConfigSchema({ * Object configuring the credits part of footer. * * @type {false|object} + * + * @studio-icon material-symbols:copyright */ credits: { /** @@ -103,6 +144,8 @@ export default defineNuxtConfigSchema({ }, /** * Icons to be added to Social Icons in footer. + * + * @studio-icon material-symbols:add-link */ iconLinks: { $schema: { diff --git a/package.json b/package.json index f4b0ffecd..bc0a3cba6 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "composables", "layouts", "plugins", - "app.config.ts", + "nuxt.schema.ts", "app.vue", "nuxt.config.ts", "tokens.config.ts" @@ -30,11 +30,11 @@ "@docsearch/js": "^3.3.0", "@fontsource/inter": "^4.5.14", "@iconify/vue": "^4.0.2", - "@nuxt-themes/elements": "^0.2.2", - "@nuxt-themes/tokens": "latest", - "@nuxt-themes/typography": "latest", - "@nuxt/content": "^2.2.2", - "@nuxthq/studio": "^0.3.5", + "@nuxt-themes/elements": "^0.2.3", + "@nuxt-themes/tokens": "^1.2.2", + "@nuxt-themes/typography": "^0.1.7", + "@nuxt/content": "^2.3.0", + "@nuxthq/studio": "^0.3.6", "@nuxtjs/algolia": "^1.3.1", "@nuxtjs/color-mode": "^3.2.0", "@vueuse/core": "^9.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e840a5d87..f04866dc6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ specifiers: '@nuxt-themes/elements': ^0.2.2 '@nuxt-themes/tokens': latest '@nuxt-themes/typography': latest - '@nuxt/content': ^2.2.2 - '@nuxthq/studio': ^0.3.5 + '@nuxt/content': ^2.3.0 + '@nuxthq/studio': ^0.3.6 '@nuxtjs/algolia': ^1.3.1 '@nuxtjs/color-mode': ^3.2.0 '@nuxtjs/eslint-config-typescript': ^12.0.0 @@ -33,8 +33,8 @@ dependencies: '@nuxt-themes/elements': 0.2.2_vue@3.2.45 '@nuxt-themes/tokens': 1.2.0_vue@3.2.45 '@nuxt-themes/typography': 0.1.4_vue@3.2.45 - '@nuxt/content': 2.2.2 - '@nuxthq/studio': 0.3.5 + '@nuxt/content': 2.3.0 + '@nuxthq/studio': 0.3.6 '@nuxtjs/algolia': 1.3.1_vue@3.2.45 '@nuxtjs/color-mode': 3.2.0 '@vueuse/core': 9.6.0_vue@3.2.45 @@ -704,8 +704,8 @@ packages: - vue dev: false - /@nuxt/content/2.2.2: - resolution: {integrity: sha512-qHkyeD0cVRjd+KJH82+V4Twn1QTJh43m9VGMjljLUvZVdFGxU/ZAe4gq0rdTbi8CtCZNvcR9vvNApYjOP1LNYA==} + /@nuxt/content/2.3.0: + resolution: {integrity: sha512-7IudXOiycHXWxRDe7tWFwnIVT6bp0YG5O4wttCYYd7cvyjX3k6d3zD2j1IkjJMhfqU2PWQ/Wd+A2+oeiLNg3gA==} dependencies: '@nuxt/kit': 3.0.0 consola: 2.15.3 @@ -761,7 +761,7 @@ packages: c12: 1.0.1 consola: 2.15.3 defu: 6.1.1 - globby: 13.1.2 + globby: 13.1.3 hash-sum: 2.0.0 ignore: 5.2.1 jiti: 1.16.0 @@ -774,7 +774,7 @@ packages: semver: 7.3.8 unctx: 2.1.1 unimport: 1.0.1 - untyped: 1.0.0 + untyped: 1.2.0 transitivePeerDependencies: - rollup - supports-color @@ -787,7 +787,7 @@ packages: c12: 1.0.1 consola: 2.15.3 defu: 6.1.1 - globby: 13.1.2 + globby: 13.1.3 hash-sum: 2.0.0 ignore: 5.2.1 jiti: 1.16.0 @@ -800,7 +800,7 @@ packages: semver: 7.3.8 unctx: 2.1.1 unimport: 1.0.1_rollup@2.79.1 - untyped: 1.0.0 + untyped: 1.2.0 transitivePeerDependencies: - rollup - supports-color @@ -929,8 +929,8 @@ packages: - vls - vti - /@nuxthq/studio/0.3.5: - resolution: {integrity: sha512-FAAB36wqfGVMDCagVN2HEBj4wFcp9Fm5Im02/21nVicWnwPfA3XVTyrqKe1cKE1H1rM5we+M8GKiTVNOgtBcUA==} + /@nuxthq/studio/0.3.6: + resolution: {integrity: sha512-7yukA2Vi/GHKSa7KMriwOKjVhTS50n0H6oGv79dt7Y00I2OUh+I4a61xIDrBawG3d24kiYWoivTbR2D/ejusUQ==} dependencies: '@nuxt/kit': 3.0.0 '@nuxt/schema': 3.0.0