valaxy 0.18.0-beta.0 → 0.18.0-beta.2

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 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGO3LEXT4cjs = require('../../chunk-GO3LEXT4.cjs');require('../../chunk-RWOIGW5M.cjs');exports.cli = _chunkGO3LEXT4cjs.M; exports.run = _chunkGO3LEXT4cjs.N;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkV3BYMJ7Pcjs = require('../../chunk-V3BYMJ7P.cjs');require('../../chunk-RWOIGW5M.cjs');exports.cli = _chunkV3BYMJ7Pcjs.T; exports.run = _chunkV3BYMJ7Pcjs.U;
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{M as a,N as b}from"../../chunk-AQGELPBR.mjs";import"../../chunk-MJRGR35B.mjs";export{a as cli,b as run};
2
+ import{T as a,U as b}from"../../chunk-OKWTZ6SV.mjs";import"../../chunk-MJRGR35B.mjs";export{a as cli,b as run};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGO3LEXT4cjs = require('../chunk-GO3LEXT4.cjs');require('../chunk-RWOIGW5M.cjs');exports.build = _chunkGO3LEXT4cjs.H; exports.cli = _chunkGO3LEXT4cjs.M; exports.createServer = _chunkGO3LEXT4cjs.L; exports.defaultSiteConfig = _chunkGO3LEXT4cjs.k; exports.defaultValaxyConfig = _chunkGO3LEXT4cjs.o; exports.defineAddon = _chunkGO3LEXT4cjs.v; exports.defineConfig = _chunkGO3LEXT4cjs.q; exports.defineSiteConfig = _chunkGO3LEXT4cjs.l; exports.defineTheme = _chunkGO3LEXT4cjs.A; exports.defineUnoSetup = _chunkGO3LEXT4cjs.B; exports.defineValaxyAddon = _chunkGO3LEXT4cjs.u; exports.defineValaxyConfig = _chunkGO3LEXT4cjs.p; exports.defineValaxyTheme = _chunkGO3LEXT4cjs.z; exports.ensurePrefix = _chunkGO3LEXT4cjs.e; exports.generateClientRedirects = _chunkGO3LEXT4cjs.K; exports.getGitTimestamp = _chunkGO3LEXT4cjs.a; exports.getIndexHtml = _chunkGO3LEXT4cjs.G; exports.isExternal = _chunkGO3LEXT4cjs.c; exports.isPath = _chunkGO3LEXT4cjs.g; exports.loadConfig = _chunkGO3LEXT4cjs.i; exports.loadConfigFromFile = _chunkGO3LEXT4cjs.j; exports.mergeValaxyConfig = _chunkGO3LEXT4cjs.s; exports.mergeViteConfigs = _chunkGO3LEXT4cjs.F; exports.postProcessForSSG = _chunkGO3LEXT4cjs.J; exports.processValaxyOptions = _chunkGO3LEXT4cjs.C; exports.resolveAddonsConfig = _chunkGO3LEXT4cjs.w; exports.resolveImportPath = _chunkGO3LEXT4cjs.b; exports.resolveOptions = _chunkGO3LEXT4cjs.D; exports.resolveSiteConfig = _chunkGO3LEXT4cjs.n; exports.resolveSiteConfigFromRoot = _chunkGO3LEXT4cjs.m; exports.resolveThemeConfigFromRoot = _chunkGO3LEXT4cjs.x; exports.resolveThemeValaxyConfig = _chunkGO3LEXT4cjs.E; exports.resolveUserThemeConfig = _chunkGO3LEXT4cjs.y; exports.resolveValaxyConfig = _chunkGO3LEXT4cjs.t; exports.resolveValaxyConfigFromRoot = _chunkGO3LEXT4cjs.r; exports.run = _chunkGO3LEXT4cjs.N; exports.slash = _chunkGO3LEXT4cjs.d; exports.ssgBuild = _chunkGO3LEXT4cjs.I; exports.toAtFS = _chunkGO3LEXT4cjs.f; exports.transformObject = _chunkGO3LEXT4cjs.h;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkV3BYMJ7Pcjs = require('../chunk-V3BYMJ7P.cjs');require('../chunk-RWOIGW5M.cjs');exports.ALL_ROUTE = _chunkV3BYMJ7Pcjs.f; exports.EXCERPT_SEPARATOR = _chunkV3BYMJ7Pcjs.c; exports.EXTERNAL_URL_RE = _chunkV3BYMJ7Pcjs.d; exports.PATHNAME_PROTOCOL_RE = _chunkV3BYMJ7Pcjs.e; exports.ViteValaxyPlugins = _chunkV3BYMJ7Pcjs.N; exports.build = _chunkV3BYMJ7Pcjs.O; exports.cli = _chunkV3BYMJ7Pcjs.T; exports.createServer = _chunkV3BYMJ7Pcjs.S; exports.createValaxyLoader = _chunkV3BYMJ7Pcjs.M; exports.customElements = _chunkV3BYMJ7Pcjs.g; exports.defaultSiteConfig = _chunkV3BYMJ7Pcjs.p; exports.defaultValaxyConfig = _chunkV3BYMJ7Pcjs.t; exports.defineAddon = _chunkV3BYMJ7Pcjs.A; exports.defineConfig = _chunkV3BYMJ7Pcjs.v; exports.defineSiteConfig = _chunkV3BYMJ7Pcjs.q; exports.defineTheme = _chunkV3BYMJ7Pcjs.F; exports.defineUnoSetup = _chunkV3BYMJ7Pcjs.G; exports.defineValaxyAddon = _chunkV3BYMJ7Pcjs.z; exports.defineValaxyConfig = _chunkV3BYMJ7Pcjs.u; exports.defineValaxyTheme = _chunkV3BYMJ7Pcjs.E; exports.ensurePrefix = _chunkV3BYMJ7Pcjs.j; exports.generateClientRedirects = _chunkV3BYMJ7Pcjs.R; exports.getGitTimestamp = _chunkV3BYMJ7Pcjs.a; exports.getIndexHtml = _chunkV3BYMJ7Pcjs.L; exports.isExternal = _chunkV3BYMJ7Pcjs.h; exports.isPath = _chunkV3BYMJ7Pcjs.l; exports.loadConfig = _chunkV3BYMJ7Pcjs.n; exports.loadConfigFromFile = _chunkV3BYMJ7Pcjs.o; exports.mergeValaxyConfig = _chunkV3BYMJ7Pcjs.x; exports.mergeViteConfigs = _chunkV3BYMJ7Pcjs.K; exports.postProcessForSSG = _chunkV3BYMJ7Pcjs.Q; exports.processValaxyOptions = _chunkV3BYMJ7Pcjs.H; exports.resolveAddonsConfig = _chunkV3BYMJ7Pcjs.B; exports.resolveImportPath = _chunkV3BYMJ7Pcjs.b; exports.resolveOptions = _chunkV3BYMJ7Pcjs.I; exports.resolveSiteConfig = _chunkV3BYMJ7Pcjs.s; exports.resolveSiteConfigFromRoot = _chunkV3BYMJ7Pcjs.r; exports.resolveThemeConfigFromRoot = _chunkV3BYMJ7Pcjs.C; exports.resolveThemeValaxyConfig = _chunkV3BYMJ7Pcjs.J; exports.resolveUserThemeConfig = _chunkV3BYMJ7Pcjs.D; exports.resolveValaxyConfig = _chunkV3BYMJ7Pcjs.y; exports.resolveValaxyConfigFromRoot = _chunkV3BYMJ7Pcjs.w; exports.run = _chunkV3BYMJ7Pcjs.U; exports.slash = _chunkV3BYMJ7Pcjs.i; exports.ssgBuild = _chunkV3BYMJ7Pcjs.P; exports.toAtFS = _chunkV3BYMJ7Pcjs.k; exports.transformObject = _chunkV3BYMJ7Pcjs.m;
@@ -1,7 +1,7 @@
1
1
  import { ViteSSGOptions } from 'vite-ssg';
2
2
  export { cli, run } from './cli/index.cjs';
3
3
  import * as vite from 'vite';
4
- import { UserConfig, InlineConfig } from 'vite';
4
+ import { UserConfig, InlineConfig, Plugin, PluginOption } from 'vite';
5
5
  import * as valaxy_types from 'valaxy/types';
6
6
  import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
7
7
  import { MarkdownEnv } from 'unplugin-vue-markdown/types';
@@ -374,6 +374,12 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
374
374
  */
375
375
  declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
376
376
 
377
+ declare const EXCERPT_SEPARATOR = "<!-- more -->";
378
+ declare const EXTERNAL_URL_RE: RegExp;
379
+ declare const PATHNAME_PROTOCOL_RE: RegExp;
380
+ declare const ALL_ROUTE = "/:all(.*)*";
381
+ declare const customElements: Set<string>;
382
+
377
383
  declare function build(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
378
384
  declare function ssgBuild(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
379
385
  /**
@@ -480,6 +486,21 @@ declare const defineTheme: typeof defineValaxyTheme;
480
486
  type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
481
487
  declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
482
488
 
489
+ /**
490
+ * @packageDocumentation valaxy plugin
491
+ */
492
+
493
+ /**
494
+ * create valaxy loader (custom virtual modules)
495
+ * multiple plugins
496
+ * @internal
497
+ * @param options
498
+ * @param serverOptions
499
+ */
500
+ declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
501
+
502
+ declare function ViteValaxyPlugins(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
503
+
483
504
  declare function createServer(options: ResolvedValaxyOptions, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
484
505
 
485
506
  declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
@@ -505,4 +526,4 @@ declare function isPath(name: string): boolean;
505
526
  */
506
527
  declare function transformObject(obj: any): string;
507
528
 
508
- export { type HookResult, type LoadConfigFromFileOptions, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, build, createServer, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
529
+ export { ALL_ROUTE, EXCERPT_SEPARATOR, EXTERNAL_URL_RE, type HookResult, type LoadConfigFromFileOptions, PATHNAME_PROTOCOL_RE, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, ViteValaxyPlugins, build, createServer, createValaxyLoader, customElements, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
@@ -1,7 +1,7 @@
1
1
  import { ViteSSGOptions } from 'vite-ssg';
2
2
  export { cli, run } from './cli/index.js';
3
3
  import * as vite from 'vite';
4
- import { UserConfig, InlineConfig } from 'vite';
4
+ import { UserConfig, InlineConfig, Plugin, PluginOption } from 'vite';
5
5
  import * as valaxy_types from 'valaxy/types';
6
6
  import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
7
7
  import { MarkdownEnv } from 'unplugin-vue-markdown/types';
@@ -374,6 +374,12 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
374
374
  */
375
375
  declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
376
376
 
377
+ declare const EXCERPT_SEPARATOR = "<!-- more -->";
378
+ declare const EXTERNAL_URL_RE: RegExp;
379
+ declare const PATHNAME_PROTOCOL_RE: RegExp;
380
+ declare const ALL_ROUTE = "/:all(.*)*";
381
+ declare const customElements: Set<string>;
382
+
377
383
  declare function build(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
378
384
  declare function ssgBuild(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
379
385
  /**
@@ -480,6 +486,21 @@ declare const defineTheme: typeof defineValaxyTheme;
480
486
  type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
481
487
  declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
482
488
 
489
+ /**
490
+ * @packageDocumentation valaxy plugin
491
+ */
492
+
493
+ /**
494
+ * create valaxy loader (custom virtual modules)
495
+ * multiple plugins
496
+ * @internal
497
+ * @param options
498
+ * @param serverOptions
499
+ */
500
+ declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
501
+
502
+ declare function ViteValaxyPlugins(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
503
+
483
504
  declare function createServer(options: ResolvedValaxyOptions, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
484
505
 
485
506
  declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
@@ -505,4 +526,4 @@ declare function isPath(name: string): boolean;
505
526
  */
506
527
  declare function transformObject(obj: any): string;
507
528
 
508
- export { type HookResult, type LoadConfigFromFileOptions, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, build, createServer, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
529
+ export { ALL_ROUTE, EXCERPT_SEPARATOR, EXTERNAL_URL_RE, type HookResult, type LoadConfigFromFileOptions, PATHNAME_PROTOCOL_RE, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, ViteValaxyPlugins, build, createServer, createValaxyLoader, customElements, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-AQGELPBR.mjs";import"../chunk-MJRGR35B.mjs";export{H as build,M as cli,L as createServer,k as defaultSiteConfig,o as defaultValaxyConfig,v as defineAddon,q as defineConfig,l as defineSiteConfig,A as defineTheme,B as defineUnoSetup,u as defineValaxyAddon,p as defineValaxyConfig,z as defineValaxyTheme,e as ensurePrefix,K as generateClientRedirects,a as getGitTimestamp,G as getIndexHtml,c as isExternal,g as isPath,i as loadConfig,j as loadConfigFromFile,s as mergeValaxyConfig,F as mergeViteConfigs,J as postProcessForSSG,C as processValaxyOptions,w as resolveAddonsConfig,b as resolveImportPath,D as resolveOptions,n as resolveSiteConfig,m as resolveSiteConfigFromRoot,x as resolveThemeConfigFromRoot,E as resolveThemeValaxyConfig,y as resolveUserThemeConfig,t as resolveValaxyConfig,r as resolveValaxyConfigFromRoot,N as run,d as slash,I as ssgBuild,f as toAtFS,h as transformObject};
2
+ import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-OKWTZ6SV.mjs";import"../chunk-MJRGR35B.mjs";export{f as ALL_ROUTE,c as EXCERPT_SEPARATOR,d as EXTERNAL_URL_RE,e as PATHNAME_PROTOCOL_RE,N as ViteValaxyPlugins,O as build,T as cli,S as createServer,M as createValaxyLoader,g as customElements,p as defaultSiteConfig,t as defaultValaxyConfig,A as defineAddon,v as defineConfig,q as defineSiteConfig,F as defineTheme,G as defineUnoSetup,z as defineValaxyAddon,u as defineValaxyConfig,E as defineValaxyTheme,j as ensurePrefix,R as generateClientRedirects,a as getGitTimestamp,L as getIndexHtml,h as isExternal,l as isPath,n as loadConfig,o as loadConfigFromFile,x as mergeValaxyConfig,K as mergeViteConfigs,Q as postProcessForSSG,H as processValaxyOptions,B as resolveAddonsConfig,b as resolveImportPath,I as resolveOptions,s as resolveSiteConfig,r as resolveSiteConfigFromRoot,C as resolveThemeConfigFromRoot,J as resolveThemeValaxyConfig,D as resolveUserThemeConfig,y as resolveValaxyConfig,w as resolveValaxyConfigFromRoot,U as run,i as slash,P as ssgBuild,k as toAtFS,m as transformObject};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valaxy",
3
3
  "type": "module",
4
- "version": "0.18.0-beta.0",
4
+ "version": "0.18.0-beta.2",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -59,7 +59,7 @@
59
59
  "dependencies": {
60
60
  "@antfu/utils": "^0.7.7",
61
61
  "@ctrl/tinycolor": "^4.0.3",
62
- "@iconify-json/carbon": "^1.1.29",
62
+ "@iconify-json/carbon": "^1.1.30",
63
63
  "@iconify-json/ri": "^1.1.19",
64
64
  "@intlify/unplugin-vue-i18n": "^2.0.0",
65
65
  "@types/body-scroll-lock": "^3.1.2",
@@ -108,7 +108,7 @@
108
108
  "pinia": "^2.1.7",
109
109
  "qrcode": "^1.5.3",
110
110
  "sass": "^1.70.0",
111
- "shiki": "^1.1.1",
111
+ "shiki": "^1.1.2",
112
112
  "star-markdown-css": "^0.4.2",
113
113
  "unconfig": "^0.3.11",
114
114
  "unocss": "^0.58.5",
@@ -121,11 +121,11 @@
121
121
  "vite-plugin-vue-layouts": "0.11.0",
122
122
  "vite-ssg": "0.23.6",
123
123
  "vite-ssg-sitemap": "0.6.1",
124
- "vue": "^3.4.18",
124
+ "vue": "^3.4.19",
125
125
  "vue-i18n": "^9.9.1",
126
126
  "vue-router": "^4.2.5",
127
127
  "yargs": "^17.7.2",
128
- "@valaxyjs/devtools": "0.0.1"
128
+ "@valaxyjs/devtools": "0.18.0-beta.2"
129
129
  },
130
130
  "devDependencies": {
131
131
  "@mdit-vue/plugin-component": "^2.0.0",
package/shims.d.ts CHANGED
@@ -2,6 +2,7 @@ import 'vue-router'
2
2
 
3
3
  // import './client/typed-router'
4
4
 
5
+ import type { Ref } from 'vue'
5
6
  import type { Post } from './types'
6
7
  import type { Header } from './node/plugins/markdown'
7
8
 
@@ -12,6 +13,10 @@ declare module '@docsearch/js' {
12
13
  }
13
14
 
14
15
  declare interface Window {
16
+ $valaxy: {
17
+ postList: Ref<Post[]>
18
+ }
19
+
15
20
  // algolia
16
21
  instantsearch: any
17
22
  algoliasearch: any