valaxy 0.19.1 → 0.19.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.
- package/client/App.vue +5 -1
- package/client/composables/categories.ts +12 -1
- package/client/composables/outline/headers.ts +12 -1
- package/client/composables/tags.ts +9 -0
- package/client/locales/en.yml +2 -2
- package/client/setup/mermaid.ts +7 -0
- package/client/setups.ts +15 -0
- package/client/types/index.ts +3 -0
- package/client/utils/router.ts +18 -0
- package/client/utils/time.ts +8 -0
- package/dist/{chunk-W2X2FWTK.mjs → chunk-PTYUKZAG.mjs} +35 -35
- package/dist/{chunk-O2T7UBQW.cjs → chunk-RVKKZQ6C.cjs} +34 -34
- package/dist/{config-Bz-Xbvue.d.cts → config-BuLv3zWm.d.cts} +0 -7
- package/dist/{config-Bz-Xbvue.d.ts → config-BuLv3zWm.d.ts} +0 -7
- 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 +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +4 -5
- package/types/config.ts +0 -7
|
@@ -386,13 +386,6 @@ interface SiteConfig {
|
|
|
386
386
|
* @see https://ogp.me/#optional
|
|
387
387
|
*/
|
|
388
388
|
languages: string[];
|
|
389
|
-
/**
|
|
390
|
-
* @see https://day.js.org/docs/en/plugin/timezone
|
|
391
|
-
* @zh_CN 时区 'Asia/Shanghai' Recommended
|
|
392
|
-
* @en_US timezone
|
|
393
|
-
* @default '' Your Computer Timezone
|
|
394
|
-
*/
|
|
395
|
-
timezone: string;
|
|
396
389
|
/**
|
|
397
390
|
* You site url in web, required for ssg & rss
|
|
398
391
|
* @description 站点的完整 URL,SSG & RSS 需要(譬如生成版权处文章永久链接)
|
|
@@ -386,13 +386,6 @@ interface SiteConfig {
|
|
|
386
386
|
* @see https://ogp.me/#optional
|
|
387
387
|
*/
|
|
388
388
|
languages: string[];
|
|
389
|
-
/**
|
|
390
|
-
* @see https://day.js.org/docs/en/plugin/timezone
|
|
391
|
-
* @zh_CN 时区 'Asia/Shanghai' Recommended
|
|
392
|
-
* @en_US timezone
|
|
393
|
-
* @default '' Your Computer Timezone
|
|
394
|
-
*/
|
|
395
|
-
timezone: string;
|
|
396
389
|
/**
|
|
397
390
|
* You site url in web, required for ssg & rss
|
|
398
391
|
* @description 站点的完整 URL,SSG & RSS 需要(譬如生成版权处文章永久链接)
|
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 _chunkRVKKZQ6Ccjs = require('../../chunk-RVKKZQ6C.cjs');require('../../chunk-I6UPHJXQ.cjs');exports.cli = _chunkRVKKZQ6Ccjs.T; exports.run = _chunkRVKKZQ6Ccjs.U;
|
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{T as a,U as b}from"../../chunk-
|
|
2
|
+
import{T as a,U as b}from"../../chunk-PTYUKZAG.mjs";import"../../chunk-7VTZAWDO.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 _chunkRVKKZQ6Ccjs = require('../chunk-RVKKZQ6C.cjs');require('../chunk-I6UPHJXQ.cjs');exports.ALL_ROUTE = _chunkRVKKZQ6Ccjs.e; exports.EXCERPT_SEPARATOR = _chunkRVKKZQ6Ccjs.b; exports.EXTERNAL_URL_RE = _chunkRVKKZQ6Ccjs.c; exports.PATHNAME_PROTOCOL_RE = _chunkRVKKZQ6Ccjs.d; exports.ViteValaxyPlugins = _chunkRVKKZQ6Ccjs.N; exports.build = _chunkRVKKZQ6Ccjs.O; exports.cli = _chunkRVKKZQ6Ccjs.T; exports.createServer = _chunkRVKKZQ6Ccjs.S; exports.createValaxyLoader = _chunkRVKKZQ6Ccjs.M; exports.customElements = _chunkRVKKZQ6Ccjs.f; exports.defaultSiteConfig = _chunkRVKKZQ6Ccjs.p; exports.defaultValaxyConfig = _chunkRVKKZQ6Ccjs.t; exports.defineAddon = _chunkRVKKZQ6Ccjs.A; exports.defineConfig = _chunkRVKKZQ6Ccjs.v; exports.defineSiteConfig = _chunkRVKKZQ6Ccjs.q; exports.defineTheme = _chunkRVKKZQ6Ccjs.F; exports.defineUnoSetup = _chunkRVKKZQ6Ccjs.G; exports.defineValaxyAddon = _chunkRVKKZQ6Ccjs.z; exports.defineValaxyConfig = _chunkRVKKZQ6Ccjs.u; exports.defineValaxyTheme = _chunkRVKKZQ6Ccjs.E; exports.ensurePrefix = _chunkRVKKZQ6Ccjs.j; exports.generateClientRedirects = _chunkRVKKZQ6Ccjs.R; exports.getGitTimestamp = _chunkRVKKZQ6Ccjs.a; exports.getIndexHtml = _chunkRVKKZQ6Ccjs.L; exports.isExternal = _chunkRVKKZQ6Ccjs.h; exports.isPath = _chunkRVKKZQ6Ccjs.l; exports.loadConfig = _chunkRVKKZQ6Ccjs.n; exports.loadConfigFromFile = _chunkRVKKZQ6Ccjs.o; exports.mergeValaxyConfig = _chunkRVKKZQ6Ccjs.x; exports.mergeViteConfigs = _chunkRVKKZQ6Ccjs.K; exports.postProcessForSSG = _chunkRVKKZQ6Ccjs.Q; exports.processValaxyOptions = _chunkRVKKZQ6Ccjs.H; exports.resolveAddonsConfig = _chunkRVKKZQ6Ccjs.B; exports.resolveImportPath = _chunkRVKKZQ6Ccjs.g; exports.resolveOptions = _chunkRVKKZQ6Ccjs.I; exports.resolveSiteConfig = _chunkRVKKZQ6Ccjs.s; exports.resolveSiteConfigFromRoot = _chunkRVKKZQ6Ccjs.r; exports.resolveThemeConfigFromRoot = _chunkRVKKZQ6Ccjs.C; exports.resolveThemeValaxyConfig = _chunkRVKKZQ6Ccjs.J; exports.resolveUserThemeConfig = _chunkRVKKZQ6Ccjs.D; exports.resolveValaxyConfig = _chunkRVKKZQ6Ccjs.y; exports.resolveValaxyConfigFromRoot = _chunkRVKKZQ6Ccjs.w; exports.run = _chunkRVKKZQ6Ccjs.U; exports.slash = _chunkRVKKZQ6Ccjs.i; exports.ssgBuild = _chunkRVKKZQ6Ccjs.P; exports.toAtFS = _chunkRVKKZQ6Ccjs.k; exports.transformObject = _chunkRVKKZQ6Ccjs.m;
|
package/dist/node/index.d.cts
CHANGED
|
@@ -23,7 +23,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
|
23
23
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
24
24
|
import { Awaitable } from '@antfu/utils';
|
|
25
25
|
import * as defu from 'defu';
|
|
26
|
-
import { P as PartialDeep$1 } from '../config-
|
|
26
|
+
import { P as PartialDeep$1 } from '../config-BuLv3zWm.cjs';
|
|
27
27
|
import 'yargs';
|
|
28
28
|
import 'medium-zoom';
|
|
29
29
|
import '@vueuse/integrations/useFuse';
|
|
@@ -80,7 +80,7 @@ interface MarkdownOptions {
|
|
|
80
80
|
/**
|
|
81
81
|
* markdown-it options
|
|
82
82
|
*/
|
|
83
|
-
options?: MarkdownIt
|
|
83
|
+
options?: MarkdownIt['options'];
|
|
84
84
|
/**
|
|
85
85
|
* config markdown-it
|
|
86
86
|
*/
|
package/dist/node/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
|
|
|
23
23
|
import { TocPluginOptions } from '@mdit-vue/plugin-toc';
|
|
24
24
|
import { Awaitable } from '@antfu/utils';
|
|
25
25
|
import * as defu from 'defu';
|
|
26
|
-
import { P as PartialDeep$1 } from '../config-
|
|
26
|
+
import { P as PartialDeep$1 } from '../config-BuLv3zWm.js';
|
|
27
27
|
import 'yargs';
|
|
28
28
|
import 'medium-zoom';
|
|
29
29
|
import '@vueuse/integrations/useFuse';
|
|
@@ -80,7 +80,7 @@ interface MarkdownOptions {
|
|
|
80
80
|
/**
|
|
81
81
|
* markdown-it options
|
|
82
82
|
*/
|
|
83
|
-
options?: MarkdownIt
|
|
83
|
+
options?: MarkdownIt['options'];
|
|
84
84
|
/**
|
|
85
85
|
* config markdown-it
|
|
86
86
|
*/
|
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,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,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-PTYUKZAG.mjs";import"../chunk-7VTZAWDO.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};
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-BuLv3zWm.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-BuLv3zWm.cjs';
|
|
3
3
|
import 'medium-zoom';
|
|
4
4
|
import '@vueuse/integrations/useFuse';
|
|
5
5
|
import 'vanilla-lazyload';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-BuLv3zWm.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-BuLv3zWm.js';
|
|
3
3
|
import 'medium-zoom';
|
|
4
4
|
import '@vueuse/integrations/useFuse';
|
|
5
5
|
import 'vanilla-lazyload';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.2",
|
|
5
5
|
"description": "📄 Vite & Vue powered static blog generator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
"cross-spawn": "^7.0.3",
|
|
77
77
|
"css-i18n": "^0.0.2",
|
|
78
78
|
"date-fns": "^3.6.0",
|
|
79
|
-
"date-fns-tz": "^3.1.3",
|
|
80
79
|
"debug": "^4.3.5",
|
|
81
80
|
"defu": "^6.1.4",
|
|
82
81
|
"ejs": "^3.1.10",
|
|
@@ -92,7 +91,7 @@
|
|
|
92
91
|
"js-base64": "^3.7.7",
|
|
93
92
|
"js-yaml": "^4.1.0",
|
|
94
93
|
"katex": "^0.16.11",
|
|
95
|
-
"lru-cache": "^
|
|
94
|
+
"lru-cache": "^11.0.0",
|
|
96
95
|
"markdown-it": "^14.1.0",
|
|
97
96
|
"markdown-it-anchor": "^9.0.1",
|
|
98
97
|
"markdown-it-attrs": "^4.1.6",
|
|
@@ -111,7 +110,7 @@
|
|
|
111
110
|
"pathe": "^1.1.2",
|
|
112
111
|
"pinia": "^2.1.7",
|
|
113
112
|
"qrcode": "^1.5.3",
|
|
114
|
-
"sass": "^1.77.
|
|
113
|
+
"sass": "^1.77.7",
|
|
115
114
|
"shiki": "^1.10.3",
|
|
116
115
|
"star-markdown-css": "^0.5.1",
|
|
117
116
|
"unocss": "^0.61.3",
|
|
@@ -128,7 +127,7 @@
|
|
|
128
127
|
"vue-i18n": "^9.13.1",
|
|
129
128
|
"vue-router": "^4.4.0",
|
|
130
129
|
"yargs": "^17.7.2",
|
|
131
|
-
"@valaxyjs/devtools": "0.19.
|
|
130
|
+
"@valaxyjs/devtools": "0.19.2"
|
|
132
131
|
},
|
|
133
132
|
"devDependencies": {
|
|
134
133
|
"@mdit-vue/plugin-component": "^2.1.3",
|
package/types/config.ts
CHANGED
|
@@ -59,13 +59,6 @@ export interface SiteConfig {
|
|
|
59
59
|
* @see https://ogp.me/#optional
|
|
60
60
|
*/
|
|
61
61
|
languages: string[]
|
|
62
|
-
/**
|
|
63
|
-
* @see https://day.js.org/docs/en/plugin/timezone
|
|
64
|
-
* @zh_CN 时区 'Asia/Shanghai' Recommended
|
|
65
|
-
* @en_US timezone
|
|
66
|
-
* @default '' Your Computer Timezone
|
|
67
|
-
*/
|
|
68
|
-
timezone: string
|
|
69
62
|
/**
|
|
70
63
|
* You site url in web, required for ssg & rss
|
|
71
64
|
* @description 站点的完整 URL,SSG & RSS 需要(譬如生成版权处文章永久链接)
|