@nuxtjs/seo 3.1.0 → 3.2.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/dist/content.d.cts +1 -2
- package/dist/content.d.mts +1 -2
- package/dist/content.d.ts +1 -2
- package/dist/module.cjs +25 -14
- package/dist/module.d.cts +1 -0
- package/dist/module.d.mts +1 -0
- package/dist/module.d.ts +1 -0
- package/dist/module.json +4 -5
- package/dist/module.mjs +26 -15
- package/package.json +20 -20
package/dist/content.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Collection } from '@nuxt/content';
|
|
2
|
-
import { ZodRawShape } from 'zod';
|
|
3
2
|
|
|
4
|
-
declare function asSeoCollection<T
|
|
3
|
+
declare function asSeoCollection<T>(collection: Collection<T>): Collection<T>;
|
|
5
4
|
|
|
6
5
|
export { asSeoCollection };
|
package/dist/content.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Collection } from '@nuxt/content';
|
|
2
|
-
import { ZodRawShape } from 'zod';
|
|
3
2
|
|
|
4
|
-
declare function asSeoCollection<T
|
|
3
|
+
declare function asSeoCollection<T>(collection: Collection<T>): Collection<T>;
|
|
5
4
|
|
|
6
5
|
export { asSeoCollection };
|
package/dist/content.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Collection } from '@nuxt/content';
|
|
2
|
-
import { ZodRawShape } from 'zod';
|
|
3
2
|
|
|
4
|
-
declare function asSeoCollection<T
|
|
3
|
+
declare function asSeoCollection<T>(collection: Collection<T>): Collection<T>;
|
|
5
4
|
|
|
6
5
|
export { asSeoCollection };
|
package/dist/module.cjs
CHANGED
|
@@ -1,30 +1,41 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const kit = require('@nuxt/kit');
|
|
4
|
-
const _const = require('./const.cjs');
|
|
5
4
|
|
|
6
5
|
const module$1 = kit.defineNuxtModule({
|
|
7
6
|
meta: {
|
|
8
7
|
name: "nuxtseo",
|
|
9
8
|
compatibility: {
|
|
10
|
-
nuxt: ">=3.16.0"
|
|
11
|
-
|
|
9
|
+
nuxt: ">=3.16.0"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
moduleDependencies: {
|
|
13
|
+
"@nuxtjs/robots": {
|
|
14
|
+
version: "^5.5"
|
|
15
|
+
},
|
|
16
|
+
"@nuxtjs/sitemap": {
|
|
17
|
+
version: "^7.4"
|
|
18
|
+
},
|
|
19
|
+
"nuxt-link-checker": {
|
|
20
|
+
version: "^4.3"
|
|
21
|
+
},
|
|
22
|
+
"nuxt-og-image": {
|
|
23
|
+
version: "^5.1"
|
|
24
|
+
},
|
|
25
|
+
"nuxt-schema-org": {
|
|
26
|
+
version: "^5.0"
|
|
27
|
+
},
|
|
28
|
+
"nuxt-seo-utils": {
|
|
29
|
+
version: "^7.0"
|
|
30
|
+
},
|
|
31
|
+
"nuxt-site-config": {
|
|
32
|
+
version: "^3.2"
|
|
12
33
|
}
|
|
13
34
|
},
|
|
14
35
|
defaults: {
|
|
15
36
|
enabled: true
|
|
16
37
|
},
|
|
17
|
-
async setup(
|
|
18
|
-
if (!config.enabled) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
for (const module of _const.modules) {
|
|
22
|
-
if (module.npm !== "@nuxtjs/seo") {
|
|
23
|
-
if (!kit.hasNuxtModule(module.npm)) {
|
|
24
|
-
await kit.installModule(module.npm, {});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
38
|
+
async setup() {
|
|
28
39
|
}
|
|
29
40
|
});
|
|
30
41
|
|
package/dist/module.d.cts
CHANGED
package/dist/module.d.mts
CHANGED
package/dist/module.d.ts
CHANGED
package/dist/module.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxtseo",
|
|
3
3
|
"compatibility": {
|
|
4
|
-
"nuxt": ">=3.16.0"
|
|
5
|
-
"bridge": false
|
|
4
|
+
"nuxt": ">=3.16.0"
|
|
6
5
|
},
|
|
7
6
|
"configKey": "nuxtseo",
|
|
8
|
-
"version": "3.0
|
|
7
|
+
"version": "3.2.0",
|
|
9
8
|
"builder": {
|
|
10
|
-
"@nuxt/module-builder": "1.0.
|
|
11
|
-
"unbuild": "3.
|
|
9
|
+
"@nuxt/module-builder": "1.0.2",
|
|
10
|
+
"unbuild": "3.6.1"
|
|
12
11
|
}
|
|
13
12
|
}
|
package/dist/module.mjs
CHANGED
|
@@ -1,28 +1,39 @@
|
|
|
1
|
-
import { defineNuxtModule
|
|
2
|
-
import { modules } from './const.mjs';
|
|
1
|
+
import { defineNuxtModule } from '@nuxt/kit';
|
|
3
2
|
|
|
4
3
|
const module = defineNuxtModule({
|
|
5
4
|
meta: {
|
|
6
5
|
name: "nuxtseo",
|
|
7
6
|
compatibility: {
|
|
8
|
-
nuxt: ">=3.16.0"
|
|
9
|
-
|
|
7
|
+
nuxt: ">=3.16.0"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
moduleDependencies: {
|
|
11
|
+
"@nuxtjs/robots": {
|
|
12
|
+
version: "^5.5"
|
|
13
|
+
},
|
|
14
|
+
"@nuxtjs/sitemap": {
|
|
15
|
+
version: "^7.4"
|
|
16
|
+
},
|
|
17
|
+
"nuxt-link-checker": {
|
|
18
|
+
version: "^4.3"
|
|
19
|
+
},
|
|
20
|
+
"nuxt-og-image": {
|
|
21
|
+
version: "^5.1"
|
|
22
|
+
},
|
|
23
|
+
"nuxt-schema-org": {
|
|
24
|
+
version: "^5.0"
|
|
25
|
+
},
|
|
26
|
+
"nuxt-seo-utils": {
|
|
27
|
+
version: "^7.0"
|
|
28
|
+
},
|
|
29
|
+
"nuxt-site-config": {
|
|
30
|
+
version: "^3.2"
|
|
10
31
|
}
|
|
11
32
|
},
|
|
12
33
|
defaults: {
|
|
13
34
|
enabled: true
|
|
14
35
|
},
|
|
15
|
-
async setup(
|
|
16
|
-
if (!config.enabled) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
for (const module of modules) {
|
|
20
|
-
if (module.npm !== "@nuxtjs/seo") {
|
|
21
|
-
if (!hasNuxtModule(module.npm)) {
|
|
22
|
-
await installModule(module.npm, {});
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
36
|
+
async setup() {
|
|
26
37
|
}
|
|
27
38
|
});
|
|
28
39
|
|
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.2.0",
|
|
5
5
|
"description": "Fully equipped Technical SEO for busy Nuxters.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -44,31 +44,31 @@
|
|
|
44
44
|
"dist"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@nuxt/kit": "^
|
|
48
|
-
"@nuxtjs/robots": "^5.
|
|
49
|
-
"@nuxtjs/sitemap": "^7.4.
|
|
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.1.2",
|
|
48
|
+
"@nuxtjs/robots": "^5.5.5",
|
|
49
|
+
"@nuxtjs/sitemap": "^7.4.7",
|
|
50
|
+
"nuxt-link-checker": "^4.3.2",
|
|
51
|
+
"nuxt-og-image": "^5.1.11",
|
|
52
|
+
"nuxt-schema-org": "^5.0.9",
|
|
53
|
+
"nuxt-seo-utils": "^7.0.16",
|
|
54
|
+
"nuxt-site-config": "^3.2.7"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@antfu/eslint-config": "^
|
|
57
|
+
"@antfu/eslint-config": "^5.3.0",
|
|
58
58
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
59
|
-
"@nuxt/content": "^3.
|
|
60
|
-
"@nuxt/module-builder": "^1.0.
|
|
61
|
-
"@nuxt/schema": "^
|
|
62
|
-
"@nuxt/test-utils": "^3.19.
|
|
63
|
-
"@nuxtjs/i18n": "^
|
|
59
|
+
"@nuxt/content": "^3.7.1",
|
|
60
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
61
|
+
"@nuxt/schema": "^4.1.2",
|
|
62
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
63
|
+
"@nuxtjs/i18n": "^10.1.0",
|
|
64
64
|
"@vue/test-utils": "^2.4.6",
|
|
65
|
-
"bumpp": "^10.2.
|
|
66
|
-
"eslint": "^9.
|
|
65
|
+
"bumpp": "^10.2.3",
|
|
66
|
+
"eslint": "^9.35.0",
|
|
67
67
|
"execa": "^9.6.0",
|
|
68
68
|
"happy-dom": "^18.0.1",
|
|
69
|
-
"nitropack": "^2.
|
|
70
|
-
"nuxt": "^
|
|
71
|
-
"typescript": "^5.
|
|
69
|
+
"nitropack": "^2.12.6",
|
|
70
|
+
"nuxt": "^4.1.2",
|
|
71
|
+
"typescript": "^5.9.2",
|
|
72
72
|
"vitest": "^3.2.4"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|