Skip to content

Commit

Permalink
chore: bump deps and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 29, 2024
1 parent a1c5877 commit ddfb974
Show file tree
Hide file tree
Showing 19 changed files with 1,152 additions and 777 deletions.
2 changes: 1 addition & 1 deletion docs/components/BouncingBots.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts" setup>
import { useMouseInElement } from '@vueuse/core'
import { onMounted, ref, useElementHover, useIntervalFn, watch } from '#imports'
import { useMouseInElement } from '@vueuse/core'
defineProps<{
icon: string
Expand Down
8 changes: 3 additions & 5 deletions docs/components/HomePage.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { useScript } from '@unhead/vue'
import { useElementHover, useTransition, useWindowScroll } from '@vueuse/core'
import { ref } from 'vue'
import { useScript } from '@unhead/vue'
import { useModuleList } from '~/utils/data'
definePageMeta({
Expand Down Expand Up @@ -119,11 +119,9 @@ const newestModules = Object.values(moduleStats).map((ms) => {
publishedAt: new Date(ms.stats.publishedAt),
},
}
}).filter(m => m.module && m.stats?.publishedAt).sort((a, b) => {
return b.stats.publishedAt.getTime() - a.stats.publishedAt.getTime()
})
.filter(m => m.module && m.stats?.publishedAt)
.sort((a, b) => {
return b.stats.publishedAt.getTime() - a.stats.publishedAt.getTime()
})
const totalContributors = useRuntimeConfig().public.totalContributors
const uniqueContributors = useRuntimeConfig().public.uniqueContributors
Expand Down
2 changes: 1 addition & 1 deletion docs/components/OgImage/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const modules = useModuleList()
</svg>
</div>
<div class="flex justify-center gap-7">
<UIcon v-for="(module, key) in modules" mode="svg" :key="key" dynamic class="text-blue-300 w-[100px] h-[100px]" :name="module.icon" />
<UIcon v-for="(module, key) in modules" :key="key" mode="svg" dynamic class="text-blue-300 w-[100px] h-[100px]" :name="module.icon" />
</div>
<div class="flex flex-row justify-center">
<div class="flex justify-center items-center gap-3 flex-row text-[30px] text-purple-600 ">
Expand Down
2 changes: 1 addition & 1 deletion docs/components/OgImage/Module.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const themeRgb = computed(() => {
<div class="h-full w-full relative">
<div class="flex flex-row justify-between items-center">
<div class="text-[40px] flex items-center gap-3 flex-row">
<UIcon v-if="icon" class="text-blue-500 w-20 h-20" mode="svg" dynamic :name="icon" />
<UIcon v-if="icon" class="text-blue-500 w-20 h-20" mode="svg" dynamic :name="icon" />
<div>
<div class="text-[40px] font-mono">
{{ moduleName }}
Expand Down
2 changes: 1 addition & 1 deletion docs/content/2.sitemap/1.integrations/1.content.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ If you'd like to set up a more automated Nuxt Content integration and your not u
An example of what this might look like is below, customize to your own needs.

```ts [server/api/__sitemap__/urls.ts]
import { defineEventHandler } from 'h3'
import type { ParsedContent } from '@nuxt/content/dist/runtime/types'
import { serverQueryContent } from '#content/server'
import { asSitemapUrl, defineSitemapEventHandler } from '#imports'
import { defineEventHandler } from 'h3'

export default defineSitemapEventHandler(async (e) => {
const contentList = (await serverQueryContent(e).find()) as ParsedContent[]
Expand Down
2 changes: 1 addition & 1 deletion docs/content/2.sitemap/2.guides/0.filtering-urls.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ For example, `/foo/**` will work but `/foo/**/bar` will not. To get around this

### Regex Filtering

Filtering using regex is more powerful and can be used to match more complex patterns. It's recommended to pass a
Filtering using regex is more powerful and can be used to match more complex patterns. It's recommended to pass a
`RegExp` object explicitly.

```ts [nuxt.config.ts]
Expand Down
3 changes: 2 additions & 1 deletion docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export default defineNuxtConfig({
if (d.contributors)
d.contributors.forEach(c => uniqueContributors.add(c.id))
return { id: m, stats: d.stats || false }
}).catch(() => {
})
.catch(() => {
return {
id: m,
stats: {
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"@iconify-json/logos": "^1.2.0",
"@iconify-json/noto": "^1.2.0",
"@iconify-json/ph": "^1.2.0",
"@iconify-json/simple-icons": "^1.2.1",
"@iconify-json/simple-icons": "^1.2.4",
"@iconify-json/uil": "^1.2.0",
"@nuxt/content": "^2.13.2",
"@nuxt/devtools": "1.4.2",
"@nuxt/image": "^1.8.0",
"@nuxt/scripts": "^0.8.5",
"@nuxt/scripts": "^0.9.4",
"@nuxt/ui": "2.17.0",
"@nuxt/ui-pro": "1.3.1",
"@vueuse/nuxt": "^11.0.3",
"@vueuse/nuxt": "^11.1.0",
"nuxt": "3.13.1",
"nuxt-lego": "^0.0.14",
"nuxt-lodash": "^2.5.3",
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@nuxtjs/seo",
"type": "module",
"version": "2.0.0-rc.21",
"packageManager": "pnpm@9.9.0",
"packageManager": "pnpm@9.11.0",
"description": "The all-in-one SEO layer for Nuxt 3.",
"author": {
"name": "Harlan Wilton",
Expand Down Expand Up @@ -43,35 +43,35 @@
"typecheck": "npx vue-tsc --noEmit --strict"
},
"dependencies": {
"@nuxt/kit": "^3.13.1",
"@nuxt/kit": "^3.13.2",
"@nuxtjs/robots": "^4.1.7",
"@nuxtjs/sitemap": "6.0.1",
"defu": "^6.1.4",
"nuxt-link-checker": "^3.1.1",
"nuxt-link-checker": "^3.1.2",
"nuxt-og-image": "3.0.2",
"nuxt-schema-org": "^3.4.0",
"nuxt-seo-experiments": "^4.0.1",
"nuxt-site-config": "^2.2.17",
"nuxt-site-config-kit": "^2.2.17",
"nuxt-site-config": "^2.2.18",
"nuxt-site-config-kit": "^2.2.18",
"pkg-types": "^1.2.0",
"ufo": "^1.5.4"
},
"devDependencies": {
"@antfu/eslint-config": "^3.6.0",
"@antfu/eslint-config": "^3.7.3",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "3.13.1",
"@nuxt/test-utils": "^3.14.2",
"@nuxt/ui": "^2.18.4",
"@nuxtjs/i18n": "^8.5.3",
"@nuxt/ui": "^2.18.6",
"@nuxtjs/i18n": "^8.5.5",
"@vue/test-utils": "^2.4.6",
"bumpp": "^9.5.2",
"eslint": "^9.10.0",
"execa": "^9.3.1",
"bumpp": "^9.6.1",
"eslint": "^9.11.1",
"execa": "^9.4.0",
"happy-dom": "^15.7.4",
"nitropack": "^2.9.7",
"nuxt": "3.13.1",
"typescript": "5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
},
"build": {
"externals": [
Expand Down
Loading

0 comments on commit ddfb974

Please sign in to comment.