valaxy 0.26.4 → 0.26.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import 'node:process';
2
2
  import 'yargs';
3
3
  import 'yargs/helpers';
4
- export { c as cli, d as registerDevCommand, r as run, a as startValaxyDev } from '../../shared/valaxy.Dv1KXH06.mjs';
4
+ export { c as cli, d as registerDevCommand, r as run, a as startValaxyDev } from '../../shared/valaxy.DjEY3xEv.mjs';
5
5
  import 'node:path';
6
6
  import 'consola';
7
7
  import 'consola/utils';
@@ -567,6 +567,7 @@ interface ValaxyExtendConfig {
567
567
  * enable katex for global
568
568
  * @see [Example | Valaxy](https://valaxy.site/examples/katex)
569
569
  * @see https://katex.org/
570
+ * @default true
570
571
  */
571
572
  katex: boolean;
572
573
  };
@@ -1,4 +1,4 @@
1
- export { C as ALL_ROUTE, E as EXCERPT_SEPARATOR, G as GLOBAL_STATE, P as PATHNAME_PROTOCOL_RE, V as ViteValaxyPlugins, b as build, c as cli, N as createServer, L as createValaxyPlugin, D as customElements, j as defaultSiteConfig, w as defaultValaxyConfig, F as defaultViteConfig, h as defineAddon, y as defineConfig, k as defineSiteConfig, u as defineTheme, f as defineValaxyAddon, x as defineValaxyConfig, t as defineValaxyTheme, O as encryptContent, g as generateClientRedirects, Q as getGitTimestamp, e as getIndexHtml, M as getServerInfoText, R as isExternal, U as isInstalledGlobally, S as isPath, v as loadConfigFromFile, A as mergeValaxyConfig, m as mergeViteConfigs, p as postProcessForSSG, I as processValaxyOptions, d as registerDevCommand, i as resolveAddonsConfig, Y as resolveImportPath, W as resolveImportUrl, J as resolveOptions, n as resolveSiteConfig, l as resolveSiteConfigFromRoot, o as resolveThemeConfigFromRoot, K as resolveThemeValaxyConfig, q as resolveUserThemeConfig, B as resolveValaxyConfig, z as resolveValaxyConfigFromRoot, r as run, s as ssgBuild, a as startValaxyDev, X as toAtFS, T as transformObject, H as version } from '../shared/valaxy.Dv1KXH06.mjs';
1
+ export { C as ALL_ROUTE, E as EXCERPT_SEPARATOR, G as GLOBAL_STATE, P as PATHNAME_PROTOCOL_RE, V as ViteValaxyPlugins, b as build, c as cli, N as createServer, L as createValaxyPlugin, D as customElements, j as defaultSiteConfig, w as defaultValaxyConfig, F as defaultViteConfig, h as defineAddon, y as defineConfig, k as defineSiteConfig, u as defineTheme, f as defineValaxyAddon, x as defineValaxyConfig, t as defineValaxyTheme, O as encryptContent, g as generateClientRedirects, Q as getGitTimestamp, e as getIndexHtml, M as getServerInfoText, R as isExternal, U as isInstalledGlobally, S as isPath, v as loadConfigFromFile, A as mergeValaxyConfig, m as mergeViteConfigs, p as postProcessForSSG, I as processValaxyOptions, d as registerDevCommand, i as resolveAddonsConfig, Y as resolveImportPath, W as resolveImportUrl, J as resolveOptions, n as resolveSiteConfig, l as resolveSiteConfigFromRoot, o as resolveThemeConfigFromRoot, K as resolveThemeValaxyConfig, q as resolveUserThemeConfig, B as resolveValaxyConfig, z as resolveValaxyConfigFromRoot, r as run, s as ssgBuild, a as startValaxyDev, X as toAtFS, T as transformObject, H as version } from '../shared/valaxy.DjEY3xEv.mjs';
2
2
  import 'node:path';
3
3
  import 'fs-extra';
4
4
  import 'consola/utils';
@@ -1567,7 +1567,7 @@ async function setupMarkdownPlugins(md, options, base = "/") {
1567
1567
  return md;
1568
1568
  }
1569
1569
 
1570
- const version = "0.26.4";
1570
+ const version = "0.26.6";
1571
1571
 
1572
1572
  const GLOBAL_STATE = {
1573
1573
  valaxyApp: void 0,
@@ -3691,7 +3691,7 @@ async function generateFuseList(options) {
3691
3691
  if (fmData.password)
3692
3692
  continue;
3693
3693
  const extendKeys = options.config.fuse?.extendKeys || [];
3694
- const relativeLink = path$1.relative(path$1.resolve(options.userRoot, "pages"), i);
3694
+ const relativeLink = path$1.resolve(options.config.vite?.base || "/", path$1.relative(path$1.resolve(options.userRoot, "pages"), i));
3695
3695
  const link = i.endsWith("index.md") ? relativeLink.replace(/\/index\.md$/, "") : relativeLink.replace(/\.md$/, "");
3696
3696
  const fuseListItem = {
3697
3697
  title: fmData.title || "",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valaxy",
3
3
  "type": "module",
4
- "version": "0.26.4",
4
+ "version": "0.26.6",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -64,21 +64,21 @@
64
64
  "@antfu/utils": "^9.2.0",
65
65
  "@clack/prompts": "^0.11.0",
66
66
  "@iconify-json/ri": "^1.2.5",
67
- "@intlify/unplugin-vue-i18n": "^6.0.8",
68
- "@shikijs/transformers": "^3.12.0",
67
+ "@intlify/unplugin-vue-i18n": "^11.0.0",
68
+ "@shikijs/transformers": "^3.12.2",
69
69
  "@types/katex": "^0.16.7",
70
70
  "@unhead/addons": "^2.0.14",
71
71
  "@unhead/schema-org": "^2.0.14",
72
72
  "@unhead/vue": "^2.0.14",
73
73
  "@vitejs/plugin-vue": "^6.0.1",
74
74
  "@vue/devtools-api": "7.7.2",
75
- "@vueuse/core": "^13.8.0",
76
- "@vueuse/integrations": "^13.8.0",
75
+ "@vueuse/core": "^13.9.0",
76
+ "@vueuse/integrations": "^13.9.0",
77
77
  "beasties": "^0.3.5",
78
78
  "consola": "^3.4.2",
79
79
  "cross-spawn": "^7.0.6",
80
80
  "css-i18n": "^0.0.5",
81
- "dayjs": "^1.11.14",
81
+ "dayjs": "^1.11.18",
82
82
  "debug": "^4.4.1",
83
83
  "define-config-ts": "^0.1.3",
84
84
  "defu": "^6.1.4",
@@ -96,7 +96,7 @@
96
96
  "js-base64": "^3.7.8",
97
97
  "js-yaml": "^4.1.0",
98
98
  "katex": "^0.16.22",
99
- "lru-cache": "^11.1.0",
99
+ "lru-cache": "^11.2.1",
100
100
  "markdown-it": "^14.1.0",
101
101
  "markdown-it-anchor": "^9.2.0",
102
102
  "markdown-it-async": "^2.2.0",
@@ -105,10 +105,10 @@
105
105
  "markdown-it-emoji": "^3.0.0",
106
106
  "markdown-it-footnote": "^4.0.0",
107
107
  "markdown-it-image-figures": "^2.1.1",
108
- "markdown-it-table-of-contents": "^0.9.0",
108
+ "markdown-it-table-of-contents": "^1.0.0",
109
109
  "markdown-it-task-lists": "^2.1.1",
110
110
  "medium-zoom": "^1.1.0",
111
- "mermaid": "^11.10.1",
111
+ "mermaid": "^11.11.0",
112
112
  "mlly": "^1.8.0",
113
113
  "nprogress": "^0.2.0",
114
114
  "open": "10.1.0",
@@ -118,29 +118,29 @@
118
118
  "pinia": "^3.0.3",
119
119
  "qrcode": "^1.5.4",
120
120
  "resolve-global": "^2.0.0",
121
- "sass": "^1.91.0",
122
- "shiki": "^3.12.0",
121
+ "sass": "^1.92.1",
122
+ "shiki": "^3.12.2",
123
123
  "star-markdown-css": "^0.5.3",
124
124
  "table": "^6.9.0",
125
125
  "unhead": "^2.0.14",
126
- "unocss": "^66.4.2",
126
+ "unocss": "^66.5.0",
127
127
  "unplugin-vue-components": "28.0.0",
128
128
  "unplugin-vue-markdown": "^29.1.0",
129
129
  "unplugin-vue-router": "^0.15.0",
130
130
  "vanilla-lazyload": "^19.1.3",
131
- "vite": "^7.1.3",
131
+ "vite": "^7.1.4",
132
132
  "vite-dev-rpc": "^1.1.0",
133
133
  "vite-plugin-vue-devtools": "^8.0.1",
134
134
  "vite-plugin-vue-layouts": "^0.11.0",
135
135
  "vite-ssg": "^28.1.0",
136
136
  "vite-ssg-sitemap": "^0.10.0",
137
137
  "vitepress-plugin-group-icons": "^1.6.3",
138
- "vue": "^3.5.20",
139
- "vue-i18n": "^11.1.11",
138
+ "vue": "^3.5.21",
139
+ "vue-i18n": "^11.1.12",
140
140
  "vue-router": "^4.5.1",
141
141
  "yargs": "^18.0.0",
142
- "@valaxyjs/utils": "0.26.4",
143
- "@valaxyjs/devtools": "0.26.4"
142
+ "@valaxyjs/utils": "0.26.6",
143
+ "@valaxyjs/devtools": "0.26.6"
144
144
  },
145
145
  "devDependencies": {
146
146
  "@mdit-vue/plugin-component": "^3.0.2",