nuxtseo-shared 0.8.1 → 0.8.3
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/const.d.mts +38 -0
- package/dist/const.d.ts +38 -0
- package/dist/const.mjs +148 -0
- package/dist/module.json +1 -1
- package/package.json +5 -1
package/dist/const.d.mts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type ChecklistItemLevel = 'required' | 'recommended';
|
|
2
|
+
interface ChecklistItemDefinition {
|
|
3
|
+
/** Unique ID within its module, e.g. 'site-url' */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Human-readable label */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Why this matters */
|
|
8
|
+
description: string;
|
|
9
|
+
level: ChecklistItemLevel;
|
|
10
|
+
/** URL to relevant docs */
|
|
11
|
+
docsUrl: string;
|
|
12
|
+
}
|
|
13
|
+
interface NuxtSEOModule {
|
|
14
|
+
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org' | 'skew-protection' | 'ai-ready' | 'ai-kit';
|
|
15
|
+
label: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
description: string;
|
|
18
|
+
repo: string;
|
|
19
|
+
npm: string;
|
|
20
|
+
pro?: boolean;
|
|
21
|
+
playgrounds?: Record<string, string>;
|
|
22
|
+
}
|
|
23
|
+
declare const NuxtSEO: NuxtSEOModule;
|
|
24
|
+
declare const SiteConfigModule: NuxtSEOModule;
|
|
25
|
+
declare const RobotsModule: NuxtSEOModule;
|
|
26
|
+
declare const SitemapModule: NuxtSEOModule;
|
|
27
|
+
declare const OgImageModule: NuxtSEOModule;
|
|
28
|
+
declare const LinkCheckerModule: NuxtSEOModule;
|
|
29
|
+
declare const SeoUtilsModule: NuxtSEOModule;
|
|
30
|
+
declare const SchemaOrgModule: NuxtSEOModule;
|
|
31
|
+
declare const SkewProtectionModule: NuxtSEOModule;
|
|
32
|
+
declare const AiReadyModule: NuxtSEOModule;
|
|
33
|
+
declare const modules: NuxtSEOModule[];
|
|
34
|
+
declare const normalModules: NuxtSEOModule[];
|
|
35
|
+
declare const proModules: NuxtSEOModule[];
|
|
36
|
+
|
|
37
|
+
export { AiReadyModule, LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule, SkewProtectionModule, modules, normalModules, proModules };
|
|
38
|
+
export type { ChecklistItemDefinition, ChecklistItemLevel, NuxtSEOModule };
|
package/dist/const.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type ChecklistItemLevel = 'required' | 'recommended';
|
|
2
|
+
interface ChecklistItemDefinition {
|
|
3
|
+
/** Unique ID within its module, e.g. 'site-url' */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Human-readable label */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Why this matters */
|
|
8
|
+
description: string;
|
|
9
|
+
level: ChecklistItemLevel;
|
|
10
|
+
/** URL to relevant docs */
|
|
11
|
+
docsUrl: string;
|
|
12
|
+
}
|
|
13
|
+
interface NuxtSEOModule {
|
|
14
|
+
slug: 'nuxt-seo' | 'site-config' | 'robots' | 'sitemap' | 'og-image' | 'link-checker' | 'seo-utils' | 'schema-org' | 'skew-protection' | 'ai-ready' | 'ai-kit';
|
|
15
|
+
label: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
description: string;
|
|
18
|
+
repo: string;
|
|
19
|
+
npm: string;
|
|
20
|
+
pro?: boolean;
|
|
21
|
+
playgrounds?: Record<string, string>;
|
|
22
|
+
}
|
|
23
|
+
declare const NuxtSEO: NuxtSEOModule;
|
|
24
|
+
declare const SiteConfigModule: NuxtSEOModule;
|
|
25
|
+
declare const RobotsModule: NuxtSEOModule;
|
|
26
|
+
declare const SitemapModule: NuxtSEOModule;
|
|
27
|
+
declare const OgImageModule: NuxtSEOModule;
|
|
28
|
+
declare const LinkCheckerModule: NuxtSEOModule;
|
|
29
|
+
declare const SeoUtilsModule: NuxtSEOModule;
|
|
30
|
+
declare const SchemaOrgModule: NuxtSEOModule;
|
|
31
|
+
declare const SkewProtectionModule: NuxtSEOModule;
|
|
32
|
+
declare const AiReadyModule: NuxtSEOModule;
|
|
33
|
+
declare const modules: NuxtSEOModule[];
|
|
34
|
+
declare const normalModules: NuxtSEOModule[];
|
|
35
|
+
declare const proModules: NuxtSEOModule[];
|
|
36
|
+
|
|
37
|
+
export { AiReadyModule, LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule, SkewProtectionModule, modules, normalModules, proModules };
|
|
38
|
+
export type { ChecklistItemDefinition, ChecklistItemLevel, NuxtSEOModule };
|
package/dist/const.mjs
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
const NuxtSEO = {
|
|
2
|
+
slug: "nuxt-seo",
|
|
3
|
+
label: "Nuxt SEO",
|
|
4
|
+
icon: "i-carbon-3rd-party-connected",
|
|
5
|
+
description: "The all-in-one module that brings it all together.",
|
|
6
|
+
repo: "harlan-zw/nuxt-seo",
|
|
7
|
+
npm: "@nuxtjs/seo",
|
|
8
|
+
playgrounds: {
|
|
9
|
+
basic: "https://stackblitz.com/github/harlan-zw/nuxt-seo/tree/main/examples/basic",
|
|
10
|
+
i18n: "https://stackblitz.com/github/harlan-zw/nuxt-seo/tree/main/examples/i18n"
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
const SiteConfigModule = {
|
|
14
|
+
slug: "site-config",
|
|
15
|
+
label: "Site Config",
|
|
16
|
+
icon: "i-carbon-settings-check",
|
|
17
|
+
description: "Powerful build and runtime shared site configuration for Nuxt modules.",
|
|
18
|
+
repo: "harlan-zw/nuxt-site-config",
|
|
19
|
+
npm: "nuxt-site-config",
|
|
20
|
+
playgrounds: {
|
|
21
|
+
"basic": "https://stackblitz.com/github/harlan-zw/nuxt-site-config/tree/main/examples/basic",
|
|
22
|
+
"env-driven": "https://stackblitz.com/github/harlan-zw/nuxt-site-config/tree/main/examples/env-driven",
|
|
23
|
+
"multi-site": "https://stackblitz.com/github/harlan-zw/nuxt-site-config/tree/main/examples/multi-site"
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const RobotsModule = {
|
|
27
|
+
slug: "robots",
|
|
28
|
+
label: "Robots",
|
|
29
|
+
icon: "i-carbon-bot",
|
|
30
|
+
description: "Tame the robots crawling and indexing your site with ease.",
|
|
31
|
+
repo: "nuxt-modules/robots",
|
|
32
|
+
npm: "@nuxtjs/robots",
|
|
33
|
+
playgrounds: {
|
|
34
|
+
"basic": "https://stackblitz.com/github/nuxt-modules/robots/tree/main/examples/basic",
|
|
35
|
+
"i18n": "https://stackblitz.com/github/nuxt-modules/robots/tree/main/examples/i18n",
|
|
36
|
+
"custom-rules": "https://stackblitz.com/github/nuxt-modules/robots/tree/main/examples/custom-rules"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const SitemapModule = {
|
|
40
|
+
slug: "sitemap",
|
|
41
|
+
label: "Sitemap",
|
|
42
|
+
icon: "i-carbon-load-balancer-application",
|
|
43
|
+
description: "Powerfully flexible XML Sitemaps that integrate seamlessly.",
|
|
44
|
+
repo: "nuxt-modules/sitemap",
|
|
45
|
+
npm: "@nuxtjs/sitemap",
|
|
46
|
+
playgrounds: {
|
|
47
|
+
"basic": "https://stackblitz.com/github/nuxt-modules/sitemap/tree/main/examples/basic",
|
|
48
|
+
"i18n": "https://stackblitz.com/github/nuxt-modules/sitemap/tree/main/examples/i18n",
|
|
49
|
+
"dynamic-urls": "https://stackblitz.com/github/nuxt-modules/sitemap/tree/main/examples/dynamic-urls"
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const OgImageModule = {
|
|
53
|
+
slug: "og-image",
|
|
54
|
+
label: "OG Image",
|
|
55
|
+
icon: "i-carbon-image-search",
|
|
56
|
+
description: "Generate OG Images with Vue templates in Nuxt.",
|
|
57
|
+
repo: "nuxt-modules/og-image",
|
|
58
|
+
npm: "nuxt-og-image",
|
|
59
|
+
playgrounds: {
|
|
60
|
+
"basic-satori": "https://stackblitz.com/github/nuxt-modules/og-image/tree/main/examples/basic-satori",
|
|
61
|
+
"basic-takumi": "https://stackblitz.com/github/nuxt-modules/og-image/tree/main/examples/basic-takumi",
|
|
62
|
+
"content": "https://stackblitz.com/github/nuxt-modules/og-image/tree/main/examples/content",
|
|
63
|
+
"i18n": "https://stackblitz.com/github/nuxt-modules/og-image/tree/main/examples/i18n"
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const LinkCheckerModule = {
|
|
67
|
+
slug: "link-checker",
|
|
68
|
+
label: "Link Checker",
|
|
69
|
+
icon: "i-carbon-cloud-satellite-link",
|
|
70
|
+
description: "Find and magically fix links that may be negatively effecting your SEO.",
|
|
71
|
+
repo: "harlan-zw/nuxt-link-checker",
|
|
72
|
+
npm: "nuxt-link-checker",
|
|
73
|
+
playgrounds: {
|
|
74
|
+
"basic": "https://stackblitz.com/github/harlan-zw/nuxt-link-checker/tree/main/examples/basic",
|
|
75
|
+
"broken-links": "https://stackblitz.com/github/harlan-zw/nuxt-link-checker/tree/main/examples/broken-links",
|
|
76
|
+
"skip-inspection": "https://stackblitz.com/github/harlan-zw/nuxt-link-checker/tree/main/examples/skip-inspection"
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const SeoUtilsModule = {
|
|
80
|
+
slug: "seo-utils",
|
|
81
|
+
label: "SEO Utils",
|
|
82
|
+
icon: "i-carbon-tools",
|
|
83
|
+
description: "SEO utilities to improve your Nuxt sites discoverability and shareability.",
|
|
84
|
+
repo: "harlan-zw/nuxt-seo-utils",
|
|
85
|
+
npm: "nuxt-seo-utils",
|
|
86
|
+
playgrounds: {
|
|
87
|
+
"basic": "https://stackblitz.com/github/harlan-zw/nuxt-seo-utils/tree/main/examples/basic",
|
|
88
|
+
"breadcrumbs": "https://stackblitz.com/github/harlan-zw/nuxt-seo-utils/tree/main/examples/breadcrumbs",
|
|
89
|
+
"meta-tags": "https://stackblitz.com/github/harlan-zw/nuxt-seo-utils/tree/main/examples/meta-tags"
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
const SchemaOrgModule = {
|
|
93
|
+
slug: "schema-org",
|
|
94
|
+
label: "Schema.org",
|
|
95
|
+
icon: "i-carbon-chart-relationship",
|
|
96
|
+
description: "The quickest and easiest way to build Schema.org graphs.",
|
|
97
|
+
repo: "harlan-zw/nuxt-schema-org",
|
|
98
|
+
npm: "nuxt-schema-org",
|
|
99
|
+
playgrounds: {
|
|
100
|
+
"basic": "https://stackblitz.com/github/harlan-zw/nuxt-schema-org/tree/main/examples/basic",
|
|
101
|
+
"blog": "https://stackblitz.com/github/harlan-zw/nuxt-schema-org/tree/main/examples/blog",
|
|
102
|
+
"e-commerce": "https://stackblitz.com/github/harlan-zw/nuxt-schema-org/tree/main/examples/e-commerce"
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const SkewProtectionModule = {
|
|
106
|
+
slug: "skew-protection",
|
|
107
|
+
npm: "nuxt-skew-protection",
|
|
108
|
+
repo: "nuxt-seo-pro/nuxt-skew-protection",
|
|
109
|
+
description: "Solve Nuxt version skews with persistent assets and instant updates.",
|
|
110
|
+
label: "Skew Protection",
|
|
111
|
+
icon: "i-carbon-version",
|
|
112
|
+
pro: true
|
|
113
|
+
};
|
|
114
|
+
const AiReadyModule = {
|
|
115
|
+
slug: "ai-ready",
|
|
116
|
+
npm: "nuxt-ai-ready",
|
|
117
|
+
repo: "nuxt-seo-pro/nuxt-ai-ready",
|
|
118
|
+
description: "Best practice AI & LLM discoverability for Nuxt sites.",
|
|
119
|
+
label: "AI Ready",
|
|
120
|
+
icon: "i-carbon-ai-label",
|
|
121
|
+
pro: true
|
|
122
|
+
};
|
|
123
|
+
const modules = [
|
|
124
|
+
NuxtSEO,
|
|
125
|
+
RobotsModule,
|
|
126
|
+
SitemapModule,
|
|
127
|
+
OgImageModule,
|
|
128
|
+
SchemaOrgModule,
|
|
129
|
+
LinkCheckerModule,
|
|
130
|
+
SeoUtilsModule,
|
|
131
|
+
SiteConfigModule,
|
|
132
|
+
SkewProtectionModule,
|
|
133
|
+
AiReadyModule
|
|
134
|
+
];
|
|
135
|
+
const normalModules = [
|
|
136
|
+
RobotsModule,
|
|
137
|
+
SitemapModule,
|
|
138
|
+
OgImageModule,
|
|
139
|
+
SchemaOrgModule,
|
|
140
|
+
LinkCheckerModule,
|
|
141
|
+
SeoUtilsModule
|
|
142
|
+
];
|
|
143
|
+
const proModules = [
|
|
144
|
+
SkewProtectionModule,
|
|
145
|
+
AiReadyModule
|
|
146
|
+
];
|
|
147
|
+
|
|
148
|
+
export { AiReadyModule, LinkCheckerModule, NuxtSEO, OgImageModule, RobotsModule, SchemaOrgModule, SeoUtilsModule, SiteConfigModule, SitemapModule, SkewProtectionModule, modules, normalModules, proModules };
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxtseo-shared",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.3",
|
|
5
5
|
"description": "Shared utilities for Nuxt SEO modules.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
"types": "./dist/utils.d.mts",
|
|
39
39
|
"import": "./dist/utils.mjs"
|
|
40
40
|
},
|
|
41
|
+
"./const": {
|
|
42
|
+
"types": "./dist/const.d.mts",
|
|
43
|
+
"import": "./dist/const.mjs"
|
|
44
|
+
},
|
|
41
45
|
"./package.json": "./package.json"
|
|
42
46
|
},
|
|
43
47
|
"main": "./dist/module.mjs",
|