valaxy 0.16.0 → 0.16.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 +2 -2
- package/client/composables/features/copy-code.ts +1 -1
- package/client/main.ts +8 -1
- package/client/modules/valaxy.ts +5 -8
- package/client/setup/main.ts +10 -2
- package/dist/{chunk-WMBDKFPC.mjs → chunk-2NB5YEWA.mjs} +9 -9
- package/dist/{chunk-VAUHX5NB.cjs → chunk-SB3V2W4Q.cjs} +21 -21
- 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 +13 -0
- package/dist/node/index.d.ts +13 -0
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.mjs +1 -1
- package/package.json +12 -9
- /package/dist/{chunk-SWW6JL47.cjs → chunk-R6EC3UMQ.cjs} +0 -0
- /package/dist/{chunk-XKQECU6I.mjs → chunk-YTQABADX.mjs} +0 -0
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 _chunkSB3V2W4Qcjs = require('../../chunk-SB3V2W4Q.cjs');require('../../chunk-R6EC3UMQ.cjs');exports.cli = _chunkSB3V2W4Qcjs.F; exports.run = _chunkSB3V2W4Qcjs.G;
|
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{F as a,G as b}from"../../chunk-
|
|
2
|
+
import{F as a,G as b}from"../../chunk-2NB5YEWA.mjs";import"../../chunk-YTQABADX.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 _chunkSB3V2W4Qcjs = require('../chunk-SB3V2W4Q.cjs');require('../chunk-R6EC3UMQ.cjs');exports.build = _chunkSB3V2W4Qcjs.B; exports.cli = _chunkSB3V2W4Qcjs.F; exports.createServer = _chunkSB3V2W4Qcjs.E; exports.defaultSiteConfig = _chunkSB3V2W4Qcjs.t; exports.defaultValaxyConfig = _chunkSB3V2W4Qcjs.u; exports.defineAddon = _chunkSB3V2W4Qcjs.n; exports.defineConfig = _chunkSB3V2W4Qcjs.s; exports.defineSiteConfig = _chunkSB3V2W4Qcjs.q; exports.defineTheme = _chunkSB3V2W4Qcjs.p; exports.defineUnoSetup = _chunkSB3V2W4Qcjs.v; exports.defineValaxyAddon = _chunkSB3V2W4Qcjs.m; exports.defineValaxyConfig = _chunkSB3V2W4Qcjs.r; exports.defineValaxyTheme = _chunkSB3V2W4Qcjs.o; exports.ensurePrefix = _chunkSB3V2W4Qcjs.d; exports.getGitTimestamp = _chunkSB3V2W4Qcjs.a; exports.getIndexHtml = _chunkSB3V2W4Qcjs.A; exports.isExternal = _chunkSB3V2W4Qcjs.b; exports.isPath = _chunkSB3V2W4Qcjs.f; exports.mergeValaxyConfig = _chunkSB3V2W4Qcjs.g; exports.mergeViteConfigs = _chunkSB3V2W4Qcjs.z; exports.postProcessForSSG = _chunkSB3V2W4Qcjs.D; exports.processValaxyOptions = _chunkSB3V2W4Qcjs.w; exports.resolveAddonConfig = _chunkSB3V2W4Qcjs.j; exports.resolveImportPath = _chunkSB3V2W4Qcjs.l; exports.resolveOptions = _chunkSB3V2W4Qcjs.x; exports.resolveThemeValaxyConfig = _chunkSB3V2W4Qcjs.y; exports.resolveValaxyConfig = _chunkSB3V2W4Qcjs.i; exports.resolveValaxyConfigFromRoot = _chunkSB3V2W4Qcjs.h; exports.run = _chunkSB3V2W4Qcjs.G; exports.slash = _chunkSB3V2W4Qcjs.c; exports.ssgBuild = _chunkSB3V2W4Qcjs.C; exports.toAtFS = _chunkSB3V2W4Qcjs.e; exports.transformObject = _chunkSB3V2W4Qcjs.k;
|
package/dist/node/index.d.cts
CHANGED
|
@@ -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
|
*/
|
|
@@ -85,6 +95,9 @@ interface MarkdownOptions {
|
|
|
85
95
|
classes: string;
|
|
86
96
|
};
|
|
87
97
|
lineNumbers?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* @see https://katex.org/docs/options.html
|
|
100
|
+
*/
|
|
88
101
|
katex?: KatexOptions;
|
|
89
102
|
/**
|
|
90
103
|
* shiki
|
package/dist/node/index.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -85,6 +95,9 @@ interface MarkdownOptions {
|
|
|
85
95
|
classes: string;
|
|
86
96
|
};
|
|
87
97
|
lineNumbers?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* @see https://katex.org/docs/options.html
|
|
100
|
+
*/
|
|
88
101
|
katex?: KatexOptions;
|
|
89
102
|
/**
|
|
90
103
|
* shiki
|
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,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,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-2NB5YEWA.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/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var _chunkR6EC3UMQcjs = require('../chunk-R6EC3UMQ.cjs');_chunkR6EC3UMQcjs.d.call(void 0, );_chunkR6EC3UMQcjs.d.call(void 0, );_chunkR6EC3UMQcjs.d.call(void 0, );_chunkR6EC3UMQcjs.d.call(void 0, );_chunkR6EC3UMQcjs.d.call(void 0, );_chunkR6EC3UMQcjs.d.call(void 0, );_chunkR6EC3UMQcjs.d.call(void 0, );
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
|
|
2
|
-
import{e}from"../chunk-
|
|
2
|
+
import{e}from"../chunk-YTQABADX.mjs";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.16.
|
|
4
|
+
"version": "0.16.2",
|
|
5
5
|
"description": "📄 Vite & Vue powered static blog generator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"homepage": "https://valaxy.site",
|
|
13
|
-
"repository":
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/YunYouJun/valaxy"
|
|
16
|
+
},
|
|
14
17
|
"keywords": [
|
|
15
18
|
"vite",
|
|
16
19
|
"vue",
|
|
@@ -54,10 +57,11 @@
|
|
|
54
57
|
"dependencies": {
|
|
55
58
|
"@antfu/utils": "^0.7.7",
|
|
56
59
|
"@ctrl/tinycolor": "^4.0.2",
|
|
57
|
-
"@iconify-json/carbon": "^1.1.
|
|
58
|
-
"@iconify-json/ri": "^1.1.
|
|
59
|
-
"@intlify/unplugin-vue-i18n": "^
|
|
60
|
+
"@iconify-json/carbon": "^1.1.27",
|
|
61
|
+
"@iconify-json/ri": "^1.1.18",
|
|
62
|
+
"@intlify/unplugin-vue-i18n": "^2.0.0",
|
|
60
63
|
"@types/body-scroll-lock": "^3.1.2",
|
|
64
|
+
"@types/katex": "^0.16.7",
|
|
61
65
|
"@unhead/addons": "^1.8.9",
|
|
62
66
|
"@unhead/schema-org": "^1.8.9",
|
|
63
67
|
"@unhead/vue": "^1.8.9",
|
|
@@ -93,7 +97,7 @@
|
|
|
93
97
|
"markdown-it-task-lists": "^2.1.1",
|
|
94
98
|
"medium-zoom": "^1.1.0",
|
|
95
99
|
"nprogress": "^0.2.0",
|
|
96
|
-
"open": "
|
|
100
|
+
"open": "10.0.1",
|
|
97
101
|
"ora": "^7.0.1",
|
|
98
102
|
"pascalcase": "^2.0.0",
|
|
99
103
|
"pinia": "^2.1.7",
|
|
@@ -107,10 +111,10 @@
|
|
|
107
111
|
"vanilla-lazyload": "^17.8.5",
|
|
108
112
|
"vite": "^5.0.10",
|
|
109
113
|
"vite-plugin-pages": "^0.32.0",
|
|
110
|
-
"vite-plugin-vue-layouts": "
|
|
114
|
+
"vite-plugin-vue-layouts": "0.9.1",
|
|
111
115
|
"vite-ssg": "0.23.5",
|
|
112
116
|
"vite-ssg-sitemap": "0.6.1",
|
|
113
|
-
"vue": "^3.3.
|
|
117
|
+
"vue": "^3.3.13",
|
|
114
118
|
"vue-i18n": "^9.8.0",
|
|
115
119
|
"vue-router": "^4.2.5",
|
|
116
120
|
"yargs": "^17.7.2"
|
|
@@ -126,7 +130,6 @@
|
|
|
126
130
|
"@types/cross-spawn": "^6.0.6",
|
|
127
131
|
"@types/ejs": "^3.1.5",
|
|
128
132
|
"@types/html-to-text": "^9.0.4",
|
|
129
|
-
"@types/katex": "^0.16.7",
|
|
130
133
|
"@types/markdown-it": "^13.0.7",
|
|
131
134
|
"@types/nprogress": "^0.2.3",
|
|
132
135
|
"@types/pascalcase": "^1.0.3",
|
|
File without changes
|
|
File without changes
|