nuxt-link-checker 2.0.0-beta.0 â 2.0.0-beta.1
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/README.md +14 -11
- package/dist/module.json +1 -1
- package/dist/module.mjs +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,25 +10,28 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
|
|
13
|
+
Discover issues with your links that may be negatively effecting your SEO.
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<table>
|
|
17
|
+
<table width="100%">
|
|
18
|
+
<thead>
|
|
19
|
+
<tr>
|
|
20
|
+
<th width="800px">
|
|
21
|
+
<p style="font-weight: 400;">
|
|
22
|
+
<i>Status:</i> Stable</b>
|
|
23
|
+
</p>
|
|
24
|
+
<p style="font-weight: 400;">
|
|
25
|
+
<sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program đ</a><br> Keep up to date <a href="https://twitter.com/harlan_zw">@harlan_zw</a> đĻ âĸ Free support <a href="https://discord.gg/275MBUBvgP">Discord</a></sub><br>
|
|
26
|
+
</p>
|
|
27
|
+
</th>
|
|
28
|
+
</tr>
|
|
29
|
+
</thead>
|
|
18
30
|
<tbody>
|
|
19
|
-
<td align="center">
|
|
20
|
-
<img width="800" height="0" /><br>
|
|
21
|
-
<i>Status:</i> Stable</b> <br>
|
|
22
|
-
<sup> Please report any issues đ</sup><br>
|
|
23
|
-
<sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program đ</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> đĻ âĸ Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for help</sub><br>
|
|
24
|
-
<img width="800" height="0" />
|
|
25
|
-
</td>
|
|
26
31
|
</tbody>
|
|
27
32
|
</table>
|
|
28
33
|
</p>
|
|
29
34
|
|
|
30
|
-
âšī¸ Looking for a complete SEO solution? Check out [Nuxt SEO Kit](https://github.com/harlan-zw/nuxt-seo-kit).
|
|
31
|
-
|
|
32
35
|
## Features
|
|
33
36
|
|
|
34
37
|
- â
Discover broken links - 404s and internal redirects
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -319,16 +319,17 @@ const module = defineNuxtModule({
|
|
|
319
319
|
host: config.host
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
const isDevToolsEnabled = typeof nuxt.options.devtools === "boolean" ? nuxt.options.devtools : nuxt.options.devtools.enabled;
|
|
323
|
+
if (nuxt.options.dev && isDevToolsEnabled) {
|
|
323
324
|
addPlugin({
|
|
324
|
-
src: resolve("./runtime/plugin/ui.client
|
|
325
|
+
src: resolve("./runtime/plugin/ui.client"),
|
|
325
326
|
mode: "client"
|
|
326
327
|
});
|
|
327
328
|
addServerHandler({
|
|
328
329
|
route: "/api/__link_checker__/inspect",
|
|
329
330
|
handler: resolve("./runtime/server/api/inspect")
|
|
330
331
|
});
|
|
331
|
-
addServerPlugin(resolve("./runtime/plugin/search.nitro
|
|
332
|
+
addServerPlugin(resolve("./runtime/plugin/search.nitro"));
|
|
332
333
|
const hasLinksEndpoint = hasNuxtModule("nuxt-simple-sitemap");
|
|
333
334
|
if (hasLinksEndpoint) {
|
|
334
335
|
addServerHandler({
|