Skip to content

Commit d554c50

Browse files
authored
chore: update a few nuxt modules (#2749)
1 parent 4024a91 commit d554c50

File tree

6 files changed

+797
-499
lines changed

6 files changed

+797
-499
lines changed

components/NavBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
<script lang="ts" setup>
190190
import { useApolloClient, useMutation } from '@vue/apollo-composable'
191191
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'
192-
import { NPopover } from 'naive-ui'
192+
import type { NPopover } from 'naive-ui'
193193
import { gql } from '~/apollo'
194194
import { cacheCurrentUser } from '~/apollo/cache'
195195
import { useUiStore } from '~/store'

config.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ export interface Config {
6868
githubRepoToken: string
6969
public: {
7070
environment: Environment
71-
// Only here to fix typescript error in @nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue
72-
mdc: {
73-
useNuxtImage: boolean
74-
}
7571
}
7672
}
7773

@@ -89,9 +85,6 @@ export function constructConfig() {
8985
githubRepoToken: process.env.GITHUB_REPO_TOKEN ?? 'UNDEFINED',
9086
public: {
9187
environment: getEnvironment(),
92-
mdc: {
93-
useNuxtImage: false,
94-
},
9588
},
9689
} satisfies Config
9790
}

layouts/content.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<template>
22
<div>
3-
<SeoKit
4-
site-name="JabRef - Free Reference Manager - Stay on top of your Literature"
5-
site-description="A free reference manager that helps you to discover, collect, organize and cite your scholarly literature and research in an efficient way."
6-
/>
73
<SchemaOrgOrganization
84
name="JabRef e.V."
95
logo="https://www.jabref.org/img/JabRef-icon-256.png"

nuxt.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ export default defineNuxtConfig({
103103
** Nuxt.js modules
104104
*/
105105
modules: [
106+
// Preset for configuring SEO
107+
// https://nuxtseo.com/nuxt-seo
108+
'@nuxtjs/seo',
106109
// https://go.nuxtjs.dev/tailwindcss
107110
'@nuxtjs/tailwindcss',
108111
// Add support for naive-ui
@@ -127,9 +130,6 @@ export default defineNuxtConfig({
127130
// Support for end-to-end testing and unit testing (and Vitest integration)
128131
// https://nuxt.com/docs/getting-started/testing
129132
'@nuxt/test-utils/module',
130-
// Preset for configuring SEO
131-
// https://nuxtseo.com/nuxt-seo
132-
'@nuxtjs/seo',
133133
// Add authentication support
134134
// https://github.com/atinux/nuxt-auth-utils
135135
'nuxt-auth-utils',

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"@apollo/utils.keyvaluecache": "4.0.0",
8484
"@azure/core-rest-pipeline": "1.22.0",
8585
"@azure/static-web-apps-cli": "2.0.6",
86-
"@bg-dev/nuxt-naiveui": "1.14.0",
86+
"@bg-dev/nuxt-naiveui": "v2.0.0-rc.5",
8787
"@chromatic-com/storybook": "4.1.0",
8888
"@graphql-codegen/add": "5.0.3",
8989
"@graphql-codegen/cli": "5.0.7",
@@ -96,11 +96,11 @@
9696
"@graphql-tools/merge": "9.1.1",
9797
"@graphql-tools/utils": "10.9.1",
9898
"@graphql-typed-document-node/core": "3.2.0",
99-
"@nuxt/content": "3.4.0",
99+
"@nuxt/content": "3.6.3",
100100
"@nuxt/eslint": "1.5.2",
101101
"@nuxt/kit": "3.15.0",
102102
"@nuxt/test-utils": "3.15.1",
103-
"@nuxtjs/seo": "3.0.2",
103+
"@nuxtjs/seo": "3.1.0",
104104
"@nuxtjs/storybook": "npm:@nuxtjs/storybook@nightly",
105105
"@tailwindcss/forms": "0.5.10",
106106
"@tailwindcss/line-clamp": "0.4.4",

0 commit comments

Comments
 (0)