@nuxt/devtools-nightly 4.0.0-alpha.7-29744762.bee6f4a → 4.0.0-alpha.7-29745040.0d4de4d
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/chunks/module-main.mjs +26 -11
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/309c144f-101a-4355-a34f-c7a0af0ea0cb.json +1 -0
- package/dist/client/_nuxt/{hd35mflg.js → k8et2pmu.js} +3 -3
- package/dist/client/_nuxt/{overview-i8jsdkfv.js → overview-lv3oqjic.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime-ixdk33tq.js → unocss-runtime-u6rlfeqe.js} +1 -1
- package/dist/client/_nuxt/vendor/{unocss-g96pl2xt.js → unocss-l2fj7cws.js} +2 -2
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/package.json +3 -3
- package/dist/client/_nuxt/builds/meta/07419bd6-9316-4f0a-8692-c6f2e89ed412.json +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import fs$1, { promises, statSync, realpathSync, readFileSync, existsSync, accessSync, constants } from 'node:fs';
|
|
2
2
|
import fs from 'node:fs/promises';
|
|
3
3
|
import os, { homedir } from 'node:os';
|
|
4
|
+
import { onDevtoolsReady, deprecate, registerHostDiagnostics, NUXT_DEVTOOLS_GROUP_ID } from '@nuxt/devtools-kit';
|
|
4
5
|
import { logger, useNuxt, addVitePlugin, extendViteConfig, addPlugin, addTemplate, addImports } from '@nuxt/kit';
|
|
5
6
|
import { colors } from 'consola/utils';
|
|
6
7
|
import { join, dirname, resolve, isAbsolute } from 'pathe';
|
|
@@ -8,7 +9,6 @@ import sirv from 'sirv';
|
|
|
8
9
|
import { searchForWorkspaceRoot } from 'vite';
|
|
9
10
|
import { d as defaultAllowedExtensions, c as createDefaultTabOptions, s as setServerTasksEnabledByDefault } from '../shared/devtools-nightly.B9TxdMuu.mjs';
|
|
10
11
|
import { runtimeDir, clientDir, packageDir } from '../dirs.mjs';
|
|
11
|
-
import { onDevtoolsReady, deprecate, registerHostDiagnostics } from '@nuxt/devtools-kit';
|
|
12
12
|
import { x } from 'tinyexec';
|
|
13
13
|
import { glob } from 'tinyglobby';
|
|
14
14
|
import path, { relative, parse, dirname as dirname$1 } from 'node:path';
|
|
@@ -30,7 +30,7 @@ import { getDefaultExportOptions, addNuxtModule } from 'magicast/helpers';
|
|
|
30
30
|
import { isLess } from 'verkit';
|
|
31
31
|
import { normalizeBaseKey, normalizeKey } from 'unstorage';
|
|
32
32
|
|
|
33
|
-
const version$1 = "4.0.0-alpha.7-
|
|
33
|
+
const version$1 = "4.0.0-alpha.7-29745040.0d4de4d";
|
|
34
34
|
|
|
35
35
|
const RPC_NAMESPACE = "nuxt:devtools";
|
|
36
36
|
|
|
@@ -11696,6 +11696,10 @@ function setupServerTasksRPC({ nuxt, refresh }) {
|
|
|
11696
11696
|
};
|
|
11697
11697
|
}
|
|
11698
11698
|
|
|
11699
|
+
function skipInSSR(ctx) {
|
|
11700
|
+
return Boolean(ctx?.viteConfig?.build?.ssr);
|
|
11701
|
+
}
|
|
11702
|
+
|
|
11699
11703
|
const IGNORE_STORAGE_MOUNTS = ["root", "build", "src", "cache"];
|
|
11700
11704
|
function shouldIgnoreStorageKey(key) {
|
|
11701
11705
|
return IGNORE_STORAGE_MOUNTS.includes(key.split(":")[0]);
|
|
@@ -11948,7 +11952,7 @@ function setupRPC(nuxt, options) {
|
|
|
11948
11952
|
...setupServerDataRPC(ctx)
|
|
11949
11953
|
});
|
|
11950
11954
|
async function connectDevToolsKit(kitCtx) {
|
|
11951
|
-
if (devtoolsKitCtx)
|
|
11955
|
+
if (devtoolsKitCtx || skipInSSR(kitCtx))
|
|
11952
11956
|
return;
|
|
11953
11957
|
devtoolsKitCtx = kitCtx;
|
|
11954
11958
|
const host = kitCtx.rpc;
|
|
@@ -12041,14 +12045,25 @@ async function enableModule(options, nuxt) {
|
|
|
12041
12045
|
name: "nuxt:devtools",
|
|
12042
12046
|
devtools: {
|
|
12043
12047
|
async setup(ctx2) {
|
|
12044
|
-
ctx2
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12048
|
+
if (!skipInSSR(ctx2)) {
|
|
12049
|
+
ctx2.docks.register({
|
|
12050
|
+
id: NUXT_DEVTOOLS_GROUP_ID,
|
|
12051
|
+
type: "group",
|
|
12052
|
+
title: "Nuxt",
|
|
12053
|
+
icon: "/__nuxt_devtools__/client/nuxt.svg",
|
|
12054
|
+
defaultOrder: -2e3,
|
|
12055
|
+
defaultChildId: "nuxt:devtools"
|
|
12056
|
+
});
|
|
12057
|
+
ctx2.docks.register({
|
|
12058
|
+
id: "nuxt:devtools",
|
|
12059
|
+
type: "iframe",
|
|
12060
|
+
icon: "/__nuxt_devtools__/client/nuxt.svg",
|
|
12061
|
+
title: "Nuxt DevTools",
|
|
12062
|
+
url: "/__nuxt_devtools__/client/",
|
|
12063
|
+
groupId: NUXT_DEVTOOLS_GROUP_ID,
|
|
12064
|
+
defaultOrder: -300
|
|
12065
|
+
});
|
|
12066
|
+
}
|
|
12052
12067
|
await connectDevToolsKit?.(ctx2);
|
|
12053
12068
|
}
|
|
12054
12069
|
}
|
package/dist/client/200.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/k8et2pmu.js"}}</script><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-jv3imi7n.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-lb1ewor6.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-flyrgbwp.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/k8et2pmu.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/_plugin-vue_export-helper-d9irwgla.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/rolldown-runtime-imbltlrc.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-dqdvn8dy.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/utils-cz4yum9q.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-mgsi4s2l.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/rpc-ixz4fjux.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ready-nen2jn0n.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dist-l07sxtw0.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-krm6uln9.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-router-kdlawv8o.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-l2fj7cws.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/storage-options-iwszwhs9.js"><script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/k8et2pmu.js" crossorigin></script><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/markdown-it-cx0uvu2o.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-cpmtsy11.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-o5traho8.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-or9h2zq3.js"><link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.css-ivoxtfjk.css"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-jqx0h0q8.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/quicktype-core-otmjigaj.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block-ckqwlxff.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-otdlvsyg.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer-flnxaerl.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown-fhsar2c4.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect-fq0i2yeb.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nswitch-bw81lfyl.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-u6rlfeqe.js"><link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-lzv1km1s.css"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-dhb7gisx.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"309c144f-101a-4355-a34f-c7a0af0ea0cb",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1784702450125,false]</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/k8et2pmu.js"}}</script><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-jv3imi7n.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-lb1ewor6.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-flyrgbwp.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/k8et2pmu.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/_plugin-vue_export-helper-d9irwgla.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/rolldown-runtime-imbltlrc.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-dqdvn8dy.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/utils-cz4yum9q.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-mgsi4s2l.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/rpc-ixz4fjux.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ready-nen2jn0n.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dist-l07sxtw0.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-krm6uln9.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-router-kdlawv8o.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-l2fj7cws.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/storage-options-iwszwhs9.js"><script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/k8et2pmu.js" crossorigin></script><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/markdown-it-cx0uvu2o.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-cpmtsy11.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-o5traho8.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-or9h2zq3.js"><link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block.css-ivoxtfjk.css"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/data-schema-drawer-jqx0h0q8.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/quicktype-core-otmjigaj.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncode-block-ckqwlxff.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-otdlvsyg.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndrawer-flnxaerl.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ndropdown-fhsar2c4.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nselect-fq0i2yeb.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nswitch-bw81lfyl.js"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-u6rlfeqe.js"><link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-lzv1km1s.css"><link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-dhb7gisx.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"309c144f-101a-4355-a34f-c7a0af0ea0cb",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1784702450129,false]</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"309c144f-101a-4355-a34f-c7a0af0ea0cb","timestamp":1784702419035}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"309c144f-101a-4355-a34f-c7a0af0ea0cb","timestamp":1784702419035,"prerendered":[]}
|