@nuxt/devtools-nightly 4.0.0-beta.3-29848778.93ffd79 → 4.0.0-beta.3-29854357.397f9b2

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.
@@ -31,9 +31,9 @@ import { createRequire } from 'node:module';
31
31
  import { DEVTOOLS_TERMINALS_DOCK_ID } from '@vitejs/devtools-kit/constants';
32
32
  import { normalizeBaseKey, normalizeKey, createStorage, builtinDrivers } from 'unstorage';
33
33
 
34
- const version = "4.0.0-beta.3-29848778.93ffd79";
34
+ const version = "4.0.0-beta.3-29854357.397f9b2";
35
35
  const peerDependencies = {
36
- "@nuxt/devtools-assets": "npm:@nuxt/devtools-assets-nightly@4.0.0-beta.3-29848778.93ffd79",
36
+ "@nuxt/devtools-assets": "npm:@nuxt/devtools-assets-nightly@4.0.0-beta.3-29854357.397f9b2",
37
37
  "@nuxt/kit": "^4.0.0-0 || ^5.0.0-0",
38
38
  nitro: "^3.0.0-0",
39
39
  nitropack: "^2.0.0",
@@ -3596,10 +3596,9 @@ async function enableModule(options, nuxt) {
3596
3596
  config.externals ||= {};
3597
3597
  config.externals.inline ||= [];
3598
3598
  config.externals.inline.push(inlinePath);
3599
- }
3600
- if ("noExternals" in config && Array.isArray(config.noExternals)) {
3599
+ } else if (Array.isArray(config.noExternals)) {
3601
3600
  config.noExternals.push(inlinePath);
3602
- } else if (!("noExternals" in config) || config.noExternals === void 0) {
3601
+ } else if (config.noExternals === void 0) {
3603
3602
  config.noExternals = [inlinePath];
3604
3603
  }
3605
3604
  config.virtual = config.virtual || {};
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools",
3
3
  "configKey": "devtools",
4
- "version": "4.0.0-beta.3-29848778.93ffd79",
4
+ "version": "4.0.0-beta.3-29854357.397f9b2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "3.6.1"
@@ -1,2 +1,3 @@
1
- declare const _default: any;
2
- export default _default;
1
+ import type { Plugin } from 'nuxt/app';
2
+ declare const plugin: Plugin;
3
+ export default plugin;
@@ -1,7 +1,7 @@
1
1
  import { shallowReactive, watchEffect } from "vue";
2
2
  import { defineNuxtPlugin, useRouter, useState } from "#imports";
3
3
  import { setupHooksDebug } from "../shared/hooks.js";
4
- export default defineNuxtPlugin((nuxt) => {
4
+ const plugin = defineNuxtPlugin((nuxt) => {
5
5
  if (typeof document === "undefined" || typeof window === "undefined")
6
6
  return;
7
7
  try {
@@ -50,3 +50,4 @@ export default defineNuxtPlugin((nuxt) => {
50
50
  );
51
51
  });
52
52
  });
53
+ export default plugin;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-nightly",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.3-29848778.93ffd79",
4
+ "version": "4.0.0-beta.3-29854357.397f9b2",
5
5
  "description": "The Nuxt DevTools gives you insights and transparency about your Nuxt App.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://devtools.nuxt.com",
@@ -21,7 +21,7 @@
21
21
  "dist"
22
22
  ],
23
23
  "peerDependencies": {
24
- "@nuxt/devtools-assets": "npm:@nuxt/devtools-assets-nightly@4.0.0-beta.3-29848778.93ffd79",
24
+ "@nuxt/devtools-assets": "npm:@nuxt/devtools-assets-nightly@4.0.0-beta.3-29854357.397f9b2",
25
25
  "@nuxt/kit": "^4.0.0-0 || ^5.0.0-0",
26
26
  "nitro": "^3.0.0-0",
27
27
  "nitropack": "^2.0.0",
@@ -46,7 +46,7 @@
46
46
  "@devframes/hub": "^1.2.0",
47
47
  "@devframes/plugin-code-server": "^1.2.0",
48
48
  "@devframes/plugin-data-inspector": "^1.2.0",
49
- "@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@4.0.0-beta.3-29848778.93ffd79",
49
+ "@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@4.0.0-beta.3-29854357.397f9b2",
50
50
  "@vitejs/devtools": "^0.7.6",
51
51
  "@vitejs/devtools-kit": "^0.7.6",
52
52
  "consola": "^3.4.2",
@@ -80,9 +80,9 @@
80
80
  "@iconify-json/ri": "^1.2.10",
81
81
  "@iconify-json/simple-icons": "^1.2.98",
82
82
  "@iconify-json/tabler": "^1.2.41",
83
- "@nuxt/devtools-assets": "npm:@nuxt/devtools-assets-nightly@4.0.0-beta.3-29848778.93ffd79",
84
- "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29806258.d070492f",
85
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29806258.d070492f",
83
+ "@nuxt/devtools-assets": "npm:@nuxt/devtools-assets-nightly@4.0.0-beta.3-29854357.397f9b2",
84
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-2610052343-36eafab",
85
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-2610052343-36eafab",
86
86
  "@parcel/watcher": "^2.6.0",
87
87
  "@types/markdown-it-link-attributes": "^3.0.5",
88
88
  "@unhead/schema": "^3.4.2",
@@ -103,7 +103,7 @@
103
103
  "markdown-it-link-attributes": "^4.0.1",
104
104
  "nitro": "^3.0.260903-beta",
105
105
  "nitropack": "^2.13.4",
106
- "nuxt": "npm:nuxt-nightly@5.0.0-29806258.d070492f",
106
+ "nuxt": "npm:nuxt-nightly@5.0.0-2610052343-36eafab",
107
107
  "ofetch": "^1.5.1",
108
108
  "package-manager-detector": "^1.8.0",
109
109
  "quicktype-core": "22.0.0",
@@ -128,7 +128,7 @@
128
128
  },
129
129
  "scripts": {
130
130
  "build": "pnpm dev:prepare && pnpm build:module",
131
- "build:client": "pnpm dev:prepare && nuxi generate client && node scripts/copy-client.mjs",
131
+ "build:client": "nuxi generate client && node scripts/copy-client.mjs",
132
132
  "build:module": "nuxt-build-module build",
133
133
  "stub": "nuxt-build-module build --stub",
134
134
  "dev": "nuxi dev client",