From 0e7db9401f86446dac5c8fa4deca50bfe779007e Mon Sep 17 00:00:00 2001 From: ashcolor Date: Tue, 15 Aug 2023 15:08:06 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chg:=20sitemap=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.ts | 6 ++-- package.json | 2 +- yarn.lock | 88 +++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 74 insertions(+), 22 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index a2f1d26..58addd3 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -63,8 +63,10 @@ export default defineNuxtConfig({ site: { url: "https://blog.ashcolor.work", - "/_story": { index: false }, - "/_story/**": { index: false }, + }, + + sitemap: { + exclude: ["/_story"], }, gtag: { diff --git a/package.json b/package.json index 592e1c7..c65e610 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "nuxt": "^3.6.5", "nuxt-gtag": "^0.5.7", "nuxt-simple-robots": "^3.0.2", - "nuxt-simple-sitemap": "^3.0.8", + "nuxt-simple-sitemap": "^3.1.5", "prettier": "^2.8.8", "sass": "^1.63.4", "tailwindcss": "^3.3.2", diff --git a/yarn.lock b/yarn.lock index 7fa41da..badbe44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1018,14 +1018,14 @@ "@nuxt/schema" "^3.6.0" execa "^7.1.1" -"@nuxt/devtools-kit@^0.6.7": - version "0.6.7" - resolved "https://registry.yarnpkg.com/@nuxt/devtools-kit/-/devtools-kit-0.6.7.tgz#6a88f0d99f24f353bad8a953831a234ed09b924a" - integrity sha512-DEJBLspLRr3zFu/DAHs8Q1o9tgzELt24qDqsuqTEKqcw/2j1iu1TefvUdmXkJo6s8Qk3GI6e3QxrvtEE3mwKqA== +"@nuxt/devtools-kit@^0.7.4": + version "0.7.6" + resolved "https://registry.yarnpkg.com/@nuxt/devtools-kit/-/devtools-kit-0.7.6.tgz#9577c64872c15b5153314e8c308d1424f37c485c" + integrity sha512-2jSQ1rgStZifRHtfsdqmmvq/O5NskLCwg34JPchBRAx9Kv5IadABlBIWz1jLuaGarI/jsEEAmA5EpfxI5z/PJQ== dependencies: - "@nuxt/kit" "^3.6.1" - "@nuxt/schema" "^3.6.1" - execa "^7.1.1" + "@nuxt/kit" "^3.6.5" + "@nuxt/schema" "^3.6.5" + execa "^7.2.0" "@nuxt/devtools-wizard@0.6.4": version "0.6.4" @@ -1219,7 +1219,7 @@ unimport "^3.0.10" untyped "^1.3.2" -"@nuxt/schema@3.6.2", "@nuxt/schema@^3.6.1", "@nuxt/schema@^3.6.2": +"@nuxt/schema@3.6.2", "@nuxt/schema@^3.6.2": version "3.6.2" resolved "https://registry.yarnpkg.com/@nuxt/schema/-/schema-3.6.2.tgz#762b2af9b23c0d5bfec5ef4dc00af05ba80f561e" integrity sha512-wxb1/C5ozly5IwX0IRjVGml1n2KjZrTKsf6lTk3fdjUpW105kAvYX4j66PDOdBRE4vCwCsgaHJfWpUSeNBxbuA== @@ -1234,7 +1234,7 @@ unimport "^3.0.14" untyped "^1.3.2" -"@nuxt/schema@3.6.5": +"@nuxt/schema@3.6.5", "@nuxt/schema@^3.6.5": version "3.6.5" resolved "https://registry.yarnpkg.com/@nuxt/schema/-/schema-3.6.5.tgz#c66cf331625b41a01d510bd9e0f1227e1ff8664a" integrity sha512-UPUnMB0W5TZ/Pi1fiF71EqIsPlj8LGZqzhSf8wOeh538KHwxbA9r7cuvEUU92eXRksOZaylbea3fJxZWhOITVw== @@ -4513,6 +4513,21 @@ execa@^7.1.1: signal-exit "^3.0.7" strip-final-newline "^3.0.0" +execa@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-7.2.0.tgz#657e75ba984f42a70f38928cedc87d6f2d4fe4e9" + integrity sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.1" + human-signals "^4.3.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^3.0.7" + strip-final-newline "^3.0.0" + exponential-backoff@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" @@ -7725,24 +7740,37 @@ nuxt-simple-robots@^3.0.2: pathe "^1.1.1" ufo "^1.1.2" -nuxt-simple-sitemap@^3.0.8: - version "3.0.9" - resolved "https://registry.yarnpkg.com/nuxt-simple-sitemap/-/nuxt-simple-sitemap-3.0.9.tgz#6a17d1cad195da2e7f5d58bacc9e9fdfb39c7627" - integrity sha512-+g5DaJazFnrzB10O8bWLiJtTo9c4147WmG03wzQuocd+Jp03EKBdBugSc6alGlWYkJWwfhaMrNMANUFYxFWnQQ== +nuxt-simple-sitemap@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/nuxt-simple-sitemap/-/nuxt-simple-sitemap-3.1.5.tgz#f7e8121d1c5149b0a9ae4646601ec6b685139a60" + integrity sha512-H5+RupbafIpNKkkrvpFTwfGutGx9mCf32dXZJusZ/yBMbH10PxIHrnAoGwmqMue+MwkT8XIkhgWXpyQgaigAUQ== dependencies: - "@nuxt/devtools-kit" "^0.6.7" - "@nuxt/kit" "^3.6.2" + "@nuxt/devtools-kit" "^0.7.4" + "@nuxt/kit" "^3.6.5" chalk "^5.3.0" defu "^6.1.2" escape-string-regexp "^5.0.0" - fast-glob "^3.3.0" + fast-glob "^3.3.1" knitwork "^1.0.0" - nuxt-site-config "^1.0.5" - nuxt-site-config-kit "^1.0.5" + nuxt-site-config "^1.0.10" + nuxt-site-config-kit "^1.0.10" pathe "^1.1.1" radix3 "^1.0.1" semver "^7.5.4" - ufo "^1.1.2" + site-config-stack "^1.0.10" + ufo "^1.2.0" + +nuxt-site-config-kit@1.0.10, nuxt-site-config-kit@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/nuxt-site-config-kit/-/nuxt-site-config-kit-1.0.10.tgz#5907bbc3bb8f5ef366455cfc87b5fe9c62d7b164" + integrity sha512-LvuXp2mWLONdB3biY4GmUPHu47XBZvoPIy2yDceWiGWa4tfwdCp/jVBJwgyFYVqwiXNZ7uJxG0omjNRPafXkqw== + dependencies: + "@nuxt/kit" "^3.6.5" + "@nuxt/schema" "^3.6.5" + defu "^6.1.2" + pkg-types "^1.0.3" + site-config-stack "1.0.10" + ufo "^1.2.0" nuxt-site-config-kit@1.0.5, nuxt-site-config-kit@^1.0.5: version "1.0.5" @@ -7756,6 +7784,18 @@ nuxt-site-config-kit@1.0.5, nuxt-site-config-kit@^1.0.5: site-config-stack "1.0.5" ufo "^1.1.2" +nuxt-site-config@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/nuxt-site-config/-/nuxt-site-config-1.0.10.tgz#832b26cd126e9c9256f14b5d83a56d2648237bc3" + integrity sha512-rXiyDMeJTn32EBSZ5sSLAPrGOee2aacCCbCSFOlLfcQD3uXxNk25FZWFJbNO9RGVaSajY3qcNKcqa5vRKEy35A== + dependencies: + "@nuxt/kit" "^3.6.5" + "@nuxt/schema" "^3.6.5" + nuxt-site-config-kit "1.0.10" + pathe "^1.1.1" + site-config-stack "1.0.10" + ufo "^1.2.0" + nuxt-site-config@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/nuxt-site-config/-/nuxt-site-config-1.0.5.tgz#1f8ffd6d4cbc2dfd1b26767cbf795061095ebdf7" @@ -9591,6 +9631,16 @@ sisteransi@^1.0.5: resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== +site-config-stack@1.0.10, site-config-stack@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/site-config-stack/-/site-config-stack-1.0.10.tgz#c641f97ea255ee0d5e293c4740f0da97a0ad1439" + integrity sha512-sEKECSkg9XYrzs6ykKWbelxj/P/K8kUgKtWZdETTfLlnKl7e/0JsTS0UZf2Gu4aNEXWUwHrOxtZcvIa3ASYhHA== + dependencies: + "@nuxt/kit" "^3.6.5" + defu "^6.1.2" + pkg-types "^1.0.3" + ufo "^1.2.0" + site-config-stack@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/site-config-stack/-/site-config-stack-1.0.5.tgz#95100d5a6c7ab2903c6942bc901f3c680839ed0b" From e84cf7191f5ee2d29a799a0c7e278ef6048d0ce8 Mon Sep 17 00:00:00 2001 From: ashcolor Date: Tue, 15 Aug 2023 15:14:46 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chg:=20xsl=E3=81=AE=E7=84=A1=E5=8A=B9?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 58addd3..b93f622 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -66,6 +66,7 @@ export default defineNuxtConfig({ }, sitemap: { + xsl: false, exclude: ["/_story"], },