@nuxtjs/seo 3.0.3 → 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.
@@ -1,6 +1,5 @@
1
1
  import { Collection } from '@nuxt/content';
2
- import { ZodRawShape } from 'zod';
3
2
 
4
- declare function asSeoCollection<T extends ZodRawShape>(collection: Collection<T>): Collection<T>;
3
+ declare function asSeoCollection<T>(collection: Collection<T>): Collection<T>;
5
4
 
6
5
  export { asSeoCollection };
@@ -1,6 +1,5 @@
1
1
  import { Collection } from '@nuxt/content';
2
- import { ZodRawShape } from 'zod';
3
2
 
4
- declare function asSeoCollection<T extends ZodRawShape>(collection: Collection<T>): Collection<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 extends ZodRawShape>(collection: Collection<T>): Collection<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
- bridge: false
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(config) {
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
@@ -3,6 +3,7 @@ import * as _nuxt_schema from '@nuxt/schema';
3
3
  interface ModuleOptions {
4
4
  /**
5
5
  * Whether the module should be loaded.
6
+ * @deprecated Does not do anything
6
7
  */
7
8
  enabled: boolean;
8
9
  }
package/dist/module.d.mts CHANGED
@@ -3,6 +3,7 @@ import * as _nuxt_schema from '@nuxt/schema';
3
3
  interface ModuleOptions {
4
4
  /**
5
5
  * Whether the module should be loaded.
6
+ * @deprecated Does not do anything
6
7
  */
7
8
  enabled: boolean;
8
9
  }
package/dist/module.d.ts CHANGED
@@ -3,6 +3,7 @@ import * as _nuxt_schema from '@nuxt/schema';
3
3
  interface ModuleOptions {
4
4
  /**
5
5
  * Whether the module should be loaded.
6
+ * @deprecated Does not do anything
6
7
  */
7
8
  enabled: boolean;
8
9
  }
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.2",
7
+ "version": "3.2.0",
9
8
  "builder": {
10
- "@nuxt/module-builder": "1.0.1",
11
- "unbuild": "3.5.0"
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, hasNuxtModule, installModule } from '@nuxt/kit';
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
- bridge: false
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(config) {
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.0.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,32 +44,32 @@
44
44
  "dist"
45
45
  ],
46
46
  "dependencies": {
47
- "@nuxt/kit": "^3.16.2",
48
- "@nuxtjs/robots": "^5.2.10",
49
- "@nuxtjs/sitemap": "^7.2.10",
50
- "nuxt-link-checker": "^4.3.0",
51
- "nuxt-og-image": "^5.1.2",
52
- "nuxt-schema-org": "^5.0.5",
53
- "nuxt-seo-utils": "^7.0.8",
54
- "nuxt-site-config": "^3.1.9"
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": "^4.12.0",
58
- "@arethetypeswrong/cli": "^0.17.4",
59
- "@nuxt/content": "^3.4.0",
60
- "@nuxt/module-builder": "^1.0.1",
61
- "@nuxt/schema": "^3.16.2",
62
- "@nuxt/test-utils": "^3.17.2",
63
- "@nuxtjs/i18n": "^9.5.3",
57
+ "@antfu/eslint-config": "^5.3.0",
58
+ "@arethetypeswrong/cli": "^0.18.2",
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.1.0",
66
- "eslint": "^9.24.0",
67
- "execa": "^9.5.2",
68
- "happy-dom": "^17.4.4",
69
- "nitropack": "^2.11.9",
70
- "nuxt": "3.16.2",
71
- "typescript": "^5.8.3",
72
- "vitest": "^3.1.1"
65
+ "bumpp": "^10.2.3",
66
+ "eslint": "^9.35.0",
67
+ "execa": "^9.6.0",
68
+ "happy-dom": "^18.0.1",
69
+ "nitropack": "^2.12.6",
70
+ "nuxt": "^4.1.2",
71
+ "typescript": "^5.9.2",
72
+ "vitest": "^3.2.4"
73
73
  },
74
74
  "publishConfig": {
75
75
  "resolutions": {},