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 CHANGED
@@ -10,25 +10,28 @@
10
10
 
11
11
 
12
12
  <p align="center">
13
- Identify and fix link issues for prerendered Nuxt 3 apps.
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
@@ -5,5 +5,5 @@
5
5
  "bridge": false
6
6
  },
7
7
  "configKey": "linkChecker",
8
- "version": "2.0.0-beta.0"
8
+ "version": "2.0.0-beta.1"
9
9
  }
package/dist/module.mjs CHANGED
@@ -319,16 +319,17 @@ const module = defineNuxtModule({
319
319
  host: config.host
320
320
  });
321
321
  }
322
- if (nuxt.options.dev) {
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.ts"),
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.ts"));
332
+ addServerPlugin(resolve("./runtime/plugin/search.nitro"));
332
333
  const hasLinksEndpoint = hasNuxtModule("nuxt-simple-sitemap");
333
334
  if (hasLinksEndpoint) {
334
335
  addServerHandler({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-link-checker",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.0",
4
+ "version": "2.0.0-beta.1",
5
5
  "packageManager": "pnpm@8.6.10",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",