diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 769b9803bf..7144ec28a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -248,7 +248,7 @@ jobs: TEST_PAYLOAD: ${{ matrix.payload }} SKIP_BUNDLE_SIZE: ${{ github.event_name != 'push' || matrix.env == 'dev' || matrix.builder == 'webpack' || matrix.context == 'default' || matrix.payload == 'js' || runner.os == 'Windows' }} - - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 + - uses: codecov/codecov-action@5c47607acb93fed5485fdbf7232e8a31425f672a # v5.0.2 if: github.event_name != 'push' && matrix.env == 'built' && matrix.builder == 'vite' && matrix.context == 'default' && matrix.os == 'ubuntu-latest' && matrix.manifest == 'manifest-on' with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/docs/3.api/2.composables/use-seo-meta.md b/docs/3.api/2.composables/use-seo-meta.md index e28debae32..f3b9e95e63 100644 --- a/docs/3.api/2.composables/use-seo-meta.md +++ b/docs/3.api/2.composables/use-seo-meta.md @@ -39,7 +39,7 @@ const title = ref('My title') useSeoMeta({ title, - description: () => `description: ${title.value}` + description: () => `This is a description for the ${title.value} page` }) ``` diff --git a/packages/kit/src/template.ts b/packages/kit/src/template.ts index 8b4ae046fd..2e6aed9339 100644 --- a/packages/kit/src/template.ts +++ b/packages/kit/src/template.ts @@ -22,9 +22,9 @@ export function addTemplate (_template: NuxtTemplate | string) { // Normalize template const template = normalizeTemplate(_template) - // Remove any existing template with the same filename + // Remove any existing template with the same destination path nuxt.options.build.templates = nuxt.options.build.templates - .filter(p => normalizeTemplate(p).filename !== template.filename) + .filter(p => normalizeTemplate(p).dst !== template.dst) // Add to templates array nuxt.options.build.templates.push(template)