valaxy 0.22.6 → 0.22.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.
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{W as a,X as b,Y as c,Z as d}from"../../chunk-EKOCR2BL.js";import"../../chunk-N43QPRXN.js";import"../../chunk-AEBFRNI5.js";export{c as cli,b as registerDevCommand,d as run,a as startValaxyDev};
2
+ import{W as a,X as b,Y as c,Z as d}from"../../chunk-APQ5FGOB.js";import"../../chunk-5F3LXWEH.js";import"../../chunk-HE332GVR.js";export{c as cli,b as registerDevCommand,d as run,a as startValaxyDev};
@@ -21,6 +21,7 @@ import { TocPluginOptions } from '@mdit-vue/plugin-toc';
21
21
  import { KatexOptions } from 'katex';
22
22
  import MarkdownIt from 'markdown-it';
23
23
  import anchorPlugin from 'markdown-it-anchor';
24
+ import { MarkdownItAsync } from 'markdown-it-async';
24
25
  import { LanguageInput, ShikiTransformer, Highlighter, ThemeRegistration, BuiltinTheme } from 'shiki';
25
26
  export { cli, registerDevCommand, run, startValaxyDev } from './cli/index.js';
26
27
  import { Awaitable } from '@antfu/utils';
@@ -84,7 +85,7 @@ interface MarkdownOptions {
84
85
  /**
85
86
  * Setup markdown-it instance before applying plugins
86
87
  */
87
- preConfig?: (md: MarkdownIt) => void;
88
+ preConfig?: (md: MarkdownItAsync) => void;
88
89
  /**
89
90
  * markdown-it options
90
91
  */
@@ -92,7 +93,7 @@ interface MarkdownOptions {
92
93
  /**
93
94
  * config markdown-it
94
95
  */
95
- config?: (md: MarkdownIt) => void;
96
+ config?: (md: MarkdownItAsync) => void;
96
97
  anchor?: anchorPlugin.AnchorOptions;
97
98
  attrs?: {
98
99
  leftDelimiter?: string;
@@ -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,X,Y,Z,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-EKOCR2BL.js";import"../chunk-N43QPRXN.js";import"../chunk-AEBFRNI5.js";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,Y as cli,V 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,U as getServerInfoText,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,X as registerDevCommand,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,Z as run,i as slash,R as ssgBuild,W as startValaxyDev,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,W,X,Y,Z,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-APQ5FGOB.js";import"../chunk-5F3LXWEH.js";import"../chunk-HE332GVR.js";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,Y as cli,V 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,U as getServerInfoText,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,X as registerDevCommand,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,Z as run,i as slash,R as ssgBuild,W as startValaxyDev,k as toAtFS,m as transformObject};
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{b as n}from"../chunk-N43QPRXN.js";import{e}from"../chunk-AEBFRNI5.js";e();import{bundledLanguages as r}from"shiki";async function g(a){return r[a]?.().then(t=>t.default)||[]}n(g);
2
+ import{b as n}from"../chunk-5F3LXWEH.js";import{e}from"../chunk-HE332GVR.js";e();import{bundledLanguages as r}from"shiki";async function g(a){return r[a]?.().then(t=>t.default)||[]}n(g);
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{e}from"../chunk-AEBFRNI5.js";e();e();e();e();e();e();e();e();e();e();
2
+ import{e}from"../chunk-HE332GVR.js";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.22.6",
4
+ "version": "0.22.7",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -52,22 +52,22 @@
52
52
  "node": "^14.18.0 || >=16.0.0"
53
53
  },
54
54
  "dependencies": {
55
- "@antfu/install-pkg": "^0.5.0",
56
- "@antfu/utils": "^0.7.10",
57
- "@clack/prompts": "^0.9.0",
55
+ "@antfu/install-pkg": "^1.0.0",
56
+ "@antfu/utils": "^8.1.0",
57
+ "@clack/prompts": "^0.9.1",
58
58
  "@iconify-json/ri": "^1.2.5",
59
59
  "@intlify/unplugin-vue-i18n": "^6.0.3",
60
60
  "@types/katex": "^0.16.7",
61
- "@unhead/addons": "^1.11.14",
62
- "@unhead/schema-org": "^1.11.14",
63
- "@unhead/vue": "^1.11.14",
61
+ "@unhead/addons": "^1.11.18",
62
+ "@unhead/schema-org": "^1.11.18",
63
+ "@unhead/vue": "^1.11.18",
64
64
  "@vitejs/plugin-vue": "^5.2.1",
65
- "@vue/devtools-api": "^7.6.8",
65
+ "@vue/devtools-api": "^7.7.1",
66
66
  "@vueuse/core": "12.0.0-beta.1",
67
67
  "@vueuse/integrations": "12.0.0-beta.1",
68
68
  "beasties": "^0.2.0",
69
- "birpc": "^0.2.19",
70
- "consola": "^3.3.3",
69
+ "birpc": "^2.0.19",
70
+ "consola": "^3.4.0",
71
71
  "cross-spawn": "^7.0.6",
72
72
  "css-i18n": "^0.0.5",
73
73
  "dayjs": "^1.11.13",
@@ -77,7 +77,7 @@
77
77
  "escape-html": "^1.0.3",
78
78
  "feed": "^4.2.2",
79
79
  "floating-vue": "^5.2.2",
80
- "fs-extra": "^11.2.0",
80
+ "fs-extra": "^11.3.0",
81
81
  "fuse.js": "^7.0.0",
82
82
  "gray-matter": "^4.0.3",
83
83
  "hookable": "^5.5.3",
@@ -85,7 +85,7 @@
85
85
  "jiti": "^2.4.2",
86
86
  "js-base64": "^3.7.7",
87
87
  "js-yaml": "^4.1.0",
88
- "katex": "^0.16.19",
88
+ "katex": "^0.16.21",
89
89
  "lru-cache": "^11.0.2",
90
90
  "markdown-it": "^14.1.0",
91
91
  "markdown-it-anchor": "^9.2.0",
@@ -94,39 +94,39 @@
94
94
  "markdown-it-emoji": "^3.0.0",
95
95
  "markdown-it-footnote": "^4.0.0",
96
96
  "markdown-it-image-figures": "^2.1.1",
97
- "markdown-it-table-of-contents": "^0.8.0",
97
+ "markdown-it-table-of-contents": "^0.9.0",
98
98
  "markdown-it-task-lists": "^2.1.1",
99
99
  "medium-zoom": "^1.1.0",
100
100
  "mermaid": "^11.4.1",
101
- "mlly": "^1.7.3",
101
+ "mlly": "^1.7.4",
102
102
  "nprogress": "^0.2.0",
103
103
  "open": "10.1.0",
104
104
  "ora": "^8.1.1",
105
105
  "pascalcase": "^2.0.0",
106
- "pathe": "^1.1.2",
107
- "pinia": "^2.3.0",
106
+ "pathe": "^2.0.2",
107
+ "pinia": "^2.3.1",
108
108
  "qrcode": "^1.5.4",
109
109
  "resolve-global": "^2.0.0",
110
- "sass": "^1.83.0",
111
- "shiki": "^1.24.4",
110
+ "sass": "^1.83.4",
111
+ "shiki": "^2.1.0",
112
112
  "star-markdown-css": "^0.5.3",
113
- "unocss": "^0.65.3",
114
- "unplugin-vue-components": "^0.28.0",
115
- "unplugin-vue-markdown": "^0.28.0",
116
- "unplugin-vue-router": "^0.10.9",
113
+ "unocss": "^65.4.3",
114
+ "unplugin-vue-components": "^28.0.0",
115
+ "unplugin-vue-markdown": "^28.1.0",
116
+ "unplugin-vue-router": "^0.11.1",
117
117
  "vanilla-lazyload": "^19.1.3",
118
- "vite": "^6.0.6",
119
- "vite-dev-rpc": "^0.1.7",
120
- "vite-plugin-vue-devtools": "^7.6.8",
118
+ "vite": "^6.0.11",
119
+ "vite-dev-rpc": "^1.0.7",
120
+ "vite-plugin-vue-devtools": "^7.7.1",
121
121
  "vite-plugin-vue-layouts": "^0.11.0",
122
- "vite-ssg": "^0.24.3",
122
+ "vite-ssg": "^25.0.0",
123
123
  "vite-ssg-sitemap": "^0.8.1",
124
124
  "vue": "^3.5.13",
125
125
  "vue-i18n": "^11.0.1",
126
126
  "vue-router": "^4.5.0",
127
127
  "yargs": "^17.7.2",
128
- "@valaxyjs/utils": "0.22.6",
129
- "@valaxyjs/devtools": "0.22.6"
128
+ "@valaxyjs/devtools": "0.22.7",
129
+ "@valaxyjs/utils": "0.22.7"
130
130
  },
131
131
  "devDependencies": {
132
132
  "@mdit-vue/plugin-component": "^2.1.3",
@@ -149,9 +149,9 @@
149
149
  "@types/yargs": "^17.0.33",
150
150
  "cilicili": "^0.1.1",
151
151
  "diacritics": "^1.3.0",
152
- "gh-pages": "^6.2.0",
152
+ "gh-pages": "^6.3.0",
153
153
  "https-localhost": "^4.7.1",
154
- "rollup-plugin-visualizer": "^5.13.1",
154
+ "rollup-plugin-visualizer": "^5.14.0",
155
155
  "table": "^6.9.0"
156
156
  },
157
157
  "scripts": {