@valaxyjs/devtools 0.20.5 → 0.20.7

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.
@@ -1,5 +1,5 @@
1
1
  import { _ as _export_sfc } from './_plugin-vue_export-helper-DgDhiqFL.js';
2
- import { a as createElementBlock, o as openBlock } from './index-C0sDfLZp.js';
2
+ import { a as createElementBlock, o as openBlock } from './index-BtHI3jth.js';
3
3
 
4
4
  /* unplugin-vue-components disabled */const _sfc_main = {};
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { _ as _export_sfc } from './_plugin-vue_export-helper-DgDhiqFL.js';
2
- import { a as createElementBlock, o as openBlock } from './index-C0sDfLZp.js';
2
+ import { a as createElementBlock, o as openBlock } from './index-BtHI3jth.js';
3
3
 
4
4
  /* unplugin-vue-components disabled */const _sfc_main = {};
5
5
 
@@ -1,6 +1,6 @@
1
- import { g as getAppWindow, d as defineComponent, c as computed, o as openBlock, a as createElementBlock, n as normalizeClass, b as createCommentVNode, r as renderSlot, e as ref, f as onMounted, h as createBaseVNode, i as resolveComponent, j as createBlock, w as withCtx, t as toDisplayString, F as Fragment, k as renderList, l as createTextVNode, m as createVNode, p as pageData, q as toRaw, u as unref, s as frontmatter, v as getWindowProperty, x as getGlobalValaxyProperty, y as activePath, z as devtoolsRouter, A as isStaticMode } from './index-C0sDfLZp.js';
1
+ import { g as getAppWindow, d as defineComponent, c as computed, o as openBlock, a as createElementBlock, n as normalizeClass, b as createCommentVNode, r as renderSlot, e as ref, f as onMounted, h as createBaseVNode, i as resolveComponent, j as createBlock, w as withCtx, t as toDisplayString, F as Fragment, k as renderList, l as createTextVNode, m as createVNode, p as pageData, q as toRaw, u as unref, s as frontmatter, v as getWindowProperty, x as getGlobalValaxyProperty, y as activePath, z as devtoolsRouter, A as isStaticMode } from './index-BtHI3jth.js';
2
2
  import { _ as _export_sfc } from './_plugin-vue_export-helper-DgDhiqFL.js';
3
- import { a as axios, g, M } from './splitpanes.es-9Ifkhfso.js';
3
+ import { a as axios, g, M } from './splitpanes.es-BzsZAuZt.js';
4
4
 
5
5
  const target = getAppWindow();
6
6
  function openInEditor(options = {}) {
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-C7UY5Jwe.js","./_plugin-vue_export-helper-DgDhiqFL.js","./splitpanes.es-9Ifkhfso.js","./index-BsE069b2.css","./about-fwLgTlz5.js","./categories-BH1LT9Ew.js","./migration-DZ1dFStt.js","./tags-Cp1XyAHo.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BXzBS9S9.js","./_plugin-vue_export-helper-DgDhiqFL.js","./splitpanes.es-BzsZAuZt.js","./index-BsE069b2.css","./about-BOi5HgAL.js","./categories-BoywQLCd.js","./migration-YufEETN0.js","./tags-Y0x_kR--.js"])))=>i.map(i=>d[i]);
2
2
  true&&(function polyfill() {
3
3
  const relList = document.createElement("link").relList;
4
4
  if (relList && relList.supports && relList.supports("modulepreload")) {
@@ -7795,7 +7795,7 @@ function normalizeSlot(slot, data) {
7795
7795
  return slotContent.length === 1 ? slotContent[0] : slotContent;
7796
7796
  }
7797
7797
  const RouterView = RouterViewImpl;
7798
- function createRouter$1(options) {
7798
+ function createRouter(options) {
7799
7799
  const matcher = createRouterMatcher(options.routes, options);
7800
7800
  const parseQuery$1 = options.parseQuery || parseQuery;
7801
7801
  const stringifyQuery$1 = options.stringifyQuery || stringifyQuery;
@@ -8302,22 +8302,6 @@ function useRoute(_name) {
8302
8302
 
8303
8303
  /* Injected with object hook! */
8304
8304
 
8305
- function createRouter(options) {
8306
- const { extendRoutes, routes } = options;
8307
- if (extendRoutes) {
8308
- console.warn('"extendRoutes()" is deprecated, please modify the routes directly. See https://uvr.esm.is/guide/extending-routes.html#extending-routes-at-runtime for an alternative.');
8309
- }
8310
- // use Object.assign for better browser support
8311
- const router = createRouter$1(Object.assign(
8312
- options,
8313
- { routes: typeof extendRoutes === 'function' ? (extendRoutes(routes) || routes) : routes },
8314
- ));
8315
-
8316
- return router
8317
- }
8318
-
8319
- /* Injected with object hook! */
8320
-
8321
8305
  const scriptRel = 'modulepreload';const assetsURL = function(dep, importerUrl) { return new URL(dep, importerUrl).href };const seen = {};const __vitePreload = function preload(baseModule, deps, importerUrl) {
8322
8306
  let promise = Promise.resolve();
8323
8307
  if (true && deps && deps.length > 0) {
@@ -8391,81 +8375,37 @@ const routes = [
8391
8375
  {
8392
8376
  path: "/",
8393
8377
  name: "/",
8394
- component: () => __vitePreload(() => import('./index-C7UY5Jwe.js'),true?__vite__mapDeps([0,1,2,3]):void 0,import.meta.url)
8378
+ component: () => __vitePreload(() => import('./index-BXzBS9S9.js'),true?__vite__mapDeps([0,1,2,3]):void 0,import.meta.url)
8395
8379
  /* no children */
8396
8380
  },
8397
8381
  {
8398
8382
  path: "/about",
8399
8383
  name: "/about",
8400
- component: () => __vitePreload(() => import('./about-fwLgTlz5.js'),true?__vite__mapDeps([4,1]):void 0,import.meta.url)
8384
+ component: () => __vitePreload(() => import('./about-BOi5HgAL.js'),true?__vite__mapDeps([4,1]):void 0,import.meta.url)
8401
8385
  /* no children */
8402
8386
  },
8403
8387
  {
8404
8388
  path: "/categories",
8405
8389
  name: "/categories",
8406
- component: () => __vitePreload(() => import('./categories-BH1LT9Ew.js'),true?__vite__mapDeps([5,1]):void 0,import.meta.url)
8390
+ component: () => __vitePreload(() => import('./categories-BoywQLCd.js'),true?__vite__mapDeps([5,1]):void 0,import.meta.url)
8407
8391
  /* no children */
8408
8392
  },
8409
8393
  {
8410
8394
  path: "/migration",
8411
8395
  name: "/migration",
8412
- component: () => __vitePreload(() => import('./migration-DZ1dFStt.js'),true?__vite__mapDeps([6,2]):void 0,import.meta.url)
8396
+ component: () => __vitePreload(() => import('./migration-YufEETN0.js'),true?__vite__mapDeps([6,2]):void 0,import.meta.url)
8413
8397
  /* no children */
8414
8398
  },
8415
8399
  {
8416
8400
  path: "/tags",
8417
8401
  name: "/tags",
8418
- component: () => __vitePreload(() => import('./tags-Cp1XyAHo.js'),true?__vite__mapDeps([7,1]):void 0,import.meta.url)
8402
+ component: () => __vitePreload(() => import('./tags-Y0x_kR--.js'),true?__vite__mapDeps([7,1]):void 0,import.meta.url)
8419
8403
  /* no children */
8420
8404
  }
8421
8405
  ];
8422
8406
 
8423
8407
  /* Injected with object hook! */
8424
8408
 
8425
- const devtoolsRouter = ref();
8426
- const activePath = ref("");
8427
- const frontmatter = ref();
8428
- const pageData = ref();
8429
-
8430
- /* Injected with object hook! */
8431
-
8432
- function getAppWindow() {
8433
- return window.parent.parent;
8434
- }
8435
- function getWindowProperty(property) {
8436
- return window.parent.parent[property];
8437
- }
8438
- function getGlobalValaxyProperty(property) {
8439
- const $valaxy = window.parent.parent.$valaxy;
8440
- return $valaxy[property];
8441
- }
8442
-
8443
- /* Injected with object hook! */
8444
-
8445
- function initDevtoolsClient() {
8446
- const __VUE_DEVTOOLS_ROUTER__ = getWindowProperty("__VUE_DEVTOOLS_ROUTER__");
8447
- devtoolsRouter.value = __VUE_DEVTOOLS_ROUTER__;
8448
- devtoolsRouter.value.beforeEach((to, _from, next) => {
8449
- activePath.value = to.path;
8450
- next();
8451
- });
8452
- onMounted(() => {
8453
- frontmatter.value = getWindowProperty("$frontmatter");
8454
- pageData.value = getWindowProperty("$pageData");
8455
- });
8456
- devtoolsRouter.value.afterEach(async () => {
8457
- await nextTick();
8458
- frontmatter.value = getWindowProperty("$frontmatter");
8459
- pageData.value = getWindowProperty("$pageData");
8460
- });
8461
- }
8462
-
8463
- /* Injected with object hook! */
8464
-
8465
- const isStaticMode = document.body.getAttribute("data-valaxy-devtools-mode") === "BUILD";
8466
-
8467
- /* Injected with object hook! */
8468
-
8469
8409
  const _hoisted_1$1 = {
8470
8410
  class: "w-full border-b shadow flex justify-end",
8471
8411
  dark: "border-b-black",
@@ -8536,6 +8476,50 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8536
8476
 
8537
8477
  /* Injected with object hook! */
8538
8478
 
8479
+ function getAppWindow() {
8480
+ return window.parent.parent;
8481
+ }
8482
+ function getWindowProperty(property) {
8483
+ return window.parent.parent[property];
8484
+ }
8485
+ function getGlobalValaxyProperty(property) {
8486
+ const $valaxy = window.parent.parent.$valaxy;
8487
+ return $valaxy[property];
8488
+ }
8489
+
8490
+ /* Injected with object hook! */
8491
+
8492
+ const devtoolsRouter = ref();
8493
+ const activePath = ref("");
8494
+ const frontmatter = ref();
8495
+ const pageData = ref();
8496
+
8497
+ /* Injected with object hook! */
8498
+
8499
+ function initDevtoolsClient() {
8500
+ const __VUE_DEVTOOLS_ROUTER__ = getWindowProperty("__VUE_DEVTOOLS_ROUTER__");
8501
+ devtoolsRouter.value = __VUE_DEVTOOLS_ROUTER__;
8502
+ devtoolsRouter.value.beforeEach((to, _from, next) => {
8503
+ activePath.value = to.path;
8504
+ next();
8505
+ });
8506
+ onMounted(() => {
8507
+ frontmatter.value = getWindowProperty("$frontmatter");
8508
+ pageData.value = getWindowProperty("$pageData");
8509
+ });
8510
+ devtoolsRouter.value.afterEach(async () => {
8511
+ await nextTick();
8512
+ frontmatter.value = getWindowProperty("$frontmatter");
8513
+ pageData.value = getWindowProperty("$pageData");
8514
+ });
8515
+ }
8516
+
8517
+ /* Injected with object hook! */
8518
+
8519
+ const isStaticMode = document.body.getAttribute("data-valaxy-devtools-mode") === "BUILD";
8520
+
8521
+ /* Injected with object hook! */
8522
+
8539
8523
  const _hoisted_1 = {
8540
8524
  class: "h-full",
8541
8525
  flex: "~ col",
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, e as ref, f as onMounted, x as getGlobalValaxyProperty, o as openBlock, j as createBlock, w as withCtx, u as unref, m as createVNode, h as createBaseVNode, a as createElementBlock, k as renderList, F as Fragment, B as withDirectives, C as vModelCheckbox, t as toDisplayString, D as vModelText } from './index-C0sDfLZp.js';
2
- import { g, M, a as axios } from './splitpanes.es-9Ifkhfso.js';
1
+ import { d as defineComponent, e as ref, f as onMounted, x as getGlobalValaxyProperty, o as openBlock, j as createBlock, w as withCtx, u as unref, m as createVNode, h as createBaseVNode, a as createElementBlock, k as renderList, F as Fragment, B as withDirectives, C as vModelCheckbox, t as toDisplayString, D as vModelText } from './index-BtHI3jth.js';
2
+ import { g, M, a as axios } from './splitpanes.es-BzsZAuZt.js';
3
3
 
4
4
  const _hoisted_1 = {
5
5
  class: "h-full",
@@ -1,4 +1,4 @@
1
- import { E as h, o as openBlock, a as createElementBlock, r as renderSlot, G as normalizeStyle } from './index-C0sDfLZp.js';
1
+ import { E as h, o as openBlock, a as createElementBlock, r as renderSlot, G as normalizeStyle } from './index-BtHI3jth.js';
2
2
 
3
3
  function bind(fn, thisArg) {
4
4
  return function wrap() {
@@ -3166,7 +3166,7 @@ function dispatchRequest(config) {
3166
3166
 
3167
3167
  /* Injected with object hook! */
3168
3168
 
3169
- const VERSION = "1.7.8";
3169
+ const VERSION = "1.7.9";
3170
3170
  /* Injected with object hook! */
3171
3171
 
3172
3172
  const validators$1 = {};
@@ -1,5 +1,5 @@
1
1
  import { _ as _export_sfc } from './_plugin-vue_export-helper-DgDhiqFL.js';
2
- import { a as createElementBlock, o as openBlock } from './index-C0sDfLZp.js';
2
+ import { a as createElementBlock, o as openBlock } from './index-BtHI3jth.js';
3
3
 
4
4
  /* unplugin-vue-components disabled */const _sfc_main = {};
5
5
 
@@ -16,7 +16,7 @@
16
16
  document.documentElement.classList.toggle('dark', true)
17
17
  })()
18
18
  </script>
19
- <script type="module" crossorigin src="./assets/index-C0sDfLZp.js"></script>
19
+ <script type="module" crossorigin src="./assets/index-BtHI3jth.js"></script>
20
20
  <link rel="stylesheet" crossorigin href="./assets/index-CGiiZwdq.css">
21
21
  </head>
22
22
 
package/dist/index.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
+ const httpProxyMiddleware = require('http-proxy-middleware');
3
4
  const c = require('picocolors');
4
5
  const sirv = require('sirv');
5
- const httpProxyMiddleware = require('http-proxy-middleware');
6
6
  const node_path = require('node:path');
7
7
  const node_url = require('node:url');
8
8
  const bodyParser = require('body-parser');
9
+ const fs = require('fs-extra');
9
10
  const matter = require('gray-matter');
10
11
  const jsYaml = require('js-yaml');
11
- const fs = require('fs-extra');
12
12
 
13
13
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
14
14
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
@@ -16,8 +16,8 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
16
16
  const c__default = /*#__PURE__*/_interopDefaultCompat(c);
17
17
  const sirv__default = /*#__PURE__*/_interopDefaultCompat(sirv);
18
18
  const bodyParser__default = /*#__PURE__*/_interopDefaultCompat(bodyParser);
19
- const matter__default = /*#__PURE__*/_interopDefaultCompat(matter);
20
19
  const fs__default = /*#__PURE__*/_interopDefaultCompat(fs);
20
+ const matter__default = /*#__PURE__*/_interopDefaultCompat(matter);
21
21
 
22
22
  const DIR_DIST = typeof __dirname !== "undefined" ? __dirname : node_path.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))));
23
23
  const DEVTOOLS_CLIENT_FOLDER = node_path.resolve(DIR_DIST, "../dist/client");
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
+ import { createProxyMiddleware } from 'http-proxy-middleware';
1
2
  import c from 'picocolors';
2
3
  import sirv from 'sirv';
3
- import { createProxyMiddleware } from 'http-proxy-middleware';
4
4
  import { dirname, resolve } from 'node:path';
5
5
  import { fileURLToPath } from 'node:url';
6
6
  import bodyParser from 'body-parser';
7
+ import fs from 'fs-extra';
7
8
  import matter from 'gray-matter';
8
9
  import { JSON_SCHEMA } from 'js-yaml';
9
- import fs from 'fs-extra';
10
10
 
11
11
  const DIR_DIST = typeof __dirname !== "undefined" ? __dirname : dirname(fileURLToPath(import.meta.url));
12
12
  const DEVTOOLS_CLIENT_FOLDER = resolve(DIR_DIST, "../dist/client");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valaxyjs/devtools",
3
3
  "type": "module",
4
- "version": "0.20.5",
4
+ "version": "0.20.7",
5
5
  "repository": {
6
6
  "url": "https://github.com/YunYouJun/valaxy"
7
7
  },
@@ -18,8 +18,8 @@
18
18
  "types": "dist/index.d.ts",
19
19
  "dependencies": {
20
20
  "@rollup/pluginutils": "^5.1.3",
21
- "axios": "^1.7.8",
22
- "body-parser": "^2.0.1",
21
+ "axios": "^1.7.9",
22
+ "body-parser": "^2.0.2",
23
23
  "http-proxy-middleware": "^3.0.3",
24
24
  "js-yaml": "^4.1.0",
25
25
  "picocolors": "^1.1.1",
@@ -32,10 +32,10 @@
32
32
  "@types/splitpanes": "^2.2.6",
33
33
  "gray-matter": "^4.0.3",
34
34
  "splitpanes": "^3.1.5",
35
- "typescript": "^5.7.2",
35
+ "typescript": "5.6",
36
36
  "unbuild": "^2.0.0",
37
- "unplugin-vue-router": "^0.10.8",
38
- "vite": "^6.0.0"
37
+ "unplugin-vue-router": "^0.10.9",
38
+ "vite": "^6.0.3"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "rimraf dist && run-s build:*",
@@ -45,6 +45,6 @@
45
45
  "dev:client": "vite dev src/client --port 5001",
46
46
  "watch:client": "vite build src/client --watch",
47
47
  "stub": "unbuild --stub",
48
- "release": "bumpp && npm publish"
48
+ "release": "bumpp && pnpm publish"
49
49
  }
50
50
  }
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { onMounted } from 'vue'
3
- import { initDevtoolsClient } from './utils'
4
3
  import VDHeader from './components/VDHeader.vue'
4
+ import { initDevtoolsClient } from './utils'
5
5
 
6
6
  onMounted(() => {
7
7
  initDevtoolsClient()
@@ -1,9 +1,9 @@
1
1
  <script lang="ts" setup>
2
- import { ref, toRaw } from 'vue'
3
2
  import type { PostFrontMatter } from 'valaxy'
4
-
5
3
  import axios from 'axios'
4
+
6
5
  import consola from 'consola'
6
+ import { ref, toRaw } from 'vue'
7
7
  import { pageData } from '../composables/app'
8
8
 
9
9
  const props = defineProps<{
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" setup>
2
- import { getWindowProperty, openInEditor } from '../utils'
3
2
  import { frontmatter } from '../composables/app'
3
+ import { getWindowProperty, openInEditor } from '../utils'
4
4
 
5
5
  function launchEditor() {
6
6
  openInEditor({
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { onMounted, ref } from 'vue'
3
- import { getGlobalValaxyProperty } from '../utils'
4
3
  import { activePath, devtoolsRouter } from '../composables/app'
4
+ import { getGlobalValaxyProperty } from '../utils'
5
5
 
6
6
  const postList = ref()
7
7
 
@@ -7,53 +7,53 @@ export {}
7
7
  /* prettier-ignore */
8
8
  declare module 'vue' {
9
9
  export interface GlobalComponents {
10
- AGUIAccordion: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/accordion/AGUIAccordion.vue')['default']
11
- AGUIAccordionItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/accordion/AGUIAccordionItem.vue')['default']
12
- AGUIApp: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUIApp.vue')['default']
13
- AGUIAssetsExplorer: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/explorer/AGUIAssetsExplorer.vue')['default']
14
- AGUIBreadcrumb: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/breadcrumb/AGUIBreadcrumb.vue')['default']
15
- AGUIButton: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/button/AGUIButton.vue')['default']
16
- AGUICheckbox: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUICheckbox.vue')['default']
17
- AGUIColorPicker: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUIColorPicker.vue')['default']
18
- AGUIContextMenu: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/context-menu/AGUIContextMenu.vue')['default']
19
- AGUIContextMenuItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/context-menu/AGUIContextMenuItem.vue')['default']
20
- AGUIDetails: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUIDetails.vue')['default']
21
- AGUIExplorerControls: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/explorer/AGUIExplorerControls.vue')['default']
22
- AGUIFileHandler: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/file/AGUIFileHandler.vue')['default']
23
- AGUIFileItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/explorer/AGUIFileItem.vue')['default']
24
- AGUIFileList: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/explorer/AGUIFileList.vue')['default']
25
- AGUIForm: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/form/AGUIForm.vue')['default']
26
- AGUIFormItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/form/AGUIFormItem.vue')['default']
27
- AGUIHr: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/common/AGUIHr.vue')['default']
28
- AGUIIcon: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/icon/AGUIIcon.vue')['default']
29
- AGUIIconButton: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/button/AGUIIconButton.vue')['default']
30
- AGUIInnerInput: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/input/AGUIInnerInput.vue')['default']
31
- AGUIInput: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/input/AGUIInput.vue')['default']
32
- AGUIInputNumber: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/input/AGUIInputNumber.vue')['default']
33
- AGUIInputVector: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/input/AGUIInputVector.vue')['default']
34
- AGUILayout: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/layout/AGUILayout.vue')['default']
35
- AGUIMenubar: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/menu/AGUIMenubar.vue')['default']
36
- AGUIMenubarMenu: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/menu/AGUIMenubarMenu.vue')['default']
37
- AGUINumberField: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUINumberField.vue')['default']
38
- AGUINumberSlider: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUINumberSlider.vue')['default']
39
- AGUIOpenDirectory: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/explorer/AGUIOpenDirectory.vue')['default']
40
- AGUIOverlay: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUIOverlay.vue')['default']
41
- AGUIPanel: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUIPanel.vue')['default']
42
- AGUIPropertiesForm: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/panel/AGUIPropertiesForm.vue')['default']
43
- AGUIPropertiesPanel: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/panel/AGUIPropertiesPanel.vue')['default']
44
- AGUIProperty: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUIProperty.vue')['default']
45
- AGUISelect: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/select/AGUISelect.vue')['default']
46
- AGUISlider: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/AGUISlider.vue')['default']
47
- AGUITabPanel: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/tabs/AGUITabPanel.vue')['default']
48
- AGUITabs: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/tabs/AGUITabs.vue')['default']
49
- AGUITextarea: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/textarea/AGUITextarea.vue')['default']
50
- AGUIToast: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/toast/AGUIToast.vue')['default']
51
- AGUIToggleIcon: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/button/AGUIToggleIcon.vue')['default']
52
- AGUIToolbar: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/toolbar/AGUIToolbar.vue')['default']
53
- AGUITree: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/tree/AGUITree.vue')['default']
54
- AGUITreeNode: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/tree/AGUITreeNode.vue')['default']
55
- BIconChevronLeft: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/icons/BIconChevronLeft.vue')['default']
56
- BIconChevronRight: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.7.2_/node_modules/@advjs/gui/client/components/icons/BIconChevronRight.vue')['default']
10
+ AGUIAccordion: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/accordion/AGUIAccordion.vue')['default']
11
+ AGUIAccordionItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/accordion/AGUIAccordionItem.vue')['default']
12
+ AGUIApp: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUIApp.vue')['default']
13
+ AGUIAssetsExplorer: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/explorer/AGUIAssetsExplorer.vue')['default']
14
+ AGUIBreadcrumb: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/breadcrumb/AGUIBreadcrumb.vue')['default']
15
+ AGUIButton: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/button/AGUIButton.vue')['default']
16
+ AGUICheckbox: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUICheckbox.vue')['default']
17
+ AGUIColorPicker: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUIColorPicker.vue')['default']
18
+ AGUIContextMenu: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/context-menu/AGUIContextMenu.vue')['default']
19
+ AGUIContextMenuItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/context-menu/AGUIContextMenuItem.vue')['default']
20
+ AGUIDetails: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUIDetails.vue')['default']
21
+ AGUIExplorerControls: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/explorer/AGUIExplorerControls.vue')['default']
22
+ AGUIFileHandler: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/file/AGUIFileHandler.vue')['default']
23
+ AGUIFileItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/explorer/AGUIFileItem.vue')['default']
24
+ AGUIFileList: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/explorer/AGUIFileList.vue')['default']
25
+ AGUIForm: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/form/AGUIForm.vue')['default']
26
+ AGUIFormItem: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/form/AGUIFormItem.vue')['default']
27
+ AGUIHr: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/common/AGUIHr.vue')['default']
28
+ AGUIIcon: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/icon/AGUIIcon.vue')['default']
29
+ AGUIIconButton: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/button/AGUIIconButton.vue')['default']
30
+ AGUIInnerInput: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/input/AGUIInnerInput.vue')['default']
31
+ AGUIInput: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/input/AGUIInput.vue')['default']
32
+ AGUIInputNumber: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/input/AGUIInputNumber.vue')['default']
33
+ AGUIInputVector: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/input/AGUIInputVector.vue')['default']
34
+ AGUILayout: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/layout/AGUILayout.vue')['default']
35
+ AGUIMenubar: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/menu/AGUIMenubar.vue')['default']
36
+ AGUIMenubarMenu: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/menu/AGUIMenubarMenu.vue')['default']
37
+ AGUINumberField: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUINumberField.vue')['default']
38
+ AGUINumberSlider: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUINumberSlider.vue')['default']
39
+ AGUIOpenDirectory: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/explorer/AGUIOpenDirectory.vue')['default']
40
+ AGUIOverlay: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUIOverlay.vue')['default']
41
+ AGUIPanel: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUIPanel.vue')['default']
42
+ AGUIPropertiesForm: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/panel/AGUIPropertiesForm.vue')['default']
43
+ AGUIPropertiesPanel: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/panel/AGUIPropertiesPanel.vue')['default']
44
+ AGUIProperty: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUIProperty.vue')['default']
45
+ AGUISelect: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/select/AGUISelect.vue')['default']
46
+ AGUISlider: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/AGUISlider.vue')['default']
47
+ AGUITabPanel: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/tabs/AGUITabPanel.vue')['default']
48
+ AGUITabs: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/tabs/AGUITabs.vue')['default']
49
+ AGUITextarea: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/textarea/AGUITextarea.vue')['default']
50
+ AGUIToast: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/toast/AGUIToast.vue')['default']
51
+ AGUIToggleIcon: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/button/AGUIToggleIcon.vue')['default']
52
+ AGUIToolbar: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/toolbar/AGUIToolbar.vue')['default']
53
+ AGUITree: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/tree/AGUITree.vue')['default']
54
+ AGUITreeNode: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/tree/AGUITreeNode.vue')['default']
55
+ BIconChevronLeft: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/icons/BIconChevronLeft.vue')['default']
56
+ BIconChevronRight: typeof import('./../../../../node_modules/.pnpm/@advjs+gui@0.0.7-beta.1_vue@3.5.13_typescript@5.6.3_/node_modules/@advjs/gui/client/components/icons/BIconChevronRight.vue')['default']
57
57
  PageFrontmatter: typeof import('./components/PageFrontmatter.vue')['default']
58
58
  PostPanel: typeof import('./components/PostPanel.vue')['default']
59
59
  RouterLink: typeof import('vue-router')['RouterLink']
@@ -1,8 +1,8 @@
1
1
  import type { PageData, PostFrontMatter } from 'valaxy'
2
- import { ref } from 'vue'
3
-
4
2
  import type { Router } from 'vue-router'
5
3
 
4
+ import { ref } from 'vue'
5
+
6
6
  export const devtoolsRouter = ref<Router>()
7
7
  export const activePath = ref('')
8
8
 
@@ -1,8 +1,8 @@
1
1
  // register vue composition api globally
2
2
  import { createApp, ref } from 'vue'
3
3
 
4
- import { createRouter, createWebHashHistory } from 'vue-router/auto'
5
- import { routes } from 'vue-router/auto-routes'
4
+ import { createRouter, createWebHashHistory } from 'vue-router'
5
+ import { handleHotUpdate, routes } from 'vue-router/auto-routes'
6
6
  import App from './App.vue'
7
7
 
8
8
  import '@unocss/reset/tailwind.css'
@@ -28,5 +28,10 @@ if (import.meta.env.DEV) {
28
28
  }
29
29
  }
30
30
 
31
+ // This will update routes at runtime without reloading the page
32
+ if (import.meta.hot) {
33
+ handleHotUpdate(router)
34
+ }
35
+
31
36
  app.use(router)
32
37
  app.mount('#app')
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
- import { onMounted, ref } from 'vue'
3
- import { Pane, Splitpanes } from 'splitpanes'
4
2
  import axios from 'axios'
3
+ import { Pane, Splitpanes } from 'splitpanes'
4
+ import { onMounted, ref } from 'vue'
5
5
  import { getGlobalValaxyProperty } from '../utils'
6
6
 
7
7
  interface frontmatter {
@@ -1,5 +1,5 @@
1
- export * from './init'
2
1
  export * from './api'
3
2
  export * from './get'
3
+ export * from './init'
4
4
 
5
5
  export const isStaticMode = document.body.getAttribute('data-valaxy-devtools-mode') === 'BUILD'
@@ -1,5 +1,5 @@
1
- import { nextTick, onMounted } from 'vue'
2
1
  import type { Router } from 'vue-router'
2
+ import { nextTick, onMounted } from 'vue'
3
3
  import { activePath, devtoolsRouter, frontmatter, pageData } from '../composables/app'
4
4
  import { getWindowProperty } from './get'
5
5
 
@@ -1,10 +1,10 @@
1
1
  import { join, resolve } from 'node:path'
2
- import { defineConfig } from 'vite'
2
+ import { componentsDir } from '@advjs/gui/node'
3
3
  import Vue from '@vitejs/plugin-vue'
4
- import VueRouter from 'unplugin-vue-router/vite'
5
- import VueComponents from 'unplugin-vue-components/vite'
6
4
  import Unocss from 'unocss/vite'
7
- import { componentsDir } from '@advjs/gui/node'
5
+ import VueComponents from 'unplugin-vue-components/vite'
6
+ import VueRouter from 'unplugin-vue-router/vite'
7
+ import { defineConfig } from 'vite'
8
8
  import { unoConfig } from '../../../../uno.config'
9
9
 
10
10
  export default defineConfig({
@@ -1,9 +1,9 @@
1
1
  import type { ResolvedConfig, ViteDevServer } from 'vite'
2
2
  import bodyParser from 'body-parser'
3
3
 
4
+ import fs from 'fs-extra'
4
5
  import matter from 'gray-matter'
5
6
  import { JSON_SCHEMA } from 'js-yaml'
6
- import fs from 'fs-extra'
7
7
 
8
8
  const prefix = '/valaxy-devtools-api'
9
9
 
package/src/node/index.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import type { Plugin, ResolvedConfig, ViteDevServer } from 'vite'
2
+ import type { ValaxyDevtoolsOptions } from './types'
3
+ import { createProxyMiddleware } from 'http-proxy-middleware'
2
4
  import c from 'picocolors'
3
5
  import sirv from 'sirv'
4
- import { createProxyMiddleware } from 'http-proxy-middleware'
5
6
  import { DIR_CLIENT } from '../dir'
6
- import type { ValaxyDevtoolsOptions } from './types'
7
7
  import { registerApi } from './api'
8
8
 
9
9
  const NAME = 'valaxy:devtools'