@nuxtjs/seo 2.0.0-rc.4 → 2.0.0-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -85,10 +85,11 @@ const module = defineNuxtModule({
|
|
|
85
85
|
if (config.splash) {
|
|
86
86
|
logger.log("");
|
|
87
87
|
let latestTag = `v${version}`;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
88
|
+
latestTag = (await $fetch("https://ungh.unjs.io/repos/harlan-zw/nuxt-seo/releases/latest", {
|
|
89
|
+
timeout: 2e3
|
|
90
|
+
}).catch(() => {
|
|
91
|
+
return { release: { tag: `v${version}` } };
|
|
92
|
+
})).release.tag;
|
|
92
93
|
const upToDate = latestTag === `v${version}`;
|
|
93
94
|
logger.log(`${chalk.green("Nuxt SEO")} ${chalk.yellow(`v${version}`)} ${chalk.gray(`by ${chalk.underline("@harlan_zw")}`)}`);
|
|
94
95
|
if (!upToDate)
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import type { MaybeRefOrGetter } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NuxtLinkProps } from 'nuxt/app';
|
|
3
|
+
interface NuxtUIBreadcrumbItem extends NuxtLinkProps {
|
|
4
|
+
label: string;
|
|
5
|
+
labelClass?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
iconClass?: string;
|
|
8
|
+
as?: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
exact?: boolean;
|
|
13
|
+
exactQuery?: boolean;
|
|
14
|
+
exactMatch?: boolean;
|
|
15
|
+
inactiveClass?: string;
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}
|
|
3
18
|
export interface BreadcrumbProps {
|
|
4
19
|
/**
|
|
5
20
|
* Generate the breadcrumbs based on a different path than the current route.
|
|
@@ -47,7 +62,7 @@ export interface BreadcrumbProps {
|
|
|
47
62
|
*/
|
|
48
63
|
hideRoot?: MaybeRefOrGetter<boolean>;
|
|
49
64
|
}
|
|
50
|
-
export interface BreadcrumbItemProps extends
|
|
65
|
+
export interface BreadcrumbItemProps extends NuxtUIBreadcrumbItem {
|
|
51
66
|
/** Whether the breadcrumb item represents the aria-current. */
|
|
52
67
|
current?: boolean;
|
|
53
68
|
/**
|
|
@@ -55,12 +70,9 @@ export interface BreadcrumbItemProps extends BreadcrumbLink {
|
|
|
55
70
|
* @default 'page'
|
|
56
71
|
*/
|
|
57
72
|
ariaCurrent?: 'page' | 'step' | 'location' | 'date' | 'time' | boolean | 'true' | 'false';
|
|
58
|
-
/** Whether the breadcrumb item is disabled. */
|
|
59
|
-
disabled?: boolean;
|
|
60
73
|
to: string;
|
|
61
74
|
ariaLabel?: string;
|
|
62
75
|
separator?: boolean | string;
|
|
63
|
-
icon?: string;
|
|
64
76
|
class?: (string | string[] | undefined)[] | string;
|
|
65
77
|
/**
|
|
66
78
|
* @internal
|
|
@@ -71,3 +83,4 @@ export interface BreadcrumbItemProps extends BreadcrumbLink {
|
|
|
71
83
|
};
|
|
72
84
|
}
|
|
73
85
|
export declare function useBreadcrumbItems(options?: BreadcrumbProps): any;
|
|
86
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/seo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-rc.
|
|
5
|
-
"packageManager": "pnpm@8.
|
|
4
|
+
"version": "2.0.0-rc.6",
|
|
5
|
+
"packageManager": "pnpm@8.15.1",
|
|
6
6
|
"description": "The all-in-one SEO layer for Nuxt 3.",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Harlan Wilton",
|
|
@@ -32,35 +32,35 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nuxt/kit": "^3.
|
|
36
|
-
"@nuxtjs/sitemap": "^5.0
|
|
35
|
+
"@nuxt/kit": "^3.10.0",
|
|
36
|
+
"@nuxtjs/sitemap": "^5.1.0",
|
|
37
37
|
"chalk": "^5.3.0",
|
|
38
38
|
"defu": "^6.1.4",
|
|
39
|
-
"nuxt-link-checker": "^3.0.0-rc.
|
|
40
|
-
"nuxt-og-image": "3.0.0-rc.
|
|
41
|
-
"nuxt-schema-org": "^3.3.
|
|
42
|
-
"nuxt-seo-experiments": "^4.0.0-rc.
|
|
43
|
-
"nuxt-simple-robots": "^4.0.0-rc.
|
|
44
|
-
"nuxt-site-config": "^2.2.
|
|
45
|
-
"nuxt-site-config-kit": "^2.2.
|
|
39
|
+
"nuxt-link-checker": "^3.0.0-rc.6",
|
|
40
|
+
"nuxt-og-image": "^3.0.0-rc.37",
|
|
41
|
+
"nuxt-schema-org": "^3.3.4",
|
|
42
|
+
"nuxt-seo-experiments": "^4.0.0-rc.2",
|
|
43
|
+
"nuxt-simple-robots": "^4.0.0-rc.14",
|
|
44
|
+
"nuxt-site-config": "^2.2.9",
|
|
45
|
+
"nuxt-site-config-kit": "^2.2.9",
|
|
46
46
|
"pkg-types": "^1.0.3",
|
|
47
47
|
"ufo": "^1.3.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@antfu/eslint-config": "^2.6.
|
|
50
|
+
"@antfu/eslint-config": "^2.6.3",
|
|
51
51
|
"@nuxt/module-builder": "^0.5.5",
|
|
52
|
-
"@nuxt/schema": "^3.
|
|
53
|
-
"@nuxt/test-utils": "3.
|
|
54
|
-
"@nuxt/ui": "^2.
|
|
55
|
-
"@nuxtjs/i18n": "8.0.
|
|
56
|
-
"bumpp": "^9.
|
|
52
|
+
"@nuxt/schema": "^3.10.0",
|
|
53
|
+
"@nuxt/test-utils": "3.11.0",
|
|
54
|
+
"@nuxt/ui": "^2.13.0",
|
|
55
|
+
"@nuxtjs/i18n": "8.0.1",
|
|
56
|
+
"bumpp": "^9.3.0",
|
|
57
57
|
"eslint": "^8.56.0",
|
|
58
58
|
"execa": "^8.0.1",
|
|
59
59
|
"nitropack": "^2.8.1",
|
|
60
|
-
"nuxt": "^3.
|
|
60
|
+
"nuxt": "^3.10.0",
|
|
61
61
|
"nuxt-icon": "^0.6.8",
|
|
62
62
|
"typescript": "^5.3.3",
|
|
63
|
-
"vitest": "^1.
|
|
63
|
+
"vitest": "^1.2.2"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt-module-build build",
|