valaxy 0.19.10 → 0.19.12

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.
@@ -167,11 +167,6 @@ interface PageFrontMatter extends Record<string, any> {
167
167
  * @description 是否完结,将在末尾添加衬线字体 Q.E.D.
168
168
  */
169
169
  end: boolean;
170
- /**
171
- * use aplayer
172
- * @url https://aplayer.js.org/
173
- */
174
- aplayer: boolean;
175
170
  /**
176
171
  * use katex
177
172
  * @url https://katex.org/
@@ -167,11 +167,6 @@ interface PageFrontMatter extends Record<string, any> {
167
167
  * @description 是否完结,将在末尾添加衬线字体 Q.E.D.
168
168
  */
169
169
  end: boolean;
170
- /**
171
- * use aplayer
172
- * @url https://aplayer.js.org/
173
- */
174
- aplayer: boolean;
175
170
  /**
176
171
  * use katex
177
172
  * @url https://katex.org/
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQWUYDMZEcjs = require('../../chunk-QWUYDMZE.cjs');require('../../chunk-DXFOPAC2.cjs');exports.cli = _chunkQWUYDMZEcjs.T; exports.run = _chunkQWUYDMZEcjs.U;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkR5X33MQOcjs = require('../../chunk-R5X33MQO.cjs');require('../../chunk-LUUQ46JJ.cjs');exports.cli = _chunkR5X33MQOcjs.U; exports.run = _chunkR5X33MQOcjs.V;
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{T as a,U as b}from"../../chunk-D4PSNC26.mjs";import"../../chunk-GLTG622Q.mjs";export{a as cli,b as run};
2
+ import{U as a,V as b}from"../../chunk-PBPCAJBC.mjs";import"../../chunk-LIAYL4DV.mjs";export{a as cli,b as run};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQWUYDMZEcjs = require('../chunk-QWUYDMZE.cjs');require('../chunk-DXFOPAC2.cjs');exports.ALL_ROUTE = _chunkQWUYDMZEcjs.e; exports.EXCERPT_SEPARATOR = _chunkQWUYDMZEcjs.b; exports.EXTERNAL_URL_RE = _chunkQWUYDMZEcjs.c; exports.PATHNAME_PROTOCOL_RE = _chunkQWUYDMZEcjs.d; exports.ViteValaxyPlugins = _chunkQWUYDMZEcjs.N; exports.build = _chunkQWUYDMZEcjs.O; exports.cli = _chunkQWUYDMZEcjs.T; exports.createServer = _chunkQWUYDMZEcjs.S; exports.createValaxyLoader = _chunkQWUYDMZEcjs.M; exports.customElements = _chunkQWUYDMZEcjs.f; exports.defaultSiteConfig = _chunkQWUYDMZEcjs.p; exports.defaultValaxyConfig = _chunkQWUYDMZEcjs.t; exports.defineAddon = _chunkQWUYDMZEcjs.A; exports.defineConfig = _chunkQWUYDMZEcjs.v; exports.defineSiteConfig = _chunkQWUYDMZEcjs.q; exports.defineTheme = _chunkQWUYDMZEcjs.F; exports.defineUnoSetup = _chunkQWUYDMZEcjs.G; exports.defineValaxyAddon = _chunkQWUYDMZEcjs.z; exports.defineValaxyConfig = _chunkQWUYDMZEcjs.u; exports.defineValaxyTheme = _chunkQWUYDMZEcjs.E; exports.ensurePrefix = _chunkQWUYDMZEcjs.j; exports.generateClientRedirects = _chunkQWUYDMZEcjs.R; exports.getGitTimestamp = _chunkQWUYDMZEcjs.a; exports.getIndexHtml = _chunkQWUYDMZEcjs.L; exports.isExternal = _chunkQWUYDMZEcjs.h; exports.isPath = _chunkQWUYDMZEcjs.l; exports.loadConfig = _chunkQWUYDMZEcjs.n; exports.loadConfigFromFile = _chunkQWUYDMZEcjs.o; exports.mergeValaxyConfig = _chunkQWUYDMZEcjs.x; exports.mergeViteConfigs = _chunkQWUYDMZEcjs.K; exports.postProcessForSSG = _chunkQWUYDMZEcjs.Q; exports.processValaxyOptions = _chunkQWUYDMZEcjs.H; exports.resolveAddonsConfig = _chunkQWUYDMZEcjs.B; exports.resolveImportPath = _chunkQWUYDMZEcjs.g; exports.resolveOptions = _chunkQWUYDMZEcjs.I; exports.resolveSiteConfig = _chunkQWUYDMZEcjs.s; exports.resolveSiteConfigFromRoot = _chunkQWUYDMZEcjs.r; exports.resolveThemeConfigFromRoot = _chunkQWUYDMZEcjs.C; exports.resolveThemeValaxyConfig = _chunkQWUYDMZEcjs.J; exports.resolveUserThemeConfig = _chunkQWUYDMZEcjs.D; exports.resolveValaxyConfig = _chunkQWUYDMZEcjs.y; exports.resolveValaxyConfigFromRoot = _chunkQWUYDMZEcjs.w; exports.run = _chunkQWUYDMZEcjs.U; exports.slash = _chunkQWUYDMZEcjs.i; exports.ssgBuild = _chunkQWUYDMZEcjs.P; exports.toAtFS = _chunkQWUYDMZEcjs.k; exports.transformObject = _chunkQWUYDMZEcjs.m;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkR5X33MQOcjs = require('../chunk-R5X33MQO.cjs');require('../chunk-LUUQ46JJ.cjs');exports.ALL_ROUTE = _chunkR5X33MQOcjs.e; exports.EXCERPT_SEPARATOR = _chunkR5X33MQOcjs.b; exports.EXTERNAL_URL_RE = _chunkR5X33MQOcjs.c; exports.PATHNAME_PROTOCOL_RE = _chunkR5X33MQOcjs.d; exports.ViteValaxyPlugins = _chunkR5X33MQOcjs.O; exports.build = _chunkR5X33MQOcjs.P; exports.cli = _chunkR5X33MQOcjs.U; exports.createServer = _chunkR5X33MQOcjs.T; exports.createValaxyLoader = _chunkR5X33MQOcjs.N; exports.customElements = _chunkR5X33MQOcjs.f; exports.defaultSiteConfig = _chunkR5X33MQOcjs.q; exports.defaultValaxyConfig = _chunkR5X33MQOcjs.u; exports.defaultViteConfig = _chunkR5X33MQOcjs.g; exports.defineAddon = _chunkR5X33MQOcjs.B; exports.defineConfig = _chunkR5X33MQOcjs.w; exports.defineSiteConfig = _chunkR5X33MQOcjs.r; exports.defineTheme = _chunkR5X33MQOcjs.G; exports.defineUnoSetup = _chunkR5X33MQOcjs.H; exports.defineValaxyAddon = _chunkR5X33MQOcjs.A; exports.defineValaxyConfig = _chunkR5X33MQOcjs.v; exports.defineValaxyTheme = _chunkR5X33MQOcjs.F; exports.ensurePrefix = _chunkR5X33MQOcjs.k; exports.generateClientRedirects = _chunkR5X33MQOcjs.S; exports.getGitTimestamp = _chunkR5X33MQOcjs.a; exports.getIndexHtml = _chunkR5X33MQOcjs.M; exports.isExternal = _chunkR5X33MQOcjs.i; exports.isPath = _chunkR5X33MQOcjs.m; exports.loadConfig = _chunkR5X33MQOcjs.o; exports.loadConfigFromFile = _chunkR5X33MQOcjs.p; exports.mergeValaxyConfig = _chunkR5X33MQOcjs.y; exports.mergeViteConfigs = _chunkR5X33MQOcjs.L; exports.postProcessForSSG = _chunkR5X33MQOcjs.R; exports.processValaxyOptions = _chunkR5X33MQOcjs.I; exports.resolveAddonsConfig = _chunkR5X33MQOcjs.C; exports.resolveImportPath = _chunkR5X33MQOcjs.h; exports.resolveOptions = _chunkR5X33MQOcjs.J; exports.resolveSiteConfig = _chunkR5X33MQOcjs.t; exports.resolveSiteConfigFromRoot = _chunkR5X33MQOcjs.s; exports.resolveThemeConfigFromRoot = _chunkR5X33MQOcjs.D; exports.resolveThemeValaxyConfig = _chunkR5X33MQOcjs.K; exports.resolveUserThemeConfig = _chunkR5X33MQOcjs.E; exports.resolveValaxyConfig = _chunkR5X33MQOcjs.z; exports.resolveValaxyConfigFromRoot = _chunkR5X33MQOcjs.x; exports.run = _chunkR5X33MQOcjs.V; exports.slash = _chunkR5X33MQOcjs.j; exports.ssgBuild = _chunkR5X33MQOcjs.Q; exports.toAtFS = _chunkR5X33MQOcjs.l; exports.transformObject = _chunkR5X33MQOcjs.n;
@@ -14,6 +14,7 @@ import { VitePluginConfig } from 'unocss/vite';
14
14
  import { EditableTreeNode } from 'unplugin-vue-router';
15
15
  import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
16
16
  import { Hookable } from 'hookable';
17
+ import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
17
18
  import MarkdownIt from 'markdown-it';
18
19
  import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
19
20
  import anchorPlugin from 'markdown-it-anchor';
@@ -23,7 +24,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
23
24
  import { TocPluginOptions } from '@mdit-vue/plugin-toc';
24
25
  import { Awaitable } from '@antfu/utils';
25
26
  import * as defu from 'defu';
26
- import { P as PartialDeep$1 } from '../config-DBw8bnRV.cjs';
27
+ import { P as PartialDeep$1 } from '../config-BNXiUUii.cjs';
27
28
  import 'yargs';
28
29
  import 'medium-zoom';
29
30
  import '@vueuse/integrations/useFuse';
@@ -223,6 +224,17 @@ interface ValaxyExtendConfig {
223
224
  */
224
225
  ssgForPagination: boolean;
225
226
  };
227
+ /**
228
+ * @experimental
229
+ * Deploy to gh-pages/remote server
230
+ */
231
+ deploy: {
232
+ /**
233
+ * @zh 部署类型
234
+ * @en deploy type
235
+ */
236
+ type?: 'gh-pages' | 'remote';
237
+ };
226
238
  /**
227
239
  * internal modules
228
240
  */
@@ -261,6 +273,11 @@ interface ValaxyExtendConfig {
261
273
  layouts?: Parameters<typeof Layouts>[0];
262
274
  router?: Parameters<typeof Router>[0];
263
275
  unocss?: VitePluginConfig;
276
+ /**
277
+ * rollup-plugin-visualizer
278
+ * @see https://github.com/btd/rollup-plugin-visualizer
279
+ */
280
+ visualizer?: PluginVisualizerOptions;
264
281
  /**
265
282
  * unocss presets
266
283
  */
@@ -408,6 +425,10 @@ declare const EXTERNAL_URL_RE: RegExp;
408
425
  declare const PATHNAME_PROTOCOL_RE: RegExp;
409
426
  declare const ALL_ROUTE = "/:all(.*)*";
410
427
  declare const customElements: Set<string>;
428
+ /**
429
+ * @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
430
+ */
431
+ declare const defaultViteConfig: UserConfig;
411
432
 
412
433
  declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
413
434
  declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
@@ -555,4 +576,4 @@ declare function isPath(name: string): boolean;
555
576
  */
556
577
  declare function transformObject(obj: any): string;
557
578
 
558
- 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 };
579
+ 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, defaultViteConfig, 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 };
@@ -14,6 +14,7 @@ import { VitePluginConfig } from 'unocss/vite';
14
14
  import { EditableTreeNode } from 'unplugin-vue-router';
15
15
  import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
16
16
  import { Hookable } from 'hookable';
17
+ import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
17
18
  import MarkdownIt from 'markdown-it';
18
19
  import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
19
20
  import anchorPlugin from 'markdown-it-anchor';
@@ -23,7 +24,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
23
24
  import { TocPluginOptions } from '@mdit-vue/plugin-toc';
24
25
  import { Awaitable } from '@antfu/utils';
25
26
  import * as defu from 'defu';
26
- import { P as PartialDeep$1 } from '../config-DBw8bnRV.js';
27
+ import { P as PartialDeep$1 } from '../config-BNXiUUii.js';
27
28
  import 'yargs';
28
29
  import 'medium-zoom';
29
30
  import '@vueuse/integrations/useFuse';
@@ -223,6 +224,17 @@ interface ValaxyExtendConfig {
223
224
  */
224
225
  ssgForPagination: boolean;
225
226
  };
227
+ /**
228
+ * @experimental
229
+ * Deploy to gh-pages/remote server
230
+ */
231
+ deploy: {
232
+ /**
233
+ * @zh 部署类型
234
+ * @en deploy type
235
+ */
236
+ type?: 'gh-pages' | 'remote';
237
+ };
226
238
  /**
227
239
  * internal modules
228
240
  */
@@ -261,6 +273,11 @@ interface ValaxyExtendConfig {
261
273
  layouts?: Parameters<typeof Layouts>[0];
262
274
  router?: Parameters<typeof Router>[0];
263
275
  unocss?: VitePluginConfig;
276
+ /**
277
+ * rollup-plugin-visualizer
278
+ * @see https://github.com/btd/rollup-plugin-visualizer
279
+ */
280
+ visualizer?: PluginVisualizerOptions;
264
281
  /**
265
282
  * unocss presets
266
283
  */
@@ -408,6 +425,10 @@ declare const EXTERNAL_URL_RE: RegExp;
408
425
  declare const PATHNAME_PROTOCOL_RE: RegExp;
409
426
  declare const ALL_ROUTE = "/:all(.*)*";
410
427
  declare const customElements: Set<string>;
428
+ /**
429
+ * @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
430
+ */
431
+ declare const defaultViteConfig: UserConfig;
411
432
 
412
433
  declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
413
434
  declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
@@ -555,4 +576,4 @@ declare function isPath(name: string): boolean;
555
576
  */
556
577
  declare function transformObject(obj: any): string;
557
578
 
558
- 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 };
579
+ 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, defaultViteConfig, 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,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-D4PSNC26.mjs";import"../chunk-GLTG622Q.mjs";export{e as ALL_ROUTE,b as EXCERPT_SEPARATOR,c as EXTERNAL_URL_RE,d as PATHNAME_PROTOCOL_RE,N as ViteValaxyPlugins,O as build,T as cli,S as createServer,M as createValaxyLoader,f 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,g 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};
2
+ import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,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-PBPCAJBC.mjs";import"../chunk-LIAYL4DV.mjs";export{e as ALL_ROUTE,b as EXCERPT_SEPARATOR,c as EXTERNAL_URL_RE,d as PATHNAME_PROTOCOL_RE,O as ViteValaxyPlugins,P as build,U as cli,T as createServer,N as createValaxyLoader,f as customElements,q as defaultSiteConfig,u as defaultValaxyConfig,g as defaultViteConfig,B as defineAddon,w as defineConfig,r as defineSiteConfig,G as defineTheme,H as defineUnoSetup,A as defineValaxyAddon,v as defineValaxyConfig,F as defineValaxyTheme,k as ensurePrefix,S as generateClientRedirects,a as getGitTimestamp,M as getIndexHtml,i as isExternal,m as isPath,o as loadConfig,p as loadConfigFromFile,y as mergeValaxyConfig,L as mergeViteConfigs,R as postProcessForSSG,I as processValaxyOptions,C as resolveAddonsConfig,h as resolveImportPath,J as resolveOptions,t as resolveSiteConfig,s as resolveSiteConfigFromRoot,D as resolveThemeConfigFromRoot,K as resolveThemeValaxyConfig,E as resolveUserThemeConfig,z as resolveValaxyConfig,x as resolveValaxyConfigFromRoot,V as run,j as slash,Q as ssgBuild,l as toAtFS,n as transformObject};
@@ -1 +1 @@
1
- "use strict";var _chunkDXFOPAC2cjs = require('../chunk-DXFOPAC2.cjs');_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );_chunkDXFOPAC2cjs.e.call(void 0, );
1
+ "use strict";var _chunkLUUQ46JJcjs = require('../chunk-LUUQ46JJ.cjs');_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );_chunkLUUQ46JJcjs.e.call(void 0, );
@@ -1,5 +1,5 @@
1
- import { a as PageFrontMatter, b as PostFrontMatter } from '../config-DBw8bnRV.cjs';
2
- export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-DBw8bnRV.cjs';
1
+ import { a as PageFrontMatter, b as PostFrontMatter } from '../config-BNXiUUii.cjs';
2
+ export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-BNXiUUii.cjs';
3
3
  import { Header } from '@valaxyjs/utils';
4
4
  import 'medium-zoom';
5
5
  import '@vueuse/integrations/useFuse';
@@ -1,5 +1,5 @@
1
- import { a as PageFrontMatter, b as PostFrontMatter } from '../config-DBw8bnRV.js';
2
- export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-DBw8bnRV.js';
1
+ import { a as PageFrontMatter, b as PostFrontMatter } from '../config-BNXiUUii.js';
2
+ export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-BNXiUUii.js';
3
3
  import { Header } from '@valaxyjs/utils';
4
4
  import 'medium-zoom';
5
5
  import '@vueuse/integrations/useFuse';
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{d as e}from"../chunk-GLTG622Q.mjs";e();e();e();e();e();e();e();e();e();e();
2
+ import{d as e}from"../chunk-LIAYL4DV.mjs";e();e();e();e();e();e();e();e();e();e();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valaxy",
3
3
  "type": "module",
4
- "version": "0.19.10",
4
+ "version": "0.19.12",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -56,24 +56,26 @@
56
56
  "node": "^14.18.0 || >=16.0.0"
57
57
  },
58
58
  "dependencies": {
59
+ "@antfu/install-pkg": "^0.4.1",
59
60
  "@antfu/utils": "^0.7.10",
61
+ "@clack/prompts": "^0.7.0",
60
62
  "@ctrl/tinycolor": "^4.1.0",
61
63
  "@iconify-json/ri": "^1.2.0",
62
- "@intlify/unplugin-vue-i18n": "^4.0.0",
64
+ "@intlify/unplugin-vue-i18n": "4",
63
65
  "@types/katex": "^0.16.7",
64
66
  "@types/luxon": "^3.4.2",
65
- "@unhead/addons": "^1.11.2",
66
- "@unhead/schema-org": "^1.11.2",
67
- "@unhead/vue": "^1.11.2",
68
- "@vitejs/plugin-vue": "^5.1.3",
67
+ "@unhead/addons": "^1.11.6",
68
+ "@unhead/schema-org": "^1.11.6",
69
+ "@unhead/vue": "^1.11.6",
70
+ "@vitejs/plugin-vue": "^5.1.4",
69
71
  "@vue/devtools-api": "^7.4.5",
70
- "@vueuse/core": "^11.0.3",
71
- "@vueuse/integrations": "^11.0.3",
72
+ "@vueuse/core": "^11.1.0",
73
+ "@vueuse/integrations": "^11.1.0",
72
74
  "consola": "^3.2.3",
73
75
  "critters": "^0.0.24",
74
76
  "cross-spawn": "^7.0.3",
75
77
  "css-i18n": "^0.0.5",
76
- "date-fns": "^3.6.0",
78
+ "date-fns": "^4.1.0",
77
79
  "date-fns-tz": "^3.1.3",
78
80
  "debug": "^4.3.7",
79
81
  "defu": "^6.1.4",
@@ -103,7 +105,7 @@
103
105
  "markdown-it-table-of-contents": "^0.8.0",
104
106
  "markdown-it-task-lists": "^2.1.1",
105
107
  "medium-zoom": "^1.1.0",
106
- "mermaid": "^11.2.0",
108
+ "mermaid": "^11.2.1",
107
109
  "nprogress": "^0.2.0",
108
110
  "open": "10.1.0",
109
111
  "ora": "^8.1.0",
@@ -111,25 +113,25 @@
111
113
  "pathe": "^1.1.2",
112
114
  "pinia": "^2.2.2",
113
115
  "qrcode": "^1.5.4",
114
- "sass": "^1.78.0",
115
- "shiki": "^1.17.6",
116
- "star-markdown-css": "^0.5.1",
117
- "unocss": "^0.62.3",
116
+ "sass": "^1.79.3",
117
+ "shiki": "^1.18.0",
118
+ "star-markdown-css": "^0.5.2",
119
+ "unocss": "^0.62.4",
118
120
  "unplugin-vue-components": "^0.27.4",
119
121
  "unplugin-vue-markdown": "^0.26.2",
120
122
  "unplugin-vue-router": "^0.10.8",
121
123
  "vanilla-lazyload": "^19.1.3",
122
- "vite": "^5.4.5",
124
+ "vite": "^5.4.7",
123
125
  "vite-plugin-vue-devtools": "^7.4.5",
124
126
  "vite-plugin-vue-layouts": "0.11.0",
125
127
  "vite-ssg": "0.23.7",
126
128
  "vite-ssg-sitemap": "0.6.1",
127
- "vue": "^3.5.5",
129
+ "vue": "^3.5.7",
128
130
  "vue-i18n": "^10.0.1",
129
131
  "vue-router": "^4.4.5",
130
132
  "yargs": "^17.7.2",
131
- "@valaxyjs/devtools": "0.19.10",
132
- "@valaxyjs/utils": "0.19.10"
133
+ "@valaxyjs/devtools": "0.19.12",
134
+ "@valaxyjs/utils": "0.19.12"
133
135
  },
134
136
  "devDependencies": {
135
137
  "@mdit-vue/plugin-component": "^2.1.3",
@@ -141,6 +143,7 @@
141
143
  "@mdit-vue/shared": "^2.1.3",
142
144
  "@types/cross-spawn": "^6.0.6",
143
145
  "@types/ejs": "^3.1.5",
146
+ "@types/gh-pages": "^6.1.0",
144
147
  "@types/html-to-text": "^9.0.4",
145
148
  "@types/js-yaml": "^4.0.9",
146
149
  "@types/markdown-it": "^14.1.2",
@@ -150,7 +153,9 @@
150
153
  "@types/qrcode": "^1.5.5",
151
154
  "@types/yargs": "^17.0.33",
152
155
  "diacritics": "^1.3.0",
153
- "https-localhost": "^4.7.1"
156
+ "gh-pages": "^6.1.1",
157
+ "https-localhost": "^4.7.1",
158
+ "rollup-plugin-visualizer": "^5.12.0"
154
159
  },
155
160
  "scripts": {
156
161
  "build": "rimraf dist && tsup --splitting",
@@ -117,12 +117,6 @@ export interface PageFrontMatter extends Record<string, any> {
117
117
  */
118
118
  end: boolean
119
119
 
120
- // third-party features
121
- /**
122
- * use aplayer
123
- * @url https://aplayer.js.org/
124
- */
125
- aplayer: boolean
126
120
  /**
127
121
  * use katex
128
122
  * @url https://katex.org/