valaxy 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.
- package/client/components/ValaxyApp.vue +10 -11
- package/client/components/ValaxyDecrypt.vue +9 -7
- package/client/components/ValaxyGalleryDecrypt.vue +1 -0
- package/client/components/ValaxyLogo.vue +5 -1
- package/client/components/ValaxyMd.vue +3 -3
- package/client/components/builtin/ValaxyMermaid.vue +40 -41
- package/client/composables/app/useValaxyHead.ts +13 -6
- package/client/composables/categories.ts +1 -1
- package/client/composables/codeGroups.ts +1 -1
- package/client/composables/collections.ts +1 -1
- package/client/composables/common.ts +3 -3
- package/client/composables/features/collapse-code.ts +1 -1
- package/client/composables/features/copy-code.ts +1 -0
- package/client/composables/features/index.ts +1 -1
- package/client/composables/helper/useInvisibleElement.ts +1 -1
- package/client/composables/index.ts +10 -10
- package/client/composables/locale.ts +4 -3
- package/client/composables/outline/anchor.ts +9 -8
- package/client/composables/outline/headers.ts +3 -3
- package/client/composables/outline/index.ts +1 -1
- package/client/composables/post/index.ts +3 -3
- package/client/composables/search/useFuseSearch.ts +4 -4
- package/client/composables/tags.ts +1 -1
- package/client/composables/widgets/aplayer.ts +1 -1
- package/client/config.ts +8 -8
- package/client/index.ts +5 -5
- package/client/main.ts +15 -15
- package/client/modules/devtools.ts +1 -1
- package/client/modules/floating-vue.ts +3 -3
- package/client/modules/mermaid.ts +3 -3
- package/client/modules/nprogress.ts +1 -1
- package/client/modules/pinia.ts +1 -1
- package/client/modules/schemaOrg.ts +1 -1
- package/client/modules/valaxy.ts +6 -6
- package/client/setup/main.ts +7 -7
- package/client/setup/mermaid.ts +1 -1
- package/client/setups.ts +2 -2
- package/client/stores/app.ts +1 -1
- package/client/stores/site.ts +2 -2
- package/client/styles/common/markdown.scss +4 -4
- package/client/styles/index.scss +0 -1
- package/client/types/index.ts +1 -1
- package/client/utils/index.ts +3 -3
- package/client/utils/time.ts +3 -4
- package/dist/chunk-JOSLTXIR.cjs +161 -0
- package/dist/chunk-LB5BBIUM.mjs +162 -0
- package/dist/node/cli/index.cjs +1 -1
- package/dist/node/cli/index.mjs +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +86 -86
- package/dist/node/index.d.ts +86 -86
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.mjs +1 -1
- package/package.json +23 -23
- package/shims.d.ts +2 -2
- package/types/config.ts +1 -1
- package/types/index.ts +3 -3
- package/client/styles/common/scrollbar.scss +0 -30
- package/dist/chunk-5CL433IL.mjs +0 -162
- package/dist/chunk-VDCJKFCV.cjs +0 -161
- package/dist/{chunk-6GE64PZD.cjs → chunk-BJ22GQI6.cjs} +0 -0
- package/dist/{chunk-WE2LNW3F.mjs → chunk-XKANGEKW.mjs} +0 -0
- package/dist/{config-DfXD9Gt_.d.cts → config-Dxu7i2Zs.d.cts} +1 -1
- package/dist/{config-DfXD9Gt_.d.ts → config-Dxu7i2Zs.d.ts} +1 -1
package/dist/node/cli/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJOSLTXIRcjs = require('../../chunk-JOSLTXIR.cjs');require('../../chunk-BJ22GQI6.cjs');exports.cli = _chunkJOSLTXIRcjs.V; exports.run = _chunkJOSLTXIRcjs.W;
|
package/dist/node/cli/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
|
|
2
|
-
import{V as a,W as b}from"../../chunk-
|
|
2
|
+
import{V as a,W as b}from"../../chunk-LB5BBIUM.mjs";import"../../chunk-XKANGEKW.mjs";export{a as cli,b as run};
|
package/dist/node/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJOSLTXIRcjs = require('../chunk-JOSLTXIR.cjs');require('../chunk-BJ22GQI6.cjs');exports.ALL_ROUTE = _chunkJOSLTXIRcjs.d; exports.EXCERPT_SEPARATOR = _chunkJOSLTXIRcjs.a; exports.EXTERNAL_URL_RE = _chunkJOSLTXIRcjs.b; exports.PATHNAME_PROTOCOL_RE = _chunkJOSLTXIRcjs.c; exports.ViteValaxyPlugins = _chunkJOSLTXIRcjs.P; exports.build = _chunkJOSLTXIRcjs.Q; exports.cli = _chunkJOSLTXIRcjs.V; exports.createServer = _chunkJOSLTXIRcjs.U; exports.createValaxyLoader = _chunkJOSLTXIRcjs.O; exports.customElements = _chunkJOSLTXIRcjs.e; exports.defaultSiteConfig = _chunkJOSLTXIRcjs.t; exports.defaultValaxyConfig = _chunkJOSLTXIRcjs.x; exports.defaultViteConfig = _chunkJOSLTXIRcjs.f; exports.defineAddon = _chunkJOSLTXIRcjs.E; exports.defineConfig = _chunkJOSLTXIRcjs.z; exports.defineSiteConfig = _chunkJOSLTXIRcjs.u; exports.defineTheme = _chunkJOSLTXIRcjs.J; exports.defineUnoSetup = _chunkJOSLTXIRcjs.K; exports.defineValaxyAddon = _chunkJOSLTXIRcjs.D; exports.defineValaxyConfig = _chunkJOSLTXIRcjs.y; exports.defineValaxyTheme = _chunkJOSLTXIRcjs.I; exports.ensurePrefix = _chunkJOSLTXIRcjs.j; exports.generateClientRedirects = _chunkJOSLTXIRcjs.T; exports.getGitTimestamp = _chunkJOSLTXIRcjs.g; exports.getIndexHtml = _chunkJOSLTXIRcjs.q; exports.isExternal = _chunkJOSLTXIRcjs.h; exports.isInstalledGlobally = _chunkJOSLTXIRcjs.n; exports.isPath = _chunkJOSLTXIRcjs.l; exports.loadConfig = _chunkJOSLTXIRcjs.r; exports.loadConfigFromFile = _chunkJOSLTXIRcjs.s; exports.mergeValaxyConfig = _chunkJOSLTXIRcjs.B; exports.mergeViteConfigs = _chunkJOSLTXIRcjs.p; exports.postProcessForSSG = _chunkJOSLTXIRcjs.S; exports.processValaxyOptions = _chunkJOSLTXIRcjs.L; exports.resolveAddonsConfig = _chunkJOSLTXIRcjs.F; exports.resolveImportPath = _chunkJOSLTXIRcjs.o; exports.resolveOptions = _chunkJOSLTXIRcjs.M; exports.resolveSiteConfig = _chunkJOSLTXIRcjs.w; exports.resolveSiteConfigFromRoot = _chunkJOSLTXIRcjs.v; exports.resolveThemeConfigFromRoot = _chunkJOSLTXIRcjs.G; exports.resolveThemeValaxyConfig = _chunkJOSLTXIRcjs.N; exports.resolveUserThemeConfig = _chunkJOSLTXIRcjs.H; exports.resolveValaxyConfig = _chunkJOSLTXIRcjs.C; exports.resolveValaxyConfigFromRoot = _chunkJOSLTXIRcjs.A; exports.run = _chunkJOSLTXIRcjs.W; exports.slash = _chunkJOSLTXIRcjs.i; exports.ssgBuild = _chunkJOSLTXIRcjs.R; exports.toAtFS = _chunkJOSLTXIRcjs.k; exports.transformObject = _chunkJOSLTXIRcjs.m;
|
package/dist/node/index.d.cts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { ViteSSGOptions } from 'vite-ssg';
|
|
2
|
-
export { cli, run } from './cli/index.cjs';
|
|
3
2
|
import * as vite from 'vite';
|
|
4
|
-
import { UserConfig, InlineConfig,
|
|
3
|
+
import { UserConfig, InlineConfig, PluginOption, Plugin } from 'vite';
|
|
4
|
+
import { MarkdownEnv } from 'unplugin-vue-markdown/types';
|
|
5
5
|
import * as valaxy_types from 'valaxy/types';
|
|
6
6
|
import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
|
|
7
|
-
import { MarkdownEnv } from 'unplugin-vue-markdown/types';
|
|
8
7
|
import Vue from '@vitejs/plugin-vue';
|
|
8
|
+
import { Hookable } from 'hookable';
|
|
9
|
+
import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
|
|
10
|
+
import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
|
|
11
|
+
import { VitePluginConfig } from 'unocss/vite';
|
|
9
12
|
import Components from 'unplugin-vue-components/vite';
|
|
10
|
-
import Layouts from 'vite-plugin-vue-layouts';
|
|
11
13
|
import Markdown from 'unplugin-vue-markdown/vite';
|
|
12
|
-
import Router from 'unplugin-vue-router/vite';
|
|
13
|
-
import { VitePluginConfig } from 'unocss/vite';
|
|
14
14
|
import { EditableTreeNode } from 'unplugin-vue-router';
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
|
|
18
|
-
import MarkdownIt from 'markdown-it';
|
|
19
|
-
import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
|
|
20
|
-
import anchorPlugin from 'markdown-it-anchor';
|
|
21
|
-
import { KatexOptions } from 'katex';
|
|
15
|
+
import Router from 'unplugin-vue-router/vite';
|
|
16
|
+
import Layouts from 'vite-plugin-vue-layouts';
|
|
22
17
|
import { HeadersPluginOptions } from '@mdit-vue/plugin-headers';
|
|
23
18
|
import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
24
19
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
20
|
+
import { KatexOptions } from 'katex';
|
|
21
|
+
import MarkdownIt from 'markdown-it';
|
|
22
|
+
import anchorPlugin from 'markdown-it-anchor';
|
|
23
|
+
import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
|
|
24
|
+
export { cli, run } from './cli/index.cjs';
|
|
25
25
|
import { Awaitable } from '@antfu/utils';
|
|
26
26
|
import * as defu from 'defu';
|
|
27
|
-
import { P as PartialDeep$1 } from '../config-
|
|
27
|
+
import { P as PartialDeep$1 } from '../config-Dxu7i2Zs.cjs';
|
|
28
28
|
import 'yargs';
|
|
29
|
-
import 'medium-zoom';
|
|
30
29
|
import '@vueuse/integrations/useFuse';
|
|
30
|
+
import 'medium-zoom';
|
|
31
31
|
import 'vanilla-lazyload';
|
|
32
32
|
import 'vue-router';
|
|
33
33
|
import '@vueuse/core';
|
|
@@ -471,6 +471,17 @@ declare function resolveOptions(options?: ValaxyEntryOptions, mode?: ResolvedVal
|
|
|
471
471
|
*/
|
|
472
472
|
declare function resolveThemeValaxyConfig(options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
|
|
473
473
|
|
|
474
|
+
declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
475
|
+
declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
476
|
+
/**
|
|
477
|
+
* post process for ssg fix extra string like `/html>` `ml>` `l>`
|
|
478
|
+
* handle tasks after ssg build
|
|
479
|
+
* todo find why
|
|
480
|
+
* @param options
|
|
481
|
+
*/
|
|
482
|
+
declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
|
|
483
|
+
declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
|
|
484
|
+
|
|
474
485
|
/**
|
|
475
486
|
* merge vite.config.ts (user & theme)
|
|
476
487
|
* @internal
|
|
@@ -482,26 +493,13 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
|
|
|
482
493
|
*/
|
|
483
494
|
declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
|
|
484
495
|
|
|
485
|
-
declare
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
*/
|
|
493
|
-
declare const defaultViteConfig: UserConfig;
|
|
494
|
-
|
|
495
|
-
declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
496
|
-
declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
497
|
-
/**
|
|
498
|
-
* post process for ssg fix extra string like `/html>` `ml>` `l>`
|
|
499
|
-
* handle tasks after ssg build
|
|
500
|
-
* todo find why
|
|
501
|
-
* @param options
|
|
502
|
-
*/
|
|
503
|
-
declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
|
|
504
|
-
declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
|
|
496
|
+
declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
497
|
+
setup?: ValaxyAddonResolver['setup'];
|
|
498
|
+
}): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
499
|
+
setup?: ValaxyAddonResolver["setup"];
|
|
500
|
+
};
|
|
501
|
+
declare const defineAddon: typeof defineValaxyAddon;
|
|
502
|
+
declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
|
|
505
503
|
|
|
506
504
|
interface LoadConfigFromFileOptions {
|
|
507
505
|
cwd?: string;
|
|
@@ -518,45 +516,6 @@ declare function loadConfig<T extends UserInputConfig = UserInputConfig>(options
|
|
|
518
516
|
}): Promise<ResolvedConfig<T>>;
|
|
519
517
|
declare function loadConfigFromFile<T extends UserInputConfig>(file: string, options?: LoadConfigFromFileOptions): Promise<ResolvedConfig<T>>;
|
|
520
518
|
|
|
521
|
-
declare const defaultValaxyConfig: ValaxyNodeConfig;
|
|
522
|
-
/**
|
|
523
|
-
* Type helper for valaxy.config.ts
|
|
524
|
-
*/
|
|
525
|
-
declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
|
|
526
|
-
declare const defineConfig: typeof defineValaxyConfig;
|
|
527
|
-
declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
|
|
528
|
-
/**
|
|
529
|
-
* merge valaxy.config
|
|
530
|
-
* (source, default)
|
|
531
|
-
*/
|
|
532
|
-
declare const mergeValaxyConfig: <Source extends {
|
|
533
|
-
[x: string]: any;
|
|
534
|
-
[x: number]: any;
|
|
535
|
-
[x: symbol]: any;
|
|
536
|
-
}, Defaults extends Array<{
|
|
537
|
-
[x: string]: any;
|
|
538
|
-
[x: number]: any;
|
|
539
|
-
[x: symbol]: any;
|
|
540
|
-
} | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
|
|
541
|
-
/**
|
|
542
|
-
* resolve user valaxy config
|
|
543
|
-
* options only have userRoot
|
|
544
|
-
* @param options
|
|
545
|
-
*/
|
|
546
|
-
declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
|
|
547
|
-
config: ValaxyNodeConfig;
|
|
548
|
-
configFile: string;
|
|
549
|
-
theme: string;
|
|
550
|
-
}>;
|
|
551
|
-
|
|
552
|
-
declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
553
|
-
setup?: ValaxyAddonResolver['setup'];
|
|
554
|
-
}): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
555
|
-
setup?: ValaxyAddonResolver["setup"];
|
|
556
|
-
};
|
|
557
|
-
declare const defineAddon: typeof defineValaxyAddon;
|
|
558
|
-
declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
|
|
559
|
-
|
|
560
519
|
declare const defaultSiteConfig: SiteConfig;
|
|
561
520
|
/**
|
|
562
521
|
* Type helper for site.config.ts
|
|
@@ -595,9 +554,52 @@ type ValaxyTheme<ThemeConfig = DefaultTheme.Config> = ValaxyPickConfig & {
|
|
|
595
554
|
declare function defineValaxyTheme<ThemeConfig = DefaultTheme.Config>(theme: ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>)): ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>);
|
|
596
555
|
declare const defineTheme: typeof defineValaxyTheme;
|
|
597
556
|
|
|
557
|
+
declare const defaultValaxyConfig: ValaxyNodeConfig;
|
|
558
|
+
/**
|
|
559
|
+
* Type helper for valaxy.config.ts
|
|
560
|
+
*/
|
|
561
|
+
declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
|
|
562
|
+
declare const defineConfig: typeof defineValaxyConfig;
|
|
563
|
+
declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
|
|
564
|
+
/**
|
|
565
|
+
* merge valaxy.config
|
|
566
|
+
* (source, default)
|
|
567
|
+
*/
|
|
568
|
+
declare const mergeValaxyConfig: <Source extends {
|
|
569
|
+
[x: string]: any;
|
|
570
|
+
[x: number]: any;
|
|
571
|
+
[x: symbol]: any;
|
|
572
|
+
}, Defaults extends Array<{
|
|
573
|
+
[x: string]: any;
|
|
574
|
+
[x: number]: any;
|
|
575
|
+
[x: symbol]: any;
|
|
576
|
+
} | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
|
|
577
|
+
/**
|
|
578
|
+
* resolve user valaxy config
|
|
579
|
+
* options only have userRoot
|
|
580
|
+
* @param options
|
|
581
|
+
*/
|
|
582
|
+
declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
|
|
583
|
+
config: ValaxyNodeConfig;
|
|
584
|
+
configFile: string;
|
|
585
|
+
theme: string;
|
|
586
|
+
}>;
|
|
587
|
+
|
|
598
588
|
type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
|
|
599
589
|
declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
|
|
600
590
|
|
|
591
|
+
declare const EXCERPT_SEPARATOR = "<!-- more -->";
|
|
592
|
+
declare const EXTERNAL_URL_RE: RegExp;
|
|
593
|
+
declare const PATHNAME_PROTOCOL_RE: RegExp;
|
|
594
|
+
declare const ALL_ROUTE = "/:all(.*)*";
|
|
595
|
+
declare const customElements: Set<string>;
|
|
596
|
+
/**
|
|
597
|
+
* @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
|
|
598
|
+
*/
|
|
599
|
+
declare const defaultViteConfig: UserConfig;
|
|
600
|
+
|
|
601
|
+
declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
|
|
602
|
+
|
|
601
603
|
/**
|
|
602
604
|
* @packageDocumentation valaxy plugin
|
|
603
605
|
*/
|
|
@@ -611,22 +613,10 @@ declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
|
|
|
611
613
|
*/
|
|
612
614
|
declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
|
|
613
615
|
|
|
614
|
-
declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
|
|
615
|
-
|
|
616
616
|
declare function createServer(valaxyApp: ValaxyNode, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
|
|
617
617
|
|
|
618
618
|
declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
|
|
619
619
|
|
|
620
|
-
declare const isInstalledGlobally: {
|
|
621
|
-
value?: boolean;
|
|
622
|
-
};
|
|
623
|
-
/**
|
|
624
|
-
* Before is CJS: use 'resolve'
|
|
625
|
-
* ESM: use 'mlly'
|
|
626
|
-
*/
|
|
627
|
-
declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
|
|
628
|
-
declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
|
|
629
|
-
|
|
630
620
|
/**
|
|
631
621
|
* is url external (http/https:)
|
|
632
622
|
* @param str
|
|
@@ -646,4 +636,14 @@ declare function isPath(name: string): boolean;
|
|
|
646
636
|
*/
|
|
647
637
|
declare function transformObject(obj: any): string;
|
|
648
638
|
|
|
639
|
+
declare const isInstalledGlobally: {
|
|
640
|
+
value?: boolean;
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* Before is CJS: use 'resolve'
|
|
644
|
+
* ESM: use 'mlly'
|
|
645
|
+
*/
|
|
646
|
+
declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
|
|
647
|
+
declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
|
|
648
|
+
|
|
649
649
|
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, isInstalledGlobally, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { ViteSSGOptions } from 'vite-ssg';
|
|
2
|
-
export { cli, run } from './cli/index.js';
|
|
3
2
|
import * as vite from 'vite';
|
|
4
|
-
import { UserConfig, InlineConfig,
|
|
3
|
+
import { UserConfig, InlineConfig, PluginOption, Plugin } from 'vite';
|
|
4
|
+
import { MarkdownEnv } from 'unplugin-vue-markdown/types';
|
|
5
5
|
import * as valaxy_types from 'valaxy/types';
|
|
6
6
|
import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
|
|
7
|
-
import { MarkdownEnv } from 'unplugin-vue-markdown/types';
|
|
8
7
|
import Vue from '@vitejs/plugin-vue';
|
|
8
|
+
import { Hookable } from 'hookable';
|
|
9
|
+
import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
|
|
10
|
+
import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
|
|
11
|
+
import { VitePluginConfig } from 'unocss/vite';
|
|
9
12
|
import Components from 'unplugin-vue-components/vite';
|
|
10
|
-
import Layouts from 'vite-plugin-vue-layouts';
|
|
11
13
|
import Markdown from 'unplugin-vue-markdown/vite';
|
|
12
|
-
import Router from 'unplugin-vue-router/vite';
|
|
13
|
-
import { VitePluginConfig } from 'unocss/vite';
|
|
14
14
|
import { EditableTreeNode } from 'unplugin-vue-router';
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
|
|
18
|
-
import MarkdownIt from 'markdown-it';
|
|
19
|
-
import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
|
|
20
|
-
import anchorPlugin from 'markdown-it-anchor';
|
|
21
|
-
import { KatexOptions } from 'katex';
|
|
15
|
+
import Router from 'unplugin-vue-router/vite';
|
|
16
|
+
import Layouts from 'vite-plugin-vue-layouts';
|
|
22
17
|
import { HeadersPluginOptions } from '@mdit-vue/plugin-headers';
|
|
23
18
|
import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
24
19
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
20
|
+
import { KatexOptions } from 'katex';
|
|
21
|
+
import MarkdownIt from 'markdown-it';
|
|
22
|
+
import anchorPlugin from 'markdown-it-anchor';
|
|
23
|
+
import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
|
|
24
|
+
export { cli, run } from './cli/index.js';
|
|
25
25
|
import { Awaitable } from '@antfu/utils';
|
|
26
26
|
import * as defu from 'defu';
|
|
27
|
-
import { P as PartialDeep$1 } from '../config-
|
|
27
|
+
import { P as PartialDeep$1 } from '../config-Dxu7i2Zs.js';
|
|
28
28
|
import 'yargs';
|
|
29
|
-
import 'medium-zoom';
|
|
30
29
|
import '@vueuse/integrations/useFuse';
|
|
30
|
+
import 'medium-zoom';
|
|
31
31
|
import 'vanilla-lazyload';
|
|
32
32
|
import 'vue-router';
|
|
33
33
|
import '@vueuse/core';
|
|
@@ -471,6 +471,17 @@ declare function resolveOptions(options?: ValaxyEntryOptions, mode?: ResolvedVal
|
|
|
471
471
|
*/
|
|
472
472
|
declare function resolveThemeValaxyConfig(options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
|
|
473
473
|
|
|
474
|
+
declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
475
|
+
declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
476
|
+
/**
|
|
477
|
+
* post process for ssg fix extra string like `/html>` `ml>` `l>`
|
|
478
|
+
* handle tasks after ssg build
|
|
479
|
+
* todo find why
|
|
480
|
+
* @param options
|
|
481
|
+
*/
|
|
482
|
+
declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
|
|
483
|
+
declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
|
|
484
|
+
|
|
474
485
|
/**
|
|
475
486
|
* merge vite.config.ts (user & theme)
|
|
476
487
|
* @internal
|
|
@@ -482,26 +493,13 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
|
|
|
482
493
|
*/
|
|
483
494
|
declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
|
|
484
495
|
|
|
485
|
-
declare
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
*/
|
|
493
|
-
declare const defaultViteConfig: UserConfig;
|
|
494
|
-
|
|
495
|
-
declare function build(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
496
|
-
declare function ssgBuild(valaxyApp: ValaxyNode, viteConfig?: InlineConfig): Promise<void>;
|
|
497
|
-
/**
|
|
498
|
-
* post process for ssg fix extra string like `/html>` `ml>` `l>`
|
|
499
|
-
* handle tasks after ssg build
|
|
500
|
-
* todo find why
|
|
501
|
-
* @param options
|
|
502
|
-
*/
|
|
503
|
-
declare function postProcessForSSG(options: ResolvedValaxyOptions): Promise<void>;
|
|
504
|
-
declare function generateClientRedirects(options: ResolvedValaxyOptions): Promise<void>;
|
|
496
|
+
declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
497
|
+
setup?: ValaxyAddonResolver['setup'];
|
|
498
|
+
}): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
499
|
+
setup?: ValaxyAddonResolver["setup"];
|
|
500
|
+
};
|
|
501
|
+
declare const defineAddon: typeof defineValaxyAddon;
|
|
502
|
+
declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
|
|
505
503
|
|
|
506
504
|
interface LoadConfigFromFileOptions {
|
|
507
505
|
cwd?: string;
|
|
@@ -518,45 +516,6 @@ declare function loadConfig<T extends UserInputConfig = UserInputConfig>(options
|
|
|
518
516
|
}): Promise<ResolvedConfig<T>>;
|
|
519
517
|
declare function loadConfigFromFile<T extends UserInputConfig>(file: string, options?: LoadConfigFromFileOptions): Promise<ResolvedConfig<T>>;
|
|
520
518
|
|
|
521
|
-
declare const defaultValaxyConfig: ValaxyNodeConfig;
|
|
522
|
-
/**
|
|
523
|
-
* Type helper for valaxy.config.ts
|
|
524
|
-
*/
|
|
525
|
-
declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
|
|
526
|
-
declare const defineConfig: typeof defineValaxyConfig;
|
|
527
|
-
declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
|
|
528
|
-
/**
|
|
529
|
-
* merge valaxy.config
|
|
530
|
-
* (source, default)
|
|
531
|
-
*/
|
|
532
|
-
declare const mergeValaxyConfig: <Source extends {
|
|
533
|
-
[x: string]: any;
|
|
534
|
-
[x: number]: any;
|
|
535
|
-
[x: symbol]: any;
|
|
536
|
-
}, Defaults extends Array<{
|
|
537
|
-
[x: string]: any;
|
|
538
|
-
[x: number]: any;
|
|
539
|
-
[x: symbol]: any;
|
|
540
|
-
} | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
|
|
541
|
-
/**
|
|
542
|
-
* resolve user valaxy config
|
|
543
|
-
* options only have userRoot
|
|
544
|
-
* @param options
|
|
545
|
-
*/
|
|
546
|
-
declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
|
|
547
|
-
config: ValaxyNodeConfig;
|
|
548
|
-
configFile: string;
|
|
549
|
-
theme: string;
|
|
550
|
-
}>;
|
|
551
|
-
|
|
552
|
-
declare function defineValaxyAddon<AddonOptions = object>(addonFunc: (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
553
|
-
setup?: ValaxyAddonResolver['setup'];
|
|
554
|
-
}): (addonOptions?: AddonOptions, valaxyOptions?: ResolvedValaxyOptions) => ValaxyAddon & {
|
|
555
|
-
setup?: ValaxyAddonResolver["setup"];
|
|
556
|
-
};
|
|
557
|
-
declare const defineAddon: typeof defineValaxyAddon;
|
|
558
|
-
declare function resolveAddonsConfig(addons: ValaxyAddonResolver[], options: ResolvedValaxyOptions): Promise<ValaxyNodeConfig>;
|
|
559
|
-
|
|
560
519
|
declare const defaultSiteConfig: SiteConfig;
|
|
561
520
|
/**
|
|
562
521
|
* Type helper for site.config.ts
|
|
@@ -595,9 +554,52 @@ type ValaxyTheme<ThemeConfig = DefaultTheme.Config> = ValaxyPickConfig & {
|
|
|
595
554
|
declare function defineValaxyTheme<ThemeConfig = DefaultTheme.Config>(theme: ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>)): ValaxyTheme<ThemeConfig> | ((options: ResolvedValaxyOptions<ThemeConfig>) => ValaxyTheme<ThemeConfig>);
|
|
596
555
|
declare const defineTheme: typeof defineValaxyTheme;
|
|
597
556
|
|
|
557
|
+
declare const defaultValaxyConfig: ValaxyNodeConfig;
|
|
558
|
+
/**
|
|
559
|
+
* Type helper for valaxy.config.ts
|
|
560
|
+
*/
|
|
561
|
+
declare function defineValaxyConfig<ThemeConfig>(config: UserValaxyNodeConfig<ThemeConfig>): PartialDeep$1<ValaxyNodeConfig<ThemeConfig>>;
|
|
562
|
+
declare const defineConfig: typeof defineValaxyConfig;
|
|
563
|
+
declare function resolveValaxyConfigFromRoot(root: string, options?: ResolvedValaxyOptions): Promise<ResolvedConfig<ValaxyNodeConfig>>;
|
|
564
|
+
/**
|
|
565
|
+
* merge valaxy.config
|
|
566
|
+
* (source, default)
|
|
567
|
+
*/
|
|
568
|
+
declare const mergeValaxyConfig: <Source extends {
|
|
569
|
+
[x: string]: any;
|
|
570
|
+
[x: number]: any;
|
|
571
|
+
[x: symbol]: any;
|
|
572
|
+
}, Defaults extends Array<{
|
|
573
|
+
[x: string]: any;
|
|
574
|
+
[x: number]: any;
|
|
575
|
+
[x: symbol]: any;
|
|
576
|
+
} | (number | boolean | any[] | Record<never, any> | null | undefined)>>(source: Source, ...defaults: Defaults) => defu.Defu<Source, Defaults>;
|
|
577
|
+
/**
|
|
578
|
+
* resolve user valaxy config
|
|
579
|
+
* options only have userRoot
|
|
580
|
+
* @param options
|
|
581
|
+
*/
|
|
582
|
+
declare function resolveValaxyConfig(options: ValaxyEntryOptions): Promise<{
|
|
583
|
+
config: ValaxyNodeConfig;
|
|
584
|
+
configFile: string;
|
|
585
|
+
theme: string;
|
|
586
|
+
}>;
|
|
587
|
+
|
|
598
588
|
type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
|
|
599
589
|
declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
|
|
600
590
|
|
|
591
|
+
declare const EXCERPT_SEPARATOR = "<!-- more -->";
|
|
592
|
+
declare const EXTERNAL_URL_RE: RegExp;
|
|
593
|
+
declare const PATHNAME_PROTOCOL_RE: RegExp;
|
|
594
|
+
declare const ALL_ROUTE = "/:all(.*)*";
|
|
595
|
+
declare const customElements: Set<string>;
|
|
596
|
+
/**
|
|
597
|
+
* @see https://vitejs.dev/config/shared-options.html#css-preprocessoroptions for sass@2
|
|
598
|
+
*/
|
|
599
|
+
declare const defaultViteConfig: UserConfig;
|
|
600
|
+
|
|
601
|
+
declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
|
|
602
|
+
|
|
601
603
|
/**
|
|
602
604
|
* @packageDocumentation valaxy plugin
|
|
603
605
|
*/
|
|
@@ -611,22 +613,10 @@ declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
|
|
|
611
613
|
*/
|
|
612
614
|
declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
|
|
613
615
|
|
|
614
|
-
declare function ViteValaxyPlugins(valaxyApp: ValaxyNode, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
|
|
615
|
-
|
|
616
616
|
declare function createServer(valaxyApp: ValaxyNode, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
|
|
617
617
|
|
|
618
618
|
declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
|
|
619
619
|
|
|
620
|
-
declare const isInstalledGlobally: {
|
|
621
|
-
value?: boolean;
|
|
622
|
-
};
|
|
623
|
-
/**
|
|
624
|
-
* Before is CJS: use 'resolve'
|
|
625
|
-
* ESM: use 'mlly'
|
|
626
|
-
*/
|
|
627
|
-
declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
|
|
628
|
-
declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
|
|
629
|
-
|
|
630
620
|
/**
|
|
631
621
|
* is url external (http/https:)
|
|
632
622
|
* @param str
|
|
@@ -646,4 +636,14 @@ declare function isPath(name: string): boolean;
|
|
|
646
636
|
*/
|
|
647
637
|
declare function transformObject(obj: any): string;
|
|
648
638
|
|
|
639
|
+
declare const isInstalledGlobally: {
|
|
640
|
+
value?: boolean;
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* Before is CJS: use 'resolve'
|
|
644
|
+
* ESM: use 'mlly'
|
|
645
|
+
*/
|
|
646
|
+
declare function resolveImportPath(importName: string, ensure?: true): Promise<string>;
|
|
647
|
+
declare function resolveImportPath(importName: string, ensure?: boolean): Promise<string | undefined>;
|
|
648
|
+
|
|
649
649
|
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, isInstalledGlobally, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
|
package/dist/node/index.mjs
CHANGED
|
@@ -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,V,W,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-
|
|
2
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,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-LB5BBIUM.mjs";import"../chunk-XKANGEKW.mjs";export{d as ALL_ROUTE,a as EXCERPT_SEPARATOR,b as EXTERNAL_URL_RE,c as PATHNAME_PROTOCOL_RE,P as ViteValaxyPlugins,Q as build,V as cli,U as createServer,O as createValaxyLoader,e as customElements,t as defaultSiteConfig,x as defaultValaxyConfig,f as defaultViteConfig,E as defineAddon,z as defineConfig,u as defineSiteConfig,J as defineTheme,K as defineUnoSetup,D as defineValaxyAddon,y as defineValaxyConfig,I as defineValaxyTheme,j as ensurePrefix,T as generateClientRedirects,g as getGitTimestamp,q as getIndexHtml,h as isExternal,n as isInstalledGlobally,l as isPath,r as loadConfig,s as loadConfigFromFile,B as mergeValaxyConfig,p as mergeViteConfigs,S as postProcessForSSG,L as processValaxyOptions,F as resolveAddonsConfig,o as resolveImportPath,M as resolveOptions,w as resolveSiteConfig,v as resolveSiteConfigFromRoot,G as resolveThemeConfigFromRoot,N as resolveThemeValaxyConfig,H as resolveUserThemeConfig,C as resolveValaxyConfig,A as resolveValaxyConfigFromRoot,W as run,i as slash,R as ssgBuild,k as toAtFS,m as transformObject};
|
package/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var _chunkBJ22GQI6cjs = require('../chunk-BJ22GQI6.cjs');_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );_chunkBJ22GQI6cjs.e.call(void 0, );
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-
|
|
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-
|
|
1
|
+
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-Dxu7i2Zs.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-Dxu7i2Zs.cjs';
|
|
3
3
|
import { Header } from '@valaxyjs/utils';
|
|
4
|
-
import 'medium-zoom';
|
|
5
4
|
import '@vueuse/integrations/useFuse';
|
|
5
|
+
import 'medium-zoom';
|
|
6
6
|
import 'vanilla-lazyload';
|
|
7
7
|
import 'vue-router';
|
|
8
8
|
import '@vueuse/core';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-
|
|
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-
|
|
1
|
+
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-Dxu7i2Zs.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-Dxu7i2Zs.js';
|
|
3
3
|
import { Header } from '@valaxyjs/utils';
|
|
4
|
-
import 'medium-zoom';
|
|
5
4
|
import '@vueuse/integrations/useFuse';
|
|
5
|
+
import 'medium-zoom';
|
|
6
6
|
import 'vanilla-lazyload';
|
|
7
7
|
import 'vue-router';
|
|
8
8
|
import '@vueuse/core';
|
package/dist/types/index.mjs
CHANGED
|
@@ -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-
|
|
2
|
+
import{d as e}from"../chunk-XKANGEKW.mjs";e();e();e();e();e();e();e();e();e();e();
|