@nuxtjs/seo 2.1.0 → 2.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/module.cjs +4 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +5 -3
- package/package.json +25 -26
package/dist/module.cjs
CHANGED
|
@@ -14,13 +14,15 @@ const module$1 = kit.defineNuxtModule({
|
|
|
14
14
|
defaults: {
|
|
15
15
|
enabled: true
|
|
16
16
|
},
|
|
17
|
-
async setup(config
|
|
17
|
+
async setup(config) {
|
|
18
18
|
if (!config.enabled) {
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
21
|
for (const module of _const.modules) {
|
|
22
22
|
if (module.npm !== "@nuxtjs/seo") {
|
|
23
|
-
|
|
23
|
+
if (!kit.hasNuxtModule(module.npm)) {
|
|
24
|
+
await kit.installModule(module.npm, {});
|
|
25
|
+
}
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
}
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineNuxtModule,
|
|
1
|
+
import { defineNuxtModule, hasNuxtModule, installModule } from '@nuxt/kit';
|
|
2
2
|
import { modules } from './const.mjs';
|
|
3
3
|
|
|
4
4
|
const module = defineNuxtModule({
|
|
@@ -12,13 +12,15 @@ const module = defineNuxtModule({
|
|
|
12
12
|
defaults: {
|
|
13
13
|
enabled: true
|
|
14
14
|
},
|
|
15
|
-
async setup(config
|
|
15
|
+
async setup(config) {
|
|
16
16
|
if (!config.enabled) {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
19
|
for (const module of modules) {
|
|
20
20
|
if (module.npm !== "@nuxtjs/seo") {
|
|
21
|
-
|
|
21
|
+
if (!hasNuxtModule(module.npm)) {
|
|
22
|
+
await installModule(module.npm, {});
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/seo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"description": "The all-in-one SEO layer for Nuxt 3.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -48,40 +48,39 @@
|
|
|
48
48
|
"dist"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@nuxt/kit": "^3.15.
|
|
52
|
-
"@nuxtjs/robots": "^5.2.
|
|
53
|
-
"@nuxtjs/sitemap": "^7.2.
|
|
54
|
-
"nuxt-link-checker": "^4.1.
|
|
55
|
-
"nuxt-og-image": "^4.1.
|
|
56
|
-
"nuxt-schema-org": "^4.1.
|
|
57
|
-
"nuxt-seo-utils": "^6.0.
|
|
58
|
-
"nuxt-site-config": "^3.0
|
|
51
|
+
"@nuxt/kit": "^3.15.4",
|
|
52
|
+
"@nuxtjs/robots": "^5.2.4",
|
|
53
|
+
"@nuxtjs/sitemap": "^7.2.6",
|
|
54
|
+
"nuxt-link-checker": "^4.1.1",
|
|
55
|
+
"nuxt-og-image": "^4.1.4",
|
|
56
|
+
"nuxt-schema-org": "^4.1.2",
|
|
57
|
+
"nuxt-seo-utils": "^6.0.11",
|
|
58
|
+
"nuxt-site-config": "^3.1.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@antfu/eslint-config": "^3.
|
|
61
|
+
"@antfu/eslint-config": "^4.3.0",
|
|
62
|
+
"@nuxt/content": "^3.1.1",
|
|
62
63
|
"@nuxt/module-builder": "^0.8.4",
|
|
63
|
-
"@nuxt/schema": "3.15.
|
|
64
|
+
"@nuxt/schema": "3.15.4",
|
|
64
65
|
"@nuxt/test-utils": "^3.15.4",
|
|
65
|
-
"@nuxtjs/i18n": "
|
|
66
|
+
"@nuxtjs/i18n": "9.2.0",
|
|
66
67
|
"@vue/test-utils": "^2.4.6",
|
|
67
|
-
"bumpp": "^
|
|
68
|
-
"eslint": "^9.
|
|
68
|
+
"bumpp": "^10.0.3",
|
|
69
|
+
"eslint": "^9.20.1",
|
|
69
70
|
"execa": "^9.5.2",
|
|
70
|
-
"happy-dom": "^
|
|
71
|
+
"happy-dom": "^17.1.1",
|
|
71
72
|
"nitropack": "^2.10.4",
|
|
72
|
-
"nuxt": "3.15.
|
|
73
|
-
"typescript": "5.
|
|
74
|
-
"vitest": "^3.0.
|
|
73
|
+
"nuxt": "3.15.4",
|
|
74
|
+
"typescript": "5.7.3",
|
|
75
|
+
"vitest": "^3.0.6"
|
|
75
76
|
},
|
|
76
77
|
"resolutions": {
|
|
77
|
-
"
|
|
78
|
-
"@
|
|
79
|
-
"@tailwindcss/
|
|
80
|
-
"tailwindcss": "4.0.
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"tailwind-variants": "0.3.0",
|
|
84
|
-
"node-fetch-native": "1.6.6"
|
|
78
|
+
"@nuxt/ui": "3.0.0-alpha.13",
|
|
79
|
+
"@nuxt/ui-pro": "3.0.0-alpha.13",
|
|
80
|
+
"@tailwindcss/postcss": "4.0.7",
|
|
81
|
+
"@tailwindcss/vite": "4.0.7",
|
|
82
|
+
"tailwindcss": "4.0.7",
|
|
83
|
+
"typescript": "5.6.3"
|
|
85
84
|
},
|
|
86
85
|
"publishConfig": {
|
|
87
86
|
"resolutions": {},
|