valaxy 0.19.5 → 0.19.8

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.
@@ -392,6 +392,15 @@ interface SiteConfig {
392
392
  * @example 'https://valaxy.site'
393
393
  * @default '/'
394
394
  */
395
+ /**
396
+ * @see https://wikipedia.org/wiki/List_of_tz_database_time_zones
397
+ * @en_US Timezone configuration
398
+ * @zh_CN 时区配置,国内推荐使用 'Asia/Shanghai'
399
+ * @description:en-US This configuration is used to generate times with timezone when no timezone is set
400
+ * @description:zh-CN 当时间没有设置时区时,使用该配置生成带时区的时间
401
+ * @default ''
402
+ */
403
+ timezone: string;
395
404
  url: string;
396
405
  /**
397
406
  * Site title
@@ -392,6 +392,15 @@ interface SiteConfig {
392
392
  * @example 'https://valaxy.site'
393
393
  * @default '/'
394
394
  */
395
+ /**
396
+ * @see https://wikipedia.org/wiki/List_of_tz_database_time_zones
397
+ * @en_US Timezone configuration
398
+ * @zh_CN 时区配置,国内推荐使用 'Asia/Shanghai'
399
+ * @description:en-US This configuration is used to generate times with timezone when no timezone is set
400
+ * @description:zh-CN 当时间没有设置时区时,使用该配置生成带时区的时间
401
+ * @default ''
402
+ */
403
+ timezone: string;
395
404
  url: string;
396
405
  /**
397
406
  * Site title
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkG2FVTQKOcjs = require('../../chunk-G2FVTQKO.cjs');require('../../chunk-ZBSS4PFL.cjs');exports.cli = _chunkG2FVTQKOcjs.T; exports.run = _chunkG2FVTQKOcjs.U;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYNR6K7DAcjs = require('../../chunk-YNR6K7DA.cjs');require('../../chunk-635QRI6N.cjs');exports.cli = _chunkYNR6K7DAcjs.T; exports.run = _chunkYNR6K7DAcjs.U;
@@ -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-LBOPLBJ5.mjs";import"../../chunk-FMBSVCYZ.mjs";export{a as cli,b as run};
2
+ import{T as a,U as b}from"../../chunk-T3PZ57XX.mjs";import"../../chunk-FDUDFMUS.mjs";export{a as cli,b as run};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkG2FVTQKOcjs = require('../chunk-G2FVTQKO.cjs');require('../chunk-ZBSS4PFL.cjs');exports.ALL_ROUTE = _chunkG2FVTQKOcjs.e; exports.EXCERPT_SEPARATOR = _chunkG2FVTQKOcjs.b; exports.EXTERNAL_URL_RE = _chunkG2FVTQKOcjs.c; exports.PATHNAME_PROTOCOL_RE = _chunkG2FVTQKOcjs.d; exports.ViteValaxyPlugins = _chunkG2FVTQKOcjs.N; exports.build = _chunkG2FVTQKOcjs.O; exports.cli = _chunkG2FVTQKOcjs.T; exports.createServer = _chunkG2FVTQKOcjs.S; exports.createValaxyLoader = _chunkG2FVTQKOcjs.M; exports.customElements = _chunkG2FVTQKOcjs.f; exports.defaultSiteConfig = _chunkG2FVTQKOcjs.p; exports.defaultValaxyConfig = _chunkG2FVTQKOcjs.t; exports.defineAddon = _chunkG2FVTQKOcjs.A; exports.defineConfig = _chunkG2FVTQKOcjs.v; exports.defineSiteConfig = _chunkG2FVTQKOcjs.q; exports.defineTheme = _chunkG2FVTQKOcjs.F; exports.defineUnoSetup = _chunkG2FVTQKOcjs.G; exports.defineValaxyAddon = _chunkG2FVTQKOcjs.z; exports.defineValaxyConfig = _chunkG2FVTQKOcjs.u; exports.defineValaxyTheme = _chunkG2FVTQKOcjs.E; exports.ensurePrefix = _chunkG2FVTQKOcjs.j; exports.generateClientRedirects = _chunkG2FVTQKOcjs.R; exports.getGitTimestamp = _chunkG2FVTQKOcjs.a; exports.getIndexHtml = _chunkG2FVTQKOcjs.L; exports.isExternal = _chunkG2FVTQKOcjs.h; exports.isPath = _chunkG2FVTQKOcjs.l; exports.loadConfig = _chunkG2FVTQKOcjs.n; exports.loadConfigFromFile = _chunkG2FVTQKOcjs.o; exports.mergeValaxyConfig = _chunkG2FVTQKOcjs.x; exports.mergeViteConfigs = _chunkG2FVTQKOcjs.K; exports.postProcessForSSG = _chunkG2FVTQKOcjs.Q; exports.processValaxyOptions = _chunkG2FVTQKOcjs.H; exports.resolveAddonsConfig = _chunkG2FVTQKOcjs.B; exports.resolveImportPath = _chunkG2FVTQKOcjs.g; exports.resolveOptions = _chunkG2FVTQKOcjs.I; exports.resolveSiteConfig = _chunkG2FVTQKOcjs.s; exports.resolveSiteConfigFromRoot = _chunkG2FVTQKOcjs.r; exports.resolveThemeConfigFromRoot = _chunkG2FVTQKOcjs.C; exports.resolveThemeValaxyConfig = _chunkG2FVTQKOcjs.J; exports.resolveUserThemeConfig = _chunkG2FVTQKOcjs.D; exports.resolveValaxyConfig = _chunkG2FVTQKOcjs.y; exports.resolveValaxyConfigFromRoot = _chunkG2FVTQKOcjs.w; exports.run = _chunkG2FVTQKOcjs.U; exports.slash = _chunkG2FVTQKOcjs.i; exports.ssgBuild = _chunkG2FVTQKOcjs.P; exports.toAtFS = _chunkG2FVTQKOcjs.k; exports.transformObject = _chunkG2FVTQKOcjs.m;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYNR6K7DAcjs = require('../chunk-YNR6K7DA.cjs');require('../chunk-635QRI6N.cjs');exports.ALL_ROUTE = _chunkYNR6K7DAcjs.e; exports.EXCERPT_SEPARATOR = _chunkYNR6K7DAcjs.b; exports.EXTERNAL_URL_RE = _chunkYNR6K7DAcjs.c; exports.PATHNAME_PROTOCOL_RE = _chunkYNR6K7DAcjs.d; exports.ViteValaxyPlugins = _chunkYNR6K7DAcjs.N; exports.build = _chunkYNR6K7DAcjs.O; exports.cli = _chunkYNR6K7DAcjs.T; exports.createServer = _chunkYNR6K7DAcjs.S; exports.createValaxyLoader = _chunkYNR6K7DAcjs.M; exports.customElements = _chunkYNR6K7DAcjs.f; exports.defaultSiteConfig = _chunkYNR6K7DAcjs.p; exports.defaultValaxyConfig = _chunkYNR6K7DAcjs.t; exports.defineAddon = _chunkYNR6K7DAcjs.A; exports.defineConfig = _chunkYNR6K7DAcjs.v; exports.defineSiteConfig = _chunkYNR6K7DAcjs.q; exports.defineTheme = _chunkYNR6K7DAcjs.F; exports.defineUnoSetup = _chunkYNR6K7DAcjs.G; exports.defineValaxyAddon = _chunkYNR6K7DAcjs.z; exports.defineValaxyConfig = _chunkYNR6K7DAcjs.u; exports.defineValaxyTheme = _chunkYNR6K7DAcjs.E; exports.ensurePrefix = _chunkYNR6K7DAcjs.j; exports.generateClientRedirects = _chunkYNR6K7DAcjs.R; exports.getGitTimestamp = _chunkYNR6K7DAcjs.a; exports.getIndexHtml = _chunkYNR6K7DAcjs.L; exports.isExternal = _chunkYNR6K7DAcjs.h; exports.isPath = _chunkYNR6K7DAcjs.l; exports.loadConfig = _chunkYNR6K7DAcjs.n; exports.loadConfigFromFile = _chunkYNR6K7DAcjs.o; exports.mergeValaxyConfig = _chunkYNR6K7DAcjs.x; exports.mergeViteConfigs = _chunkYNR6K7DAcjs.K; exports.postProcessForSSG = _chunkYNR6K7DAcjs.Q; exports.processValaxyOptions = _chunkYNR6K7DAcjs.H; exports.resolveAddonsConfig = _chunkYNR6K7DAcjs.B; exports.resolveImportPath = _chunkYNR6K7DAcjs.g; exports.resolveOptions = _chunkYNR6K7DAcjs.I; exports.resolveSiteConfig = _chunkYNR6K7DAcjs.s; exports.resolveSiteConfigFromRoot = _chunkYNR6K7DAcjs.r; exports.resolveThemeConfigFromRoot = _chunkYNR6K7DAcjs.C; exports.resolveThemeValaxyConfig = _chunkYNR6K7DAcjs.J; exports.resolveUserThemeConfig = _chunkYNR6K7DAcjs.D; exports.resolveValaxyConfig = _chunkYNR6K7DAcjs.y; exports.resolveValaxyConfigFromRoot = _chunkYNR6K7DAcjs.w; exports.run = _chunkYNR6K7DAcjs.U; exports.slash = _chunkYNR6K7DAcjs.i; exports.ssgBuild = _chunkYNR6K7DAcjs.P; exports.toAtFS = _chunkYNR6K7DAcjs.k; exports.transformObject = _chunkYNR6K7DAcjs.m;
@@ -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-BuLv3zWm.cjs';
26
+ import { P as PartialDeep$1 } from '../config-_Vh4V6Lh.cjs';
27
27
  import 'yargs';
28
28
  import 'medium-zoom';
29
29
  import '@vueuse/integrations/useFuse';
@@ -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-BuLv3zWm.js';
26
+ import { P as PartialDeep$1 } from '../config-_Vh4V6Lh.js';
27
27
  import 'yargs';
28
28
  import 'medium-zoom';
29
29
  import '@vueuse/integrations/useFuse';
@@ -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-LBOPLBJ5.mjs";import"../chunk-FMBSVCYZ.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,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-T3PZ57XX.mjs";import"../chunk-FDUDFMUS.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};
@@ -1 +1 @@
1
- "use strict";var _chunkZBSS4PFLcjs = require('../chunk-ZBSS4PFL.cjs');_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );_chunkZBSS4PFLcjs.e.call(void 0, );
1
+ "use strict";var _chunk635QRI6Ncjs = require('../chunk-635QRI6N.cjs');_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );_chunk635QRI6Ncjs.e.call(void 0, );
@@ -1,5 +1,5 @@
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';
1
+ import { a as PageFrontMatter, b as PostFrontMatter } from '../config-_Vh4V6Lh.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-_Vh4V6Lh.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-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';
1
+ import { a as PageFrontMatter, b as PostFrontMatter } from '../config-_Vh4V6Lh.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-_Vh4V6Lh.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-FMBSVCYZ.mjs";e();e();e();e();e();e();e();e();e();e();
2
+ import{d as e}from"../chunk-FDUDFMUS.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.5",
4
+ "version": "0.19.8",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -23,8 +23,7 @@
23
23
  ".": {
24
24
  "types": "./index.d.ts",
25
25
  "import": "./dist/node/index.mjs",
26
- "require": "./dist/node/index.cjs",
27
- "default": "./dist/node/index.mjs"
26
+ "require": "./dist/node/index.cjs"
28
27
  },
29
28
  "./client/*": "./client/*",
30
29
  "./client": "./client/index.ts",
@@ -59,23 +58,23 @@
59
58
  "dependencies": {
60
59
  "@antfu/utils": "^0.7.10",
61
60
  "@ctrl/tinycolor": "^4.1.0",
62
- "@iconify-json/ri": "^1.1.21",
61
+ "@iconify-json/ri": "^1.1.22",
63
62
  "@intlify/unplugin-vue-i18n": "^4.0.0",
64
- "@types/js-yaml": "^4.0.9",
65
63
  "@types/katex": "^0.16.7",
66
64
  "@unhead/addons": "^1.9.16",
67
65
  "@unhead/schema-org": "^1.9.16",
68
66
  "@unhead/vue": "^1.9.16",
69
- "@vitejs/plugin-vue": "^5.1.0",
70
- "@vue/devtools-api": "^7.3.7",
71
- "@vueuse/core": "^10.11.0",
72
- "@vueuse/integrations": "^10.11.0",
67
+ "@vitejs/plugin-vue": "^5.1.2",
68
+ "@vue/devtools-api": "^7.3.8",
69
+ "@vueuse/core": "^11.0.0",
70
+ "@vueuse/integrations": "^11.0.0",
73
71
  "consola": "^3.2.3",
74
72
  "critters": "^0.0.24",
75
73
  "cross-spawn": "^7.0.3",
76
74
  "css-i18n": "^0.0.2",
77
75
  "date-fns": "^3.6.0",
78
- "debug": "^4.3.5",
76
+ "date-fns-tz": "^3.1.3",
77
+ "debug": "^4.3.6",
79
78
  "defu": "^6.1.4",
80
79
  "ejs": "^3.1.10",
81
80
  "escape-html": "^1.0.3",
@@ -91,9 +90,10 @@
91
90
  "js-yaml": "^4.1.0",
92
91
  "katex": "^0.16.11",
93
92
  "lru-cache": "^11.0.0",
93
+ "luxon": "^3.5.0",
94
94
  "markdown-it": "^14.1.0",
95
95
  "markdown-it-anchor": "^9.0.1",
96
- "markdown-it-attrs": "^4.1.6",
96
+ "markdown-it-attrs": "^4.2.0",
97
97
  "markdown-it-container": "^4.0.0",
98
98
  "markdown-it-emoji": "^3.0.0",
99
99
  "markdown-it-footnote": "^4.0.0",
@@ -107,27 +107,27 @@
107
107
  "ora": "^8.0.1",
108
108
  "pascalcase": "^2.0.0",
109
109
  "pathe": "^1.1.2",
110
- "pinia": "^2.2.0",
111
- "qrcode": "^1.5.3",
110
+ "pinia": "^2.2.2",
111
+ "qrcode": "^1.5.4",
112
112
  "sass": "^1.77.8",
113
- "shiki": "^1.12.0",
113
+ "shiki": "^1.13.0",
114
114
  "star-markdown-css": "^0.5.1",
115
- "unocss": "^0.61.5",
116
- "unplugin-vue-components": "^0.27.3",
115
+ "unocss": "^0.62.2",
116
+ "unplugin-vue-components": "^0.27.4",
117
117
  "unplugin-vue-markdown": "^0.26.2",
118
- "unplugin-vue-router": "^0.10.1",
118
+ "unplugin-vue-router": "^0.10.7",
119
119
  "vanilla-lazyload": "^19.1.3",
120
- "vite": "^5.3.5",
121
- "vite-plugin-vue-devtools": "^7.3.7",
120
+ "vite": "^5.4.1",
121
+ "vite-plugin-vue-devtools": "^7.3.8",
122
122
  "vite-plugin-vue-layouts": "0.11.0",
123
123
  "vite-ssg": "0.23.7",
124
124
  "vite-ssg-sitemap": "0.6.1",
125
- "vue": "^3.4.34",
126
- "vue-i18n": "^9.13.1",
127
- "vue-router": "^4.4.0",
125
+ "vue": "^3.4.38",
126
+ "vue-i18n": "^9.14.0",
127
+ "vue-router": "^4.4.3",
128
128
  "yargs": "^17.7.2",
129
- "@valaxyjs/devtools": "0.19.5",
130
- "@valaxyjs/utils": "0.19.5"
129
+ "@valaxyjs/utils": "0.19.8",
130
+ "@valaxyjs/devtools": "0.19.8"
131
131
  },
132
132
  "devDependencies": {
133
133
  "@mdit-vue/plugin-component": "^2.1.3",
@@ -140,12 +140,13 @@
140
140
  "@types/cross-spawn": "^6.0.6",
141
141
  "@types/ejs": "^3.1.5",
142
142
  "@types/html-to-text": "^9.0.4",
143
+ "@types/luxon": "^3.4.2",
143
144
  "@types/markdown-it": "^14.1.2",
144
145
  "@types/markdown-it-footnote": "^3.0.4",
145
146
  "@types/nprogress": "^0.2.3",
146
147
  "@types/pascalcase": "^1.0.3",
147
148
  "@types/qrcode": "^1.5.5",
148
- "@types/yargs": "^17.0.32",
149
+ "@types/yargs": "^17.0.33",
149
150
  "diacritics": "^1.3.0",
150
151
  "https-localhost": "^4.7.1"
151
152
  },
package/shims.d.ts CHANGED
@@ -13,6 +13,10 @@ declare module '@docsearch/js' {
13
13
  }
14
14
 
15
15
  declare interface Window {
16
+ // for devtools
17
+ __VUE_DEVTOOLS_ROUTER__: import('vue-router').Router
18
+ $frontmatter: any
19
+ $pageData: any
16
20
  $valaxy: {
17
21
  postList: Ref<Post[]>
18
22
  }
package/types/config.ts CHANGED
@@ -65,6 +65,15 @@ export interface SiteConfig {
65
65
  * @example 'https://valaxy.site'
66
66
  * @default '/'
67
67
  */
68
+ /**
69
+ * @see https://wikipedia.org/wiki/List_of_tz_database_time_zones
70
+ * @en_US Timezone configuration
71
+ * @zh_CN 时区配置,国内推荐使用 'Asia/Shanghai'
72
+ * @description:en-US This configuration is used to generate times with timezone when no timezone is set
73
+ * @description:zh-CN 当时间没有设置时区时,使用该配置生成带时区的时间
74
+ * @default ''
75
+ */
76
+ timezone: string
68
77
  url: string
69
78
  /**
70
79
  * Site title
File without changes
File without changes