valaxy 0.16.1 → 0.16.3

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 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkVAGXCK43cjs = require('../../chunk-VAGXCK43.cjs');require('../../chunk-R6EC3UMQ.cjs');exports.cli = _chunkVAGXCK43cjs.F; exports.run = _chunkVAGXCK43cjs.G;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkO6VYMTHEcjs = require('../../chunk-O6VYMTHE.cjs');require('../../chunk-R6EC3UMQ.cjs');exports.cli = _chunkO6VYMTHEcjs.F; exports.run = _chunkO6VYMTHEcjs.G;
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{F as a,G as b}from"../../chunk-W4ERA5UC.mjs";import"../../chunk-YTQABADX.mjs";export{a as cli,b as run};
2
+ import{F as a,G as b}from"../../chunk-KMYBWFOB.mjs";import"../../chunk-YTQABADX.mjs";export{a as cli,b as run};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkVAGXCK43cjs = require('../chunk-VAGXCK43.cjs');require('../chunk-R6EC3UMQ.cjs');exports.build = _chunkVAGXCK43cjs.B; exports.cli = _chunkVAGXCK43cjs.F; exports.createServer = _chunkVAGXCK43cjs.E; exports.defaultSiteConfig = _chunkVAGXCK43cjs.t; exports.defaultValaxyConfig = _chunkVAGXCK43cjs.u; exports.defineAddon = _chunkVAGXCK43cjs.n; exports.defineConfig = _chunkVAGXCK43cjs.s; exports.defineSiteConfig = _chunkVAGXCK43cjs.q; exports.defineTheme = _chunkVAGXCK43cjs.p; exports.defineUnoSetup = _chunkVAGXCK43cjs.v; exports.defineValaxyAddon = _chunkVAGXCK43cjs.m; exports.defineValaxyConfig = _chunkVAGXCK43cjs.r; exports.defineValaxyTheme = _chunkVAGXCK43cjs.o; exports.ensurePrefix = _chunkVAGXCK43cjs.d; exports.getGitTimestamp = _chunkVAGXCK43cjs.a; exports.getIndexHtml = _chunkVAGXCK43cjs.A; exports.isExternal = _chunkVAGXCK43cjs.b; exports.isPath = _chunkVAGXCK43cjs.f; exports.mergeValaxyConfig = _chunkVAGXCK43cjs.g; exports.mergeViteConfigs = _chunkVAGXCK43cjs.z; exports.postProcessForSSG = _chunkVAGXCK43cjs.D; exports.processValaxyOptions = _chunkVAGXCK43cjs.w; exports.resolveAddonConfig = _chunkVAGXCK43cjs.j; exports.resolveImportPath = _chunkVAGXCK43cjs.l; exports.resolveOptions = _chunkVAGXCK43cjs.x; exports.resolveThemeValaxyConfig = _chunkVAGXCK43cjs.y; exports.resolveValaxyConfig = _chunkVAGXCK43cjs.i; exports.resolveValaxyConfigFromRoot = _chunkVAGXCK43cjs.h; exports.run = _chunkVAGXCK43cjs.G; exports.slash = _chunkVAGXCK43cjs.c; exports.ssgBuild = _chunkVAGXCK43cjs.C; exports.toAtFS = _chunkVAGXCK43cjs.e; exports.transformObject = _chunkVAGXCK43cjs.k;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkO6VYMTHEcjs = require('../chunk-O6VYMTHE.cjs');require('../chunk-R6EC3UMQ.cjs');exports.build = _chunkO6VYMTHEcjs.B; exports.cli = _chunkO6VYMTHEcjs.F; exports.createServer = _chunkO6VYMTHEcjs.E; exports.defaultSiteConfig = _chunkO6VYMTHEcjs.t; exports.defaultValaxyConfig = _chunkO6VYMTHEcjs.u; exports.defineAddon = _chunkO6VYMTHEcjs.n; exports.defineConfig = _chunkO6VYMTHEcjs.s; exports.defineSiteConfig = _chunkO6VYMTHEcjs.q; exports.defineTheme = _chunkO6VYMTHEcjs.p; exports.defineUnoSetup = _chunkO6VYMTHEcjs.v; exports.defineValaxyAddon = _chunkO6VYMTHEcjs.m; exports.defineValaxyConfig = _chunkO6VYMTHEcjs.r; exports.defineValaxyTheme = _chunkO6VYMTHEcjs.o; exports.ensurePrefix = _chunkO6VYMTHEcjs.d; exports.getGitTimestamp = _chunkO6VYMTHEcjs.a; exports.getIndexHtml = _chunkO6VYMTHEcjs.A; exports.isExternal = _chunkO6VYMTHEcjs.b; exports.isPath = _chunkO6VYMTHEcjs.f; exports.mergeValaxyConfig = _chunkO6VYMTHEcjs.g; exports.mergeViteConfigs = _chunkO6VYMTHEcjs.z; exports.postProcessForSSG = _chunkO6VYMTHEcjs.D; exports.processValaxyOptions = _chunkO6VYMTHEcjs.w; exports.resolveAddonConfig = _chunkO6VYMTHEcjs.j; exports.resolveImportPath = _chunkO6VYMTHEcjs.l; exports.resolveOptions = _chunkO6VYMTHEcjs.x; exports.resolveThemeValaxyConfig = _chunkO6VYMTHEcjs.y; exports.resolveValaxyConfig = _chunkO6VYMTHEcjs.i; exports.resolveValaxyConfigFromRoot = _chunkO6VYMTHEcjs.h; exports.run = _chunkO6VYMTHEcjs.G; exports.slash = _chunkO6VYMTHEcjs.c; exports.ssgBuild = _chunkO6VYMTHEcjs.C; exports.toAtFS = _chunkO6VYMTHEcjs.e; exports.transformObject = _chunkO6VYMTHEcjs.k;
@@ -17,6 +17,7 @@ import { FrontmatterPluginOptions } from '@mdit-vue/plugin-frontmatter';
17
17
  import { HeadersPluginOptions } from '@mdit-vue/plugin-headers';
18
18
  import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
19
19
  import { TocPluginOptions } from '@mdit-vue/plugin-toc';
20
+ import { ComponentPluginOptions } from '@mdit-vue/plugin-component';
20
21
  import { Awaitable } from '@antfu/utils';
21
22
  import * as defu from 'defu';
22
23
  import 'yargs';
@@ -55,6 +56,10 @@ type ThemeOptions = IThemeRegistration | {
55
56
  dark: IThemeRegistration;
56
57
  };
57
58
  interface MarkdownOptions {
59
+ /**
60
+ * Setup markdown-it instance before applying plugins
61
+ */
62
+ preConfig?: (md: MarkdownIt) => void;
58
63
  /**
59
64
  * markdown-it options
60
65
  */
@@ -75,6 +80,11 @@ interface MarkdownOptions {
75
80
  headers?: HeadersPluginOptions;
76
81
  sfc?: SfcPluginOptions;
77
82
  toc?: TocPluginOptions;
83
+ /**
84
+ * Options for `@mdit-vue/plugin-component`
85
+ * @see https://github.com/mdit-vue/mdit-vue/tree/main/packages/plugin-component
86
+ */
87
+ component?: ComponentPluginOptions;
78
88
  /**
79
89
  * @see [markdown-it-image-figures](https://www.npmjs.com/package/markdown-it-image-figures)
80
90
  */
@@ -17,6 +17,7 @@ import { FrontmatterPluginOptions } from '@mdit-vue/plugin-frontmatter';
17
17
  import { HeadersPluginOptions } from '@mdit-vue/plugin-headers';
18
18
  import { SfcPluginOptions } from '@mdit-vue/plugin-sfc';
19
19
  import { TocPluginOptions } from '@mdit-vue/plugin-toc';
20
+ import { ComponentPluginOptions } from '@mdit-vue/plugin-component';
20
21
  import { Awaitable } from '@antfu/utils';
21
22
  import * as defu from 'defu';
22
23
  import 'yargs';
@@ -55,6 +56,10 @@ type ThemeOptions = IThemeRegistration | {
55
56
  dark: IThemeRegistration;
56
57
  };
57
58
  interface MarkdownOptions {
59
+ /**
60
+ * Setup markdown-it instance before applying plugins
61
+ */
62
+ preConfig?: (md: MarkdownIt) => void;
58
63
  /**
59
64
  * markdown-it options
60
65
  */
@@ -75,6 +80,11 @@ interface MarkdownOptions {
75
80
  headers?: HeadersPluginOptions;
76
81
  sfc?: SfcPluginOptions;
77
82
  toc?: TocPluginOptions;
83
+ /**
84
+ * Options for `@mdit-vue/plugin-component`
85
+ * @see https://github.com/mdit-vue/mdit-vue/tree/main/packages/plugin-component
86
+ */
87
+ component?: ComponentPluginOptions;
78
88
  /**
79
89
  * @see [markdown-it-image-figures](https://www.npmjs.com/package/markdown-it-image-figures)
80
90
  */
@@ -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,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-W4ERA5UC.mjs";import"../chunk-YTQABADX.mjs";export{B as build,F as cli,E as createServer,t as defaultSiteConfig,u as defaultValaxyConfig,n as defineAddon,s as defineConfig,q as defineSiteConfig,p as defineTheme,v as defineUnoSetup,m as defineValaxyAddon,r as defineValaxyConfig,o as defineValaxyTheme,d as ensurePrefix,a as getGitTimestamp,A as getIndexHtml,b as isExternal,f as isPath,g as mergeValaxyConfig,z as mergeViteConfigs,D as postProcessForSSG,w as processValaxyOptions,j as resolveAddonConfig,l as resolveImportPath,x as resolveOptions,y as resolveThemeValaxyConfig,i as resolveValaxyConfig,h as resolveValaxyConfigFromRoot,G as run,c as slash,C as ssgBuild,e as toAtFS,k as transformObject};
2
+ import{A,B,C,D,E,F,G,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-KMYBWFOB.mjs";import"../chunk-YTQABADX.mjs";export{B as build,F as cli,E as createServer,t as defaultSiteConfig,u as defaultValaxyConfig,n as defineAddon,s as defineConfig,q as defineSiteConfig,p as defineTheme,v as defineUnoSetup,m as defineValaxyAddon,r as defineValaxyConfig,o as defineValaxyTheme,d as ensurePrefix,a as getGitTimestamp,A as getIndexHtml,b as isExternal,f as isPath,g as mergeValaxyConfig,z as mergeViteConfigs,D as postProcessForSSG,w as processValaxyOptions,j as resolveAddonConfig,l as resolveImportPath,x as resolveOptions,y as resolveThemeValaxyConfig,i as resolveValaxyConfig,h as resolveValaxyConfigFromRoot,G as run,c as slash,C as ssgBuild,e as toAtFS,k as transformObject};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valaxy",
3
3
  "type": "module",
4
- "version": "0.16.1",
4
+ "version": "0.16.3",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -65,9 +65,9 @@
65
65
  "@unhead/addons": "^1.8.9",
66
66
  "@unhead/schema-org": "^1.8.9",
67
67
  "@unhead/vue": "^1.8.9",
68
- "@vitejs/plugin-vue": "^4.5.2",
69
- "@vueuse/core": "^10.7.0",
70
- "@vueuse/integrations": "^10.7.0",
68
+ "@vitejs/plugin-vue": "^5.0.2",
69
+ "@vueuse/core": "^10.7.1",
70
+ "@vueuse/integrations": "^10.7.1",
71
71
  "body-scroll-lock": "4.0.0-beta.0",
72
72
  "consola": "^3.2.3",
73
73
  "critters": "^0.0.20",
@@ -97,24 +97,24 @@
97
97
  "markdown-it-task-lists": "^2.1.1",
98
98
  "medium-zoom": "^1.1.0",
99
99
  "nprogress": "^0.2.0",
100
- "open": "10.0.1",
100
+ "open": "10.0.2",
101
101
  "ora": "^7.0.1",
102
102
  "pascalcase": "^2.0.0",
103
103
  "pinia": "^2.1.7",
104
104
  "qrcode": "^1.5.3",
105
- "sass": "^1.69.5",
105
+ "sass": "^1.69.6",
106
106
  "shiki": "^0.14.7",
107
107
  "star-markdown-css": "^0.4.2",
108
108
  "unconfig": "^0.3.11",
109
- "unocss": "^0.58.0",
109
+ "unocss": "^0.58.2",
110
110
  "unplugin-vue-components": "^0.26.0",
111
111
  "vanilla-lazyload": "^17.8.5",
112
112
  "vite": "^5.0.10",
113
113
  "vite-plugin-pages": "^0.32.0",
114
- "vite-plugin-vue-layouts": "^0.10.0",
115
- "vite-ssg": "0.23.5",
114
+ "vite-plugin-vue-layouts": "0.11.0",
115
+ "vite-ssg": "0.23.6",
116
116
  "vite-ssg-sitemap": "0.6.1",
117
- "vue": "^3.3.13",
117
+ "vue": "^3.4.3",
118
118
  "vue-i18n": "^9.8.0",
119
119
  "vue-router": "^4.2.5",
120
120
  "yargs": "^17.7.2"