Skip to content

Commit

Permalink
fix!: upgrade to nuxt-site-config v3
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Nov 24, 2024
1 parent e511c19 commit 6c610b8
Show file tree
Hide file tree
Showing 7 changed files with 1,424 additions and 1,907 deletions.
12 changes: 6 additions & 6 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"private": true,
"devDependencies": {
"@iconify-json/carbon": "^1.2.4",
"@nuxt/devtools-kit": "^1.6.0",
"@nuxt/devtools-ui-kit": "^1.6.0",
"@nuxt/kit": "^3.13.2",
"@nuxt/devtools-kit": "^1.6.1",
"@nuxt/devtools-ui-kit": "^1.6.1",
"@nuxt/kit": "^3.14.1592",
"floating-vue": "5.2.2",
"nuxt": "^3.13.2",
"shiki": "^1.22.2",
"vue": "3.5.6",
"nuxt": "^3.14.1592",
"shiki": "^1.23.1",
"vue": "3.5.13",
"vue-router": "^4.4.5"
}
}
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@nuxtjs/sitemap",
"type": "module",
"version": "6.1.5",
"packageManager": "pnpm@9.12.3",
"packageManager": "pnpm@9.14.2",
"description": "Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.",
"author": {
"name": "Harlan Wilton",
Expand Down Expand Up @@ -49,42 +49,41 @@
"test": "vitest"
},
"dependencies": {
"@nuxt/devtools-kit": "^1.6.0",
"@nuxt/kit": "^3.14.0",
"@nuxt/devtools-kit": "^1.6.1",
"@nuxt/kit": "^3.14.1592",
"chalk": "^5.3.0",
"defu": "^6.1.4",
"h3-compression": "^0.3.2",
"nuxt-site-config": "^2.2.21",
"nuxt-site-config-kit": "^2.2.21",
"nuxt-site-config": "^3.0.4",
"ofetch": "^1.4.1",
"pathe": "^1.1.2",
"pkg-types": "^1.2.1",
"radix3": "^1.1.2",
"semver": "^7.6.3",
"sirv": "^3.0.0",
"site-config-stack": "^2.2.21",
"ufo": "^1.5.4"
},
"devDependencies": {
"@nuxt/content": "^2.13.4",
"@nuxt/eslint-config": "^0.6.1",
"@nuxt/eslint-config": "^0.7.1",
"@nuxt/module-builder": "0.8.4",
"@nuxt/test-utils": "^3.14.4",
"@nuxt/ui": "^2.18.7",
"@nuxtjs/i18n": "9.0.0",
"@nuxtjs/robots": "4.1.11",
"@nuxt/ui": "^2.19.2",
"@nuxtjs/i18n": "9.1.0",
"@nuxtjs/robots": "5.0.0",
"bumpp": "^9.8.1",
"eslint": "9.14.0",
"eslint-plugin-n": "^17.12.0",
"eslint": "9.15.0",
"eslint-plugin-n": "^17.14.0",
"execa": "^9.5.1",
"nuxt": "^3.14.0",
"nuxt-i18n-micro": "^1.31.6",
"nuxt": "^3.14.1592",
"nuxt-i18n-micro": "^1.33.0",
"typescript": "5.6.3",
"vitest": "^2.1.4"
"vitest": "^2.1.5"
},
"resolutions": {
"postcss": "8.4.47",
"vue": "3.5.6"
"typescript": "5.6.3",
"vue": "3.5.13"
},
"build": {
"externals": [
Expand Down
3,280 changes: 1,399 additions & 1,881 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
useLogger,
} from '@nuxt/kit'
import { joinURL, withBase, withLeadingSlash, withoutLeadingSlash, withoutTrailingSlash } from 'ufo'
import { installNuxtSiteConfig } from 'nuxt-site-config-kit'
import { installNuxtSiteConfig } from 'nuxt-site-config/kit'
import { defu } from 'defu'
import type { NitroRouteConfig } from 'nitropack'
import { readPackageJSON } from 'pkg-types'
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/sitemap/builder/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { resolveSitePath } from 'site-config-stack/urls'
import { resolveSitePath } from 'nuxt-site-config/urls'
import { joinURL, withHttps } from 'ufo'
import type {
AlternativeEntry, AutoI18nConfig,
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/sitemap/nitro.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getQuery, setHeader, createError } from 'h3'
import type { H3Event } from 'h3'
import { fixSlashes } from 'site-config-stack/urls'
import { fixSlashes } from 'nuxt-site-config/urls'
import { defu } from 'defu'
import type {
ModuleRuntimeConfig,
Expand Down
2 changes: 1 addition & 1 deletion src/util/extractSitemapMetaFromHtml.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withSiteUrl } from 'nuxt-site-config-kit/urls'
import { withSiteUrl } from 'nuxt-site-config/kit'
import { parseURL } from 'ufo'
import { tryUseNuxt } from '@nuxt/kit'
import type { ResolvedSitemapUrl, SitemapUrl, VideoEntry } from '../runtime/types'
Expand Down

0 comments on commit 6c610b8

Please sign in to comment.