@nuxtjs/seo 3.2.2 → 3.4.0
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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/dist/const.cjs +42 -3
- package/dist/const.d.cts +9 -4
- package/dist/const.d.mts +9 -4
- package/dist/const.d.ts +9 -4
- package/dist/const.mjs +38 -3
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -3
- package/package.json +25 -25
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) Harlan Wilton
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
6
|
|
package/README.md
CHANGED
|
@@ -70,5 +70,5 @@ Licensed under the [MIT license](https://github.com/harlan-zw/nuxt-seo/blob/main
|
|
|
70
70
|
[license-src]: https://img.shields.io/github/license/harlan-zw/nuxt-seo.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
71
71
|
[license-href]: https://github.com/harlan-zw/nuxt-seo/blob/main/LICENSE.md
|
|
72
72
|
|
|
73
|
-
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt
|
|
73
|
+
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt
|
|
74
74
|
[nuxt-href]: https://nuxt.com
|
package/dist/const.cjs
CHANGED
|
@@ -96,6 +96,33 @@ const SchemaOrgModule = {
|
|
|
96
96
|
basic: "https://stackblitz.com/edit/nuxt-starter-z9np1t?file=app.vue"
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
|
+
const SkewProtectionModule = {
|
|
100
|
+
slug: "skew-protection",
|
|
101
|
+
npm: "nuxt-skew-protection",
|
|
102
|
+
repo: "nuxt-seo-pro/nuxt-skew-protection",
|
|
103
|
+
description: "Solve Nuxt version skews with persistent assets and instant updates.",
|
|
104
|
+
label: "Skew Protection",
|
|
105
|
+
icon: "i-carbon-version",
|
|
106
|
+
pro: true
|
|
107
|
+
};
|
|
108
|
+
const AiReadyModule = {
|
|
109
|
+
slug: "ai-ready",
|
|
110
|
+
npm: "nuxt-ai-ready",
|
|
111
|
+
repo: "nuxt-seo-pro/nuxt-ai-ready",
|
|
112
|
+
description: "Best practice AI & LLM discoverability for Nuxt sites.",
|
|
113
|
+
label: "AI Ready",
|
|
114
|
+
icon: "i-carbon-ai-label",
|
|
115
|
+
pro: true
|
|
116
|
+
};
|
|
117
|
+
const AiSearchModule = {
|
|
118
|
+
slug: "ai-kit",
|
|
119
|
+
npm: "nuxt-ai-kit",
|
|
120
|
+
repo: "nuxt-seo-pro/nuxt-ai-kit",
|
|
121
|
+
description: "Add AI Chat to your Nuxt app with no vendor-lock in and full customization.",
|
|
122
|
+
label: "AI Kit",
|
|
123
|
+
icon: "i-carbon-chat-bot",
|
|
124
|
+
pro: true
|
|
125
|
+
};
|
|
99
126
|
const modules = [
|
|
100
127
|
NuxtSEO,
|
|
101
128
|
RobotsModule,
|
|
@@ -104,9 +131,12 @@ const modules = [
|
|
|
104
131
|
SchemaOrgModule,
|
|
105
132
|
LinkCheckerModule,
|
|
106
133
|
SeoUtilsModule,
|
|
107
|
-
SiteConfigModule
|
|
134
|
+
SiteConfigModule,
|
|
135
|
+
SkewProtectionModule,
|
|
136
|
+
AiReadyModule,
|
|
137
|
+
AiSearchModule
|
|
108
138
|
];
|
|
109
|
-
const
|
|
139
|
+
const normalModules = [
|
|
110
140
|
RobotsModule,
|
|
111
141
|
SitemapModule,
|
|
112
142
|
OgImageModule,
|
|
@@ -114,7 +144,14 @@ const explicitModules = [
|
|
|
114
144
|
LinkCheckerModule,
|
|
115
145
|
SeoUtilsModule
|
|
116
146
|
];
|
|
147
|
+
const proModules = [
|
|
148
|
+
SkewProtectionModule,
|
|
149
|
+
AiReadyModule,
|
|
150
|
+
AiSearchModule
|
|
151
|
+
];
|
|
117
152
|
|
|
153
|
+
exports.AiReadyModule = AiReadyModule;
|
|
154
|
+
exports.AiSearchModule = AiSearchModule;
|
|
118
155
|
exports.LinkCheckerModule = LinkCheckerModule;
|
|
119
156
|
exports.NuxtSEO = NuxtSEO;
|
|
120
157
|
exports.OgImageModule = OgImageModule;
|
|
@@ -123,5 +160,7 @@ exports.SchemaOrgModule = SchemaOrgModule;
|
|
|
123
160
|
exports.SeoUtilsModule = SeoUtilsModule;
|
|
124
161
|
exports.SiteConfigModule = SiteConfigModule;
|
|
125
162
|
exports.SitemapModule = SitemapModule;
|
|
126
|
-
exports.
|
|
163
|
+
exports.SkewProtectionModule = SkewProtectionModule;
|
|
127
164
|
exports.modules = modules;
|
|
165
|
+
exports.normalModules = normalModules;
|
|
166
|
+
exports.proModules = proModules;
|
package/dist/const.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
interface NuxtSEOModule {
|
|
2
|
-
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org';
|
|
2
|
+
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org' | 'skew-protection' | 'ai-ready' | 'ai-kit';
|
|
3
3
|
label: string;
|
|
4
4
|
icon: string;
|
|
5
5
|
description: string;
|
|
6
6
|
repo: string;
|
|
7
7
|
npm: string;
|
|
8
|
-
|
|
8
|
+
pro?: boolean;
|
|
9
|
+
playgrounds?: Record<string, string>;
|
|
9
10
|
}
|
|
10
11
|
declare const NuxtSEO: NuxtSEOModule;
|
|
11
12
|
declare const SiteConfigModule: NuxtSEOModule;
|
|
@@ -15,8 +16,12 @@ declare const OgImageModule: NuxtSEOModule;
|
|
|
15
16
|
declare const LinkCheckerModule: NuxtSEOModule;
|
|
16
17
|
declare const SeoUtilsModule: NuxtSEOModule;
|
|
17
18
|
declare const SchemaOrgModule: NuxtSEOModule;
|
|
19
|
+
declare const SkewProtectionModule: NuxtSEOModule;
|
|
20
|
+
declare const AiReadyModule: NuxtSEOModule;
|
|
21
|
+
declare const AiSearchModule: NuxtSEOModule;
|
|
18
22
|
declare const modules: NuxtSEOModule[];
|
|
19
|
-
declare const
|
|
23
|
+
declare const normalModules: NuxtSEOModule[];
|
|
24
|
+
declare const proModules: NuxtSEOModule[];
|
|
20
25
|
|
|
21
|
-
export { LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule,
|
|
26
|
+
export { AiReadyModule, AiSearchModule, LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule, SkewProtectionModule, modules, normalModules, proModules };
|
|
22
27
|
export type { NuxtSEOModule };
|
package/dist/const.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
interface NuxtSEOModule {
|
|
2
|
-
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org';
|
|
2
|
+
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org' | 'skew-protection' | 'ai-ready' | 'ai-kit';
|
|
3
3
|
label: string;
|
|
4
4
|
icon: string;
|
|
5
5
|
description: string;
|
|
6
6
|
repo: string;
|
|
7
7
|
npm: string;
|
|
8
|
-
|
|
8
|
+
pro?: boolean;
|
|
9
|
+
playgrounds?: Record<string, string>;
|
|
9
10
|
}
|
|
10
11
|
declare const NuxtSEO: NuxtSEOModule;
|
|
11
12
|
declare const SiteConfigModule: NuxtSEOModule;
|
|
@@ -15,8 +16,12 @@ declare const OgImageModule: NuxtSEOModule;
|
|
|
15
16
|
declare const LinkCheckerModule: NuxtSEOModule;
|
|
16
17
|
declare const SeoUtilsModule: NuxtSEOModule;
|
|
17
18
|
declare const SchemaOrgModule: NuxtSEOModule;
|
|
19
|
+
declare const SkewProtectionModule: NuxtSEOModule;
|
|
20
|
+
declare const AiReadyModule: NuxtSEOModule;
|
|
21
|
+
declare const AiSearchModule: NuxtSEOModule;
|
|
18
22
|
declare const modules: NuxtSEOModule[];
|
|
19
|
-
declare const
|
|
23
|
+
declare const normalModules: NuxtSEOModule[];
|
|
24
|
+
declare const proModules: NuxtSEOModule[];
|
|
20
25
|
|
|
21
|
-
export { LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule,
|
|
26
|
+
export { AiReadyModule, AiSearchModule, LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule, SkewProtectionModule, modules, normalModules, proModules };
|
|
22
27
|
export type { NuxtSEOModule };
|
package/dist/const.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
interface NuxtSEOModule {
|
|
2
|
-
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org';
|
|
2
|
+
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org' | 'skew-protection' | 'ai-ready' | 'ai-kit';
|
|
3
3
|
label: string;
|
|
4
4
|
icon: string;
|
|
5
5
|
description: string;
|
|
6
6
|
repo: string;
|
|
7
7
|
npm: string;
|
|
8
|
-
|
|
8
|
+
pro?: boolean;
|
|
9
|
+
playgrounds?: Record<string, string>;
|
|
9
10
|
}
|
|
10
11
|
declare const NuxtSEO: NuxtSEOModule;
|
|
11
12
|
declare const SiteConfigModule: NuxtSEOModule;
|
|
@@ -15,8 +16,12 @@ declare const OgImageModule: NuxtSEOModule;
|
|
|
15
16
|
declare const LinkCheckerModule: NuxtSEOModule;
|
|
16
17
|
declare const SeoUtilsModule: NuxtSEOModule;
|
|
17
18
|
declare const SchemaOrgModule: NuxtSEOModule;
|
|
19
|
+
declare const SkewProtectionModule: NuxtSEOModule;
|
|
20
|
+
declare const AiReadyModule: NuxtSEOModule;
|
|
21
|
+
declare const AiSearchModule: NuxtSEOModule;
|
|
18
22
|
declare const modules: NuxtSEOModule[];
|
|
19
|
-
declare const
|
|
23
|
+
declare const normalModules: NuxtSEOModule[];
|
|
24
|
+
declare const proModules: NuxtSEOModule[];
|
|
20
25
|
|
|
21
|
-
export { LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule,
|
|
26
|
+
export { AiReadyModule, AiSearchModule, LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule, SkewProtectionModule, modules, normalModules, proModules };
|
|
22
27
|
export type { NuxtSEOModule };
|
package/dist/const.mjs
CHANGED
|
@@ -94,6 +94,33 @@ const SchemaOrgModule = {
|
|
|
94
94
|
basic: "https://stackblitz.com/edit/nuxt-starter-z9np1t?file=app.vue"
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
|
+
const SkewProtectionModule = {
|
|
98
|
+
slug: "skew-protection",
|
|
99
|
+
npm: "nuxt-skew-protection",
|
|
100
|
+
repo: "nuxt-seo-pro/nuxt-skew-protection",
|
|
101
|
+
description: "Solve Nuxt version skews with persistent assets and instant updates.",
|
|
102
|
+
label: "Skew Protection",
|
|
103
|
+
icon: "i-carbon-version",
|
|
104
|
+
pro: true
|
|
105
|
+
};
|
|
106
|
+
const AiReadyModule = {
|
|
107
|
+
slug: "ai-ready",
|
|
108
|
+
npm: "nuxt-ai-ready",
|
|
109
|
+
repo: "nuxt-seo-pro/nuxt-ai-ready",
|
|
110
|
+
description: "Best practice AI & LLM discoverability for Nuxt sites.",
|
|
111
|
+
label: "AI Ready",
|
|
112
|
+
icon: "i-carbon-ai-label",
|
|
113
|
+
pro: true
|
|
114
|
+
};
|
|
115
|
+
const AiSearchModule = {
|
|
116
|
+
slug: "ai-kit",
|
|
117
|
+
npm: "nuxt-ai-kit",
|
|
118
|
+
repo: "nuxt-seo-pro/nuxt-ai-kit",
|
|
119
|
+
description: "Add AI Chat to your Nuxt app with no vendor-lock in and full customization.",
|
|
120
|
+
label: "AI Kit",
|
|
121
|
+
icon: "i-carbon-chat-bot",
|
|
122
|
+
pro: true
|
|
123
|
+
};
|
|
97
124
|
const modules = [
|
|
98
125
|
NuxtSEO,
|
|
99
126
|
RobotsModule,
|
|
@@ -102,9 +129,12 @@ const modules = [
|
|
|
102
129
|
SchemaOrgModule,
|
|
103
130
|
LinkCheckerModule,
|
|
104
131
|
SeoUtilsModule,
|
|
105
|
-
SiteConfigModule
|
|
132
|
+
SiteConfigModule,
|
|
133
|
+
SkewProtectionModule,
|
|
134
|
+
AiReadyModule,
|
|
135
|
+
AiSearchModule
|
|
106
136
|
];
|
|
107
|
-
const
|
|
137
|
+
const normalModules = [
|
|
108
138
|
RobotsModule,
|
|
109
139
|
SitemapModule,
|
|
110
140
|
OgImageModule,
|
|
@@ -112,5 +142,10 @@ const explicitModules = [
|
|
|
112
142
|
LinkCheckerModule,
|
|
113
143
|
SeoUtilsModule
|
|
114
144
|
];
|
|
145
|
+
const proModules = [
|
|
146
|
+
SkewProtectionModule,
|
|
147
|
+
AiReadyModule,
|
|
148
|
+
AiSearchModule
|
|
149
|
+
];
|
|
115
150
|
|
|
116
|
-
export { LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule,
|
|
151
|
+
export { AiReadyModule, AiSearchModule, LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule, SkewProtectionModule, modules, normalModules, proModules };
|
package/dist/module.cjs
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineNuxtModule } from '@nuxt/kit';
|
|
2
2
|
|
|
3
|
-
const module = defineNuxtModule({
|
|
3
|
+
const module$1 = defineNuxtModule({
|
|
4
4
|
meta: {
|
|
5
5
|
name: "nuxtseo",
|
|
6
6
|
compatibility: {
|
|
@@ -18,7 +18,7 @@ const module = defineNuxtModule({
|
|
|
18
18
|
version: "^4.3"
|
|
19
19
|
},
|
|
20
20
|
"nuxt-og-image": {
|
|
21
|
-
version: "
|
|
21
|
+
version: ">=5.1"
|
|
22
22
|
},
|
|
23
23
|
"nuxt-schema-org": {
|
|
24
24
|
version: "^5.0"
|
|
@@ -37,4 +37,4 @@ const module = defineNuxtModule({
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { module as default };
|
|
40
|
+
export { module$1 as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/seo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"description": "Fully equipped Technical SEO for busy Nuxters.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -44,32 +44,32 @@
|
|
|
44
44
|
"dist"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@nuxt/kit": "^4.
|
|
48
|
-
"@nuxtjs/robots": "^5.
|
|
49
|
-
"@nuxtjs/sitemap": "^7.
|
|
50
|
-
"nuxt-link-checker": "^4.3.
|
|
51
|
-
"nuxt-og-image": "^5.1.
|
|
52
|
-
"nuxt-schema-org": "^5.0.
|
|
53
|
-
"nuxt-seo-utils": "^7.0.
|
|
54
|
-
"nuxt-site-config": "^3.2.
|
|
47
|
+
"@nuxt/kit": "^4.3.0",
|
|
48
|
+
"@nuxtjs/robots": "^5.7.0",
|
|
49
|
+
"@nuxtjs/sitemap": "^7.6.0",
|
|
50
|
+
"nuxt-link-checker": "^4.3.9",
|
|
51
|
+
"nuxt-og-image": "^5.1.13",
|
|
52
|
+
"nuxt-schema-org": "^5.0.10",
|
|
53
|
+
"nuxt-seo-utils": "^7.0.19",
|
|
54
|
+
"nuxt-site-config": "^3.2.19"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@antfu/eslint-config": "^
|
|
57
|
+
"@antfu/eslint-config": "^7.2.0",
|
|
58
58
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
59
|
-
"@nuxt/content": "^3.
|
|
59
|
+
"@nuxt/content": "^3.11.0",
|
|
60
60
|
"@nuxt/module-builder": "^1.0.2",
|
|
61
|
-
"@nuxt/schema": "^4.
|
|
62
|
-
"@nuxt/test-utils": "^3.
|
|
63
|
-
"@nuxtjs/i18n": "^10.1
|
|
61
|
+
"@nuxt/schema": "^4.3.0",
|
|
62
|
+
"@nuxt/test-utils": "^3.23.0",
|
|
63
|
+
"@nuxtjs/i18n": "^10.2.1",
|
|
64
64
|
"@vue/test-utils": "^2.4.6",
|
|
65
|
-
"bumpp": "^10.
|
|
66
|
-
"eslint": "^9.
|
|
67
|
-
"execa": "^9.6.
|
|
68
|
-
"happy-dom": "^
|
|
69
|
-
"nitropack": "^2.
|
|
70
|
-
"nuxt": "^4.
|
|
71
|
-
"typescript": "^5.9.
|
|
72
|
-
"vitest": "^
|
|
65
|
+
"bumpp": "^10.4.0",
|
|
66
|
+
"eslint": "^9.39.2",
|
|
67
|
+
"execa": "^9.6.1",
|
|
68
|
+
"happy-dom": "^20.4.0",
|
|
69
|
+
"nitropack": "^2.13.1",
|
|
70
|
+
"nuxt": "^4.3.0",
|
|
71
|
+
"typescript": "^5.9.3",
|
|
72
|
+
"vitest": "^4.0.18"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"resolutions": {},
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt-module-build build",
|
|
81
|
-
"dev": "
|
|
82
|
-
"dev:docs": "
|
|
81
|
+
"dev": "nuxt dev playground",
|
|
82
|
+
"dev:docs": "nuxt dev docs",
|
|
83
83
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare",
|
|
84
84
|
"lint": "eslint . --fix",
|
|
85
85
|
"release": "pnpm build && bumpp -x \"npx changelogen --output=CHANGELOG.md\"",
|
|
86
|
-
"test": " pnpm dev:prepare &&
|
|
86
|
+
"test": " pnpm dev:prepare && nuxt prepare test/fixtures/basic && nuxt prepare test/fixtures/i18n && vitest",
|
|
87
87
|
"typecheck": "pnpm dev:prepare && tsc --noEmit && npx vue-tsc --noEmit --strict",
|
|
88
88
|
"test:attw": "attw --pack"
|
|
89
89
|
}
|