@nuxt/devtools-nightly 0.0.0 → 2.0.0-beta.0-28940205.5b566fb

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.
Files changed (138) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +129 -0
  3. package/cli.mjs +2 -0
  4. package/dist/chunks/analyze-build.mjs +58 -0
  5. package/dist/chunks/module-main.mjs +2044 -0
  6. package/dist/chunks/plugin-metrics.mjs +68 -0
  7. package/dist/chunks/timeline.mjs +73 -0
  8. package/dist/chunks/vite-inspect.mjs +61 -0
  9. package/dist/chunks/vscode.mjs +195 -0
  10. package/dist/chunks/vue-devtools.mjs +30 -0
  11. package/dist/chunks/vue-inspector.mjs +15 -0
  12. package/dist/client/200.html +20 -0
  13. package/dist/client/404.html +20 -0
  14. package/dist/client/_nuxt/__blank-n15vnpb5.js +1 -0
  15. package/dist/client/_nuxt/analyze-build-kcwmvlyl.js +1 -0
  16. package/dist/client/_nuxt/assets-ivvrbi3q.js +16 -0
  17. package/dist/client/_nuxt/assets.css-hmxl533k.css +1 -0
  18. package/dist/client/_nuxt/b6bfxrb8.js +17 -0
  19. package/dist/client/_nuxt/builds/latest.json +1 -0
  20. package/dist/client/_nuxt/builds/meta/b8bbfd27-5704-4be8-a606-01af93c734ef.json +1 -0
  21. package/dist/client/_nuxt/client-c9f80qsp.js +1 -0
  22. package/dist/client/_nuxt/code-diff.vue-bhijg81q.js +8 -0
  23. package/dist/client/_nuxt/code-snippets.vue-i4e657wf.js +1 -0
  24. package/dist/client/_nuxt/components-krpx1826.js +1 -0
  25. package/dist/client/_nuxt/composable-item.vue-kwpzi9u7.js +1 -0
  26. package/dist/client/_nuxt/constants-b32h69zq.js +1 -0
  27. package/dist/client/_nuxt/custom-_name_-cepykbos.js +1 -0
  28. package/dist/client/_nuxt/default-mk5axw1k.js +1 -0
  29. package/dist/client/_nuxt/duration-display.vue-kqe6a4wx.js +1 -0
  30. package/dist/client/_nuxt/entry.css-nqz5coc9.css +1 -0
  31. package/dist/client/_nuxt/error-404-lp8coab3.js +1 -0
  32. package/dist/client/_nuxt/error-404.css-b3x40x40.css +1 -0
  33. package/dist/client/_nuxt/error-500-d4b6gi3u.js +1 -0
  34. package/dist/client/_nuxt/error-500.css-hilpkhd4.css +1 -0
  35. package/dist/client/_nuxt/error-ojb7cn7v.js +9 -0
  36. package/dist/client/_nuxt/filepath-item.vue-b829sn9l.js +1 -0
  37. package/dist/client/_nuxt/full-j8mngb76.js +1 -0
  38. package/dist/client/_nuxt/help-fab.css-ms50khsu.css +1 -0
  39. package/dist/client/_nuxt/help-fab.vue-gtlaa6k2.js +1 -0
  40. package/dist/client/_nuxt/hooks-htmew7il.js +1 -0
  41. package/dist/client/_nuxt/imports-18kqq3am.js +1 -0
  42. package/dist/client/_nuxt/index-dl6nn7ct.js +2 -0
  43. package/dist/client/_nuxt/index-e7wrzeix.js +1 -0
  44. package/dist/client/_nuxt/launch-page.vue-iyi310zf.js +1 -0
  45. package/dist/client/_nuxt/modules-hdu1ikfi.js +1 -0
  46. package/dist/client/_nuxt/nbadge-fktngirm.js +1 -0
  47. package/dist/client/_nuxt/ncheckbox.vue-fs1yhvat.js +1 -0
  48. package/dist/client/_nuxt/ncode-block.css-c9cb29at.css +1 -0
  49. package/dist/client/_nuxt/ncode-block.vue-gy1ero5j.js +2 -0
  50. package/dist/client/_nuxt/ndrawer.vue-cjxfdzsk.js +1 -0
  51. package/dist/client/_nuxt/ndropdown.vue-fe8ybtb0.js +1 -0
  52. package/dist/client/_nuxt/nicon-title.vue-ouqsubn7.js +1 -0
  53. package/dist/client/_nuxt/nlink.vue-jafnipxp.js +1 -0
  54. package/dist/client/_nuxt/nmarkdown.vue-hygash5x.js +1 -0
  55. package/dist/client/_nuxt/nnavbar.vue-d5x8tq5w.js +1 -0
  56. package/dist/client/_nuxt/none-i3w61o4x.js +1 -0
  57. package/dist/client/_nuxt/nsection-block-ivkmhmn9.js +1 -0
  58. package/dist/client/_nuxt/nsection-block.css-e7kbjm7k.css +1 -0
  59. package/dist/client/_nuxt/nselect-tabs.vue-sw71szzx.js +1 -0
  60. package/dist/client/_nuxt/nselect.vue-mkp3umn0.js +1 -0
  61. package/dist/client/_nuxt/open-graph-i5rptgvl.js +3 -0
  62. package/dist/client/_nuxt/open-graph.css-e21qzmvj.css +1 -0
  63. package/dist/client/_nuxt/overview-jzek603r.js +1 -0
  64. package/dist/client/_nuxt/pages-mhjzw1eo.js +1 -0
  65. package/dist/client/_nuxt/payload-kjhui3c5.js +1 -0
  66. package/dist/client/_nuxt/pinia-jy0feqo2.js +1 -0
  67. package/dist/client/_nuxt/plugins-d2vnj57a.js +1 -0
  68. package/dist/client/_nuxt/render-tree-malxu5t7.js +1 -0
  69. package/dist/client/_nuxt/runtime-configs-c8u0cuv7.js +1 -0
  70. package/dist/client/_nuxt/server-route-inputs.vue-dfs3eezs.js +1 -0
  71. package/dist/client/_nuxt/server-routes-ea89bftg.js +9 -0
  72. package/dist/client/_nuxt/server-tasks-guw0x7eh.js +1 -0
  73. package/dist/client/_nuxt/settings-nr7x6wel.js +1 -0
  74. package/dist/client/_nuxt/stacktrace-list.vue-cfyme80n.js +1 -0
  75. package/dist/client/_nuxt/state-components-f29eyhzi.js +1 -0
  76. package/dist/client/_nuxt/state-editor.vue-nd6tb0dn.js +1 -0
  77. package/dist/client/_nuxt/state-modules-gh2s62ky.js +1 -0
  78. package/dist/client/_nuxt/storage-d1qa6fff.js +1 -0
  79. package/dist/client/_nuxt/terminals-igsxvm6w.js +1 -0
  80. package/dist/client/_nuxt/terminals.css-mejv43xm.css +1 -0
  81. package/dist/client/_nuxt/timeline-lm6kcwsd.js +31 -0
  82. package/dist/client/_nuxt/timeline.css-lhkpu01p.css +1 -0
  83. package/dist/client/_nuxt/unocss-runtime-jzfgcoxk.js +1 -0
  84. package/dist/client/_nuxt/vendor/json-editor-vue-gi2fewby.js +3818 -0
  85. package/dist/client/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css +1 -0
  86. package/dist/client/_nuxt/vendor/markdown-it-fvu08dbs.js +16 -0
  87. package/dist/client/_nuxt/vendor/shiki-bnvxb5wv.js +147 -0
  88. package/dist/client/_nuxt/vendor/unocss-3uirpnla.js +2 -0
  89. package/dist/client/_nuxt/vendor/unocss.css-mhvipxpl.css +1 -0
  90. package/dist/client/_nuxt/vendor/vis-dlwijd5n.js +98 -0
  91. package/dist/client/_nuxt/vendor/xterm-dbpzgj7s.js +9 -0
  92. package/dist/client/_nuxt/vendor/xterm.css-egmhki83.css +32 -0
  93. package/dist/client/_nuxt/virtual-files-jzsbborg.js +1 -0
  94. package/dist/client/_nuxt/virtual-files.css-gqpg2wnb.css +1 -0
  95. package/dist/client/_nuxt/vue-virtual-scroller.esm-hx1s7s1b.js +2 -0
  96. package/dist/client/index.html +20 -0
  97. package/dist/client/nuxt.svg +3 -0
  98. package/dist/dirs.d.mts +7 -0
  99. package/dist/dirs.d.ts +7 -0
  100. package/dist/dirs.mjs +28 -0
  101. package/dist/module.cjs +5 -0
  102. package/dist/module.d.mts +9 -0
  103. package/dist/module.d.ts +9 -0
  104. package/dist/module.json +9 -0
  105. package/dist/module.mjs +6 -0
  106. package/dist/runtime/auth/index.html +76 -0
  107. package/dist/runtime/function-metrics-helpers.d.ts +3 -0
  108. package/dist/runtime/function-metrics-helpers.js +69 -0
  109. package/dist/runtime/nitro/inline.d.ts +3 -0
  110. package/dist/runtime/nitro/inline.js +6 -0
  111. package/dist/runtime/plugins/devtools.client.d.ts +2 -0
  112. package/dist/runtime/plugins/devtools.client.js +56 -0
  113. package/dist/runtime/plugins/devtools.server.d.ts +2 -0
  114. package/dist/runtime/plugins/devtools.server.js +7 -0
  115. package/dist/runtime/plugins/view/FrameBox.vue +167 -0
  116. package/dist/runtime/plugins/view/Main.vue +422 -0
  117. package/dist/runtime/plugins/view/client.d.ts +12 -0
  118. package/dist/runtime/plugins/view/client.js +332 -0
  119. package/dist/runtime/plugins/view/state.d.ts +5 -0
  120. package/dist/runtime/plugins/view/state.js +17 -0
  121. package/dist/runtime/plugins/view/utils.d.ts +31 -0
  122. package/dist/runtime/plugins/view/utils.js +156 -0
  123. package/dist/runtime/settings.d.ts +4 -0
  124. package/dist/runtime/settings.js +2 -0
  125. package/dist/runtime/shared/hooks.d.ts +2 -0
  126. package/dist/runtime/shared/hooks.js +33 -0
  127. package/dist/runtime/use-nuxt-devtools.d.ts +8 -0
  128. package/dist/runtime/use-nuxt-devtools.js +23 -0
  129. package/dist/runtime/vue-devtools/overlay.d.ts +1 -0
  130. package/dist/runtime/vue-devtools/overlay.js +8 -0
  131. package/dist/shared/devtools-nightly.2a48a9e5.d.mts +62 -0
  132. package/dist/shared/devtools-nightly.2a48a9e5.d.ts +62 -0
  133. package/dist/shared/devtools-nightly.5ac54dae.mjs +121 -0
  134. package/dist/types.d.mts +42 -0
  135. package/dist/types.d.ts +42 -0
  136. package/dist/types.mjs +1 -0
  137. package/package.json +123 -2
  138. package/types.d.ts +1 -0
@@ -0,0 +1,62 @@
1
+ import { VueInspectorClient } from 'vite-plugin-vue-inspector';
2
+ import { NuxtDevtoolsIframeClient, NuxtDevtoolsHostClient, NuxtDevtoolsGlobal, PluginMetric, TimelineMetrics, LoadingTimeMetric } from '@nuxt/devtools-kit/types';
3
+
4
+ declare global {
5
+ interface Window {
6
+ /**
7
+ * API for module integration
8
+ */
9
+ __NUXT_DEVTOOLS__?: NuxtDevtoolsIframeClient;
10
+ /**
11
+ * Nuxt DevTools client for host app
12
+ */
13
+ __NUXT_DEVTOOLS_HOST__?: NuxtDevtoolsHostClient;
14
+ /**
15
+ * Nuxt DevTools for receiving host client
16
+ *
17
+ * @internal
18
+ */
19
+ __NUXT_DEVTOOLS_VIEW__?: NuxtDevtoolsGlobal;
20
+ /**
21
+ * Metrics for plugin loading time
22
+ *
23
+ * @internal
24
+ */
25
+ __NUXT_DEVTOOLS_PLUGINS_METRIC__?: PluginMetric[];
26
+ /**
27
+ * Metrics for function calls
28
+ *
29
+ * @internal
30
+ */
31
+ __NUXT_DEVTOOLS_TIMELINE_METRICS__?: TimelineMetrics;
32
+ /**
33
+ * Metrics for page / route loading time
34
+ *
35
+ * @internal
36
+ */
37
+ __NUXT_DEVTOOLS_TIME_METRIC__?: LoadingTimeMetric;
38
+ /**
39
+ * Manually disable Nuxt DevTools embedding.
40
+ * Used for popup mode.
41
+ *
42
+ * @internal
43
+ */
44
+ __NUXT_DEVTOOLS_DISABLE__?: boolean;
45
+ /**
46
+ * Is popup mode
47
+ *
48
+ * @internal
49
+ */
50
+ __NUXT_DEVTOOLS_IS_POPUP__?: boolean;
51
+ /**
52
+ * Vue Inspector client
53
+ */
54
+ __VUE_INSPECTOR__?: VueInspectorClient;
55
+ /**
56
+ * Experimental API: Picture-in-Picture mode
57
+ *
58
+ * @see https://developer.chrome.com/docs/web-platform/document-picture-in-picture/
59
+ */
60
+ documentPictureInPicture?: any;
61
+ }
62
+ }
@@ -0,0 +1,121 @@
1
+ import { defineNuxtModule } from '@nuxt/kit';
2
+ import { isGlobalInstall } from '../dirs.mjs';
3
+
4
+ const r=Object.create(null),i=e=>globalThis.process?.env||import.meta.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?r:globalThis),s=new Proxy(r,{get(e,o){return i()[o]??r[o]},has(e,o){const E=i();return o in E||o in r},set(e,o,E){const b=i(!0);return b[o]=E,!0},deleteProperty(e,o){if(!o)return !1;const E=i(!0);return delete E[o],!0},ownKeys(){const e=i(!0);return Object.keys(e)}}),t=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",B=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:!0}]];function p(){if(globalThis.process?.env)for(const e of B){const o=e[1]||e[0];if(globalThis.process?.env[o])return {name:e[0].toLowerCase(),...e[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}const l=p(),d=l.name;function n(e){return e?e!=="false":!1}const I=globalThis.process?.platform||"",T=n(s.CI)||l.ci!==!1,R=n(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY);n(s.DEBUG);const A=t==="test"||n(s.TEST);n(s.MINIMAL)||T||A||!R;const _=/^win/i.test(I);!n(s.NO_COLOR)&&(n(s.FORCE_COLOR)||(R||_)&&s.TERM!=="dumb"||T);const C=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null;Number(C?.split(".")[0])||null;const y=globalThis.process||Object.create(null),c={versions:{}};new Proxy(y,{get(e,o){if(o==="env")return s;if(o in e)return e[o];if(o in c)return c[o]}});const L=globalThis.process?.release?.name==="node",a=!!globalThis.Bun||!!globalThis.process?.versions?.bun,D=!!globalThis.Deno,O=!!globalThis.fastly,S=!!globalThis.Netlify,N=!!globalThis.EdgeRuntime,P=globalThis.navigator?.userAgent==="Cloudflare-Workers",F=[[S,"netlify"],[N,"edge-light"],[P,"workerd"],[O,"fastly"],[D,"deno"],[a,"bun"],[L,"node"]];function G(){const e=F.find(o=>o[0]);if(e)return {name:e[1]}}const u=G();u?.name||"";
5
+
6
+ const WS_EVENT_NAME = "nuxt:devtools:rpc";
7
+ const isSandboxed = d === "stackblitz" || d === "codesandbox";
8
+ const defaultOptions = {
9
+ enabled: void 0,
10
+ // determine multiple conditions
11
+ componentInspector: true,
12
+ viteInspect: true,
13
+ vscode: {
14
+ enabled: true,
15
+ startOnBoot: false,
16
+ port: 3080,
17
+ reuseExistingServer: true
18
+ },
19
+ disableAuthorization: isSandboxed
20
+ };
21
+ const defaultTabOptions = {
22
+ behavior: {
23
+ telemetry: null
24
+ },
25
+ ui: {
26
+ componentsView: "list",
27
+ componentsGraphShowNodeModules: false,
28
+ componentsGraphShowGlobalComponents: true,
29
+ componentsGraphShowPages: false,
30
+ componentsGraphShowLayouts: false,
31
+ componentsGraphShowWorkspace: true,
32
+ interactionCloseOnOutsideClick: false,
33
+ showExperimentalFeatures: false,
34
+ showHelpButtons: true,
35
+ showPanel: null,
36
+ scale: 1,
37
+ minimizePanelInactive: 5e3,
38
+ hiddenTabs: [],
39
+ pinnedTabs: [],
40
+ hiddenTabCategories: [],
41
+ sidebarExpanded: false,
42
+ sidebarScrollable: false
43
+ },
44
+ serverRoutes: {
45
+ selectedRoute: null,
46
+ view: "tree",
47
+ inputDefaults: {
48
+ query: [],
49
+ body: [],
50
+ headers: []
51
+ },
52
+ sendFrom: "app"
53
+ },
54
+ serverTasks: {
55
+ enabled: false,
56
+ selectedTask: null,
57
+ view: "list",
58
+ inputDefaults: {
59
+ query: [],
60
+ body: [],
61
+ headers: [{ active: true, key: "Content-Type", value: "application/json", type: "string" }]
62
+ }
63
+ },
64
+ assets: {
65
+ view: "grid"
66
+ }
67
+ };
68
+ const defaultAllowedExtensions = [
69
+ "png",
70
+ "jpg",
71
+ "jpeg",
72
+ "gif",
73
+ "svg",
74
+ "webp",
75
+ "ico",
76
+ "mp4",
77
+ "ogg",
78
+ "mp3",
79
+ "wav",
80
+ "mov",
81
+ "mkv",
82
+ "mpg",
83
+ "txt",
84
+ "ttf",
85
+ "woff",
86
+ "woff2",
87
+ "eot",
88
+ "json",
89
+ "js",
90
+ "jsx",
91
+ "ts",
92
+ "tsx",
93
+ "md",
94
+ "mdx",
95
+ "vue",
96
+ "webm"
97
+ ];
98
+
99
+ const module = defineNuxtModule({
100
+ meta: {
101
+ name: "@nuxt/devtools",
102
+ configKey: "devtools"
103
+ },
104
+ defaults: defaultOptions,
105
+ setup(options, nuxt) {
106
+ if (process.env.VITEST || process.env.TEST)
107
+ return;
108
+ if (typeof options === "boolean")
109
+ options = { enabled: options };
110
+ if (options.enabled === false)
111
+ return;
112
+ if (isGlobalInstall()) {
113
+ const globalOptions = nuxt.options.devtoolsGlobal || {};
114
+ if (options.enabled !== true && !globalOptions.projects?.includes(nuxt.options.rootDir))
115
+ return;
116
+ }
117
+ return import('../chunks/module-main.mjs').then(function (n) { return n.m; }).then(({ enableModule }) => enableModule(options, nuxt));
118
+ }
119
+ });
120
+
121
+ export { WS_EVENT_NAME as W, defaultTabOptions as a, defaultAllowedExtensions as d, module as m };
@@ -0,0 +1,42 @@
1
+ import './shared/devtools-nightly.2a48a9e5.mjs';
2
+ import { ModuleStaticInfo } from '@nuxt/devtools-kit/types';
3
+ export * from '@nuxt/devtools-kit/types';
4
+ import 'vite-plugin-vue-inspector';
5
+
6
+ interface SocialPreviewResolved {
7
+ url?: string;
8
+ title?: string;
9
+ description?: string;
10
+ favicon?: string;
11
+ image?: string;
12
+ imageAlt?: string;
13
+ }
14
+ interface SocialPreviewCard {
15
+ url?: SocialPreviewCardItem[];
16
+ title?: SocialPreviewCardItem[];
17
+ description?: SocialPreviewCardItem[];
18
+ favicon?: SocialPreviewCardItem[];
19
+ image?: SocialPreviewCardItem[];
20
+ imageAlt?: SocialPreviewCardItem[];
21
+ }
22
+ interface SocialPreviewCardItem {
23
+ tag: string;
24
+ name?: string;
25
+ }
26
+ interface NormalizedHeadTag {
27
+ tag: string;
28
+ name: string;
29
+ value: string;
30
+ }
31
+ interface InstallingModulestate {
32
+ name: string;
33
+ info: ModuleStaticInfo;
34
+ processId: string;
35
+ }
36
+ interface AnalyzeBuildingState {
37
+ name: string;
38
+ processId: string;
39
+ }
40
+ type ModuleActionType = 'install' | 'uninstall';
41
+
42
+ export type { AnalyzeBuildingState, InstallingModulestate, ModuleActionType, NormalizedHeadTag, SocialPreviewCard, SocialPreviewResolved };
@@ -0,0 +1,42 @@
1
+ import './shared/devtools-nightly.2a48a9e5.js';
2
+ import { ModuleStaticInfo } from '@nuxt/devtools-kit/types';
3
+ export * from '@nuxt/devtools-kit/types';
4
+ import 'vite-plugin-vue-inspector';
5
+
6
+ interface SocialPreviewResolved {
7
+ url?: string;
8
+ title?: string;
9
+ description?: string;
10
+ favicon?: string;
11
+ image?: string;
12
+ imageAlt?: string;
13
+ }
14
+ interface SocialPreviewCard {
15
+ url?: SocialPreviewCardItem[];
16
+ title?: SocialPreviewCardItem[];
17
+ description?: SocialPreviewCardItem[];
18
+ favicon?: SocialPreviewCardItem[];
19
+ image?: SocialPreviewCardItem[];
20
+ imageAlt?: SocialPreviewCardItem[];
21
+ }
22
+ interface SocialPreviewCardItem {
23
+ tag: string;
24
+ name?: string;
25
+ }
26
+ interface NormalizedHeadTag {
27
+ tag: string;
28
+ name: string;
29
+ value: string;
30
+ }
31
+ interface InstallingModulestate {
32
+ name: string;
33
+ info: ModuleStaticInfo;
34
+ processId: string;
35
+ }
36
+ interface AnalyzeBuildingState {
37
+ name: string;
38
+ processId: string;
39
+ }
40
+ type ModuleActionType = 'install' | 'uninstall';
41
+
42
+ export type { AnalyzeBuildingState, InstallingModulestate, ModuleActionType, NormalizedHeadTag, SocialPreviewCard, SocialPreviewResolved };
package/dist/types.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from '@nuxt/devtools-kit/types';
package/package.json CHANGED
@@ -1,4 +1,125 @@
1
1
  {
2
2
  "name": "@nuxt/devtools-nightly",
3
- "version": "0.0.0"
4
- }
3
+ "type": "module",
4
+ "version": "2.0.0-beta.0-28940205.5b566fb",
5
+ "description": "The Nuxt DevTools gives you insights and transparency about your Nuxt App.",
6
+ "license": "MIT",
7
+ "homepage": "https://devtools.nuxt.com",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/nuxt/devtools.git",
11
+ "directory": "packages/devtools"
12
+ },
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/module.d.mts",
16
+ "import": "./dist/module.mjs"
17
+ },
18
+ "./types": {
19
+ "types": "./dist/types.d.ts"
20
+ },
21
+ "./*": "./*"
22
+ },
23
+ "types": "./dist/module.d.mts",
24
+ "bin": "./cli.mjs",
25
+ "files": [
26
+ "*.cjs",
27
+ "*.d.ts",
28
+ "*.mjs",
29
+ "dist"
30
+ ],
31
+ "peerDependencies": {
32
+ "vite": ">=6.0"
33
+ },
34
+ "dependencies": {
35
+ "@antfu/utils": "^8.0.0",
36
+ "@nuxt/devtools-kit": "npm:@nuxt/devtools-kit-nightly@2.0.0-beta.0-28940205.5b566fb",
37
+ "@nuxt/devtools-wizard": "npm:@nuxt/devtools-wizard-nightly@2.0.0-beta.0-28940205.5b566fb",
38
+ "@nuxt/kit": "^3.15.1",
39
+ "@vue/devtools-core": "^7.7.0",
40
+ "@vue/devtools-kit": "^7.7.0",
41
+ "birpc": "^0.2.19",
42
+ "consola": "^3.3.3",
43
+ "cronstrue": "^2.52.0",
44
+ "destr": "^2.0.3",
45
+ "error-stack-parser-es": "^0.1.5",
46
+ "execa": "^7.2.0",
47
+ "fast-npm-meta": "^0.2.2",
48
+ "flatted": "^3.3.2",
49
+ "get-port-please": "^3.1.2",
50
+ "hookable": "^5.5.3",
51
+ "image-meta": "^0.2.1",
52
+ "is-installed-globally": "^1.0.0",
53
+ "launch-editor": "^2.9.1",
54
+ "local-pkg": "^0.5.1",
55
+ "magicast": "^0.3.5",
56
+ "nypm": "^0.4.1",
57
+ "ohash": "^1.1.4",
58
+ "pathe": "^2.0.0",
59
+ "perfect-debounce": "^1.0.0",
60
+ "pkg-types": "^1.3.0",
61
+ "rc9": "^2.1.2",
62
+ "scule": "^1.3.0",
63
+ "semver": "^7.6.3",
64
+ "simple-git": "^3.27.0",
65
+ "sirv": "^3.0.0",
66
+ "tinyglobby": "^0.2.10",
67
+ "unimport": "^3.14.5",
68
+ "vite-plugin-inspect": "^0.10.6",
69
+ "vite-plugin-vue-inspector": "^5.3.1",
70
+ "which": "^3.0.1",
71
+ "ws": "^8.18.0"
72
+ },
73
+ "devDependencies": {
74
+ "@iconify-json/bxl": "^1.2.2",
75
+ "@iconify-json/carbon": "^1.2.5",
76
+ "@iconify-json/logos": "^1.2.4",
77
+ "@iconify-json/ri": "^1.2.5",
78
+ "@iconify-json/simple-icons": "^1.2.19",
79
+ "@iconify-json/tabler": "^1.2.14",
80
+ "@nuxt/content": "^2.13.4",
81
+ "@nuxt/devtools": "npm:@nuxt/devtools-nightly@2.0.0-beta.0-28940205.5b566fb",
82
+ "@nuxt/test-utils": "^3.15.1",
83
+ "@parcel/watcher": "^2.5.0",
84
+ "@types/markdown-it-link-attributes": "^3.0.5",
85
+ "@types/ua-parser-js": "^0.7.39",
86
+ "@unocss/nuxt": "^0.65.4",
87
+ "@unocss/preset-icons": "^0.65.4",
88
+ "@unocss/preset-uno": "^0.65.4",
89
+ "@unocss/runtime": "^0.65.4",
90
+ "@vitest/ui": "^2.1.8",
91
+ "@vue/devtools-applet": "^7.7.0",
92
+ "@vueuse/nuxt": "^12.3.0",
93
+ "@xterm/addon-fit": "^0.10.0",
94
+ "@xterm/xterm": "^5.5.0",
95
+ "esno": "^4.8.0",
96
+ "floating-vue": "^5.2.2",
97
+ "fuse.js": "^7.0.0",
98
+ "json-editor-vue": "^0.17.3",
99
+ "markdown-it": "^14.1.0",
100
+ "markdown-it-link-attributes": "^4.0.1",
101
+ "nanoid": "^5.0.9",
102
+ "nitropack": "^2.10.4",
103
+ "nuxt": "^3.15.1",
104
+ "ofetch": "^1.4.1",
105
+ "quicktype-core": "^23.0.170",
106
+ "shiki": "^1.26.1",
107
+ "theme-vitesse": "^0.8.3",
108
+ "ua-parser-js": "^1.0.40",
109
+ "unocss": "^0.65.4",
110
+ "unplugin-vue-markdown": "^28.0.0",
111
+ "vanilla-jsoneditor": "^2.3.3",
112
+ "vis-data": "^7.1.9",
113
+ "vis-network": "^9.1.9",
114
+ "vue-tsc": "^2.2.0",
115
+ "vue-virtual-scroller": "^2.0.0-beta.8"
116
+ },
117
+ "scripts": {
118
+ "build": "pnpm dev:prepare && pnpm build:module && pnpm build:client && esno scripts/prepare.ts",
119
+ "build:client": "nuxi generate client",
120
+ "build:module": "nuxt-build-module build",
121
+ "dev": "nuxi dev client",
122
+ "dev:playground": "pnpm build && nuxi dev playground",
123
+ "dev:prepare": "nuxi prepare client"
124
+ }
125
+ }
package/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/types'