valaxy 0.24.0 → 0.24.1
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 +1 -1
- package/client/main.ts +0 -1
- package/dist/{chunk-UBPYRQAO.js → chunk-CY4NJH2Z.js} +22 -14
- package/dist/node/cli/index.js +1 -1
- package/dist/node/index.js +1 -1
- package/package.json +3 -3
package/client/App.vue
CHANGED
package/client/main.ts
CHANGED
|
@@ -4,7 +4,7 @@ import yargs from "yargs";
|
|
|
4
4
|
import { hideBin } from "yargs/helpers";
|
|
5
5
|
|
|
6
6
|
// package.json
|
|
7
|
-
var version = "0.24.
|
|
7
|
+
var version = "0.24.1";
|
|
8
8
|
|
|
9
9
|
// node/modules/fuse.ts
|
|
10
10
|
import path4 from "path";
|
|
@@ -120,6 +120,9 @@ function getRollupOptions(options) {
|
|
|
120
120
|
if (id.includes("plugin-vue:export-helper")) {
|
|
121
121
|
return "framework";
|
|
122
122
|
}
|
|
123
|
+
if (id.includes("virtual:group-icons.css")) {
|
|
124
|
+
return "group-icons";
|
|
125
|
+
}
|
|
123
126
|
const libs = [
|
|
124
127
|
"@vueuse/motion",
|
|
125
128
|
"dayjs",
|
|
@@ -1221,6 +1224,7 @@ import { consola as consola13 } from "consola";
|
|
|
1221
1224
|
import { resolve as resolve12 } from "pathe";
|
|
1222
1225
|
import Components from "unplugin-vue-components/vite";
|
|
1223
1226
|
import Layouts from "vite-plugin-vue-layouts";
|
|
1227
|
+
import { groupIconVitePlugin } from "vitepress-plugin-group-icons";
|
|
1224
1228
|
|
|
1225
1229
|
// node/plugins/extendConfig.ts
|
|
1226
1230
|
import { dirname as dirname4, join as join3, resolve as resolve6 } from "path";
|
|
@@ -1947,6 +1951,7 @@ import { full as emojiPlugin } from "markdown-it-emoji";
|
|
|
1947
1951
|
import footnotePlugin from "markdown-it-footnote";
|
|
1948
1952
|
import imageFigures from "markdown-it-image-figures";
|
|
1949
1953
|
import TaskLists from "markdown-it-task-lists";
|
|
1954
|
+
import { groupIconMdPlugin } from "vitepress-plugin-group-icons";
|
|
1950
1955
|
|
|
1951
1956
|
// node/plugins/markdown/plugins/link.ts
|
|
1952
1957
|
import { URL as URL2 } from "url";
|
|
@@ -2610,7 +2615,6 @@ async function setupMarkdownPlugins(md3, options, base = "/") {
|
|
|
2610
2615
|
...mdOptions.imageFigures
|
|
2611
2616
|
});
|
|
2612
2617
|
md3.use(TaskLists);
|
|
2613
|
-
const { groupIconMdPlugin } = await import("vitepress-plugin-group-icons");
|
|
2614
2618
|
md3.use(groupIconMdPlugin, {
|
|
2615
2619
|
titleBar: { includeSnippet: true }
|
|
2616
2620
|
});
|
|
@@ -4033,18 +4037,6 @@ async function ViteValaxyPlugins(valaxyApp, serverOptions = {}) {
|
|
|
4033
4037
|
}),
|
|
4034
4038
|
createFixPlugins(options)
|
|
4035
4039
|
];
|
|
4036
|
-
const { groupIconVitePlugin } = await import("vitepress-plugin-group-icons");
|
|
4037
|
-
plugins.push(
|
|
4038
|
-
groupIconVitePlugin({
|
|
4039
|
-
customIcon: {
|
|
4040
|
-
nodejs: "vscode-icons:file-type-node",
|
|
4041
|
-
playwright: "vscode-icons:file-type-playwright",
|
|
4042
|
-
typedoc: "vscode-icons:file-type-typedoc",
|
|
4043
|
-
eslint: "vscode-icons:file-type-eslint"
|
|
4044
|
-
},
|
|
4045
|
-
...valaxyConfig.groupIcons
|
|
4046
|
-
})
|
|
4047
|
-
);
|
|
4048
4040
|
if (valaxyConfig.visualizer) {
|
|
4049
4041
|
try {
|
|
4050
4042
|
const visualizer = (await import("rollup-plugin-visualizer")).visualizer;
|
|
@@ -4064,6 +4056,22 @@ async function ViteValaxyPlugins(valaxyApp, serverOptions = {}) {
|
|
|
4064
4056
|
console.log();
|
|
4065
4057
|
}
|
|
4066
4058
|
}
|
|
4059
|
+
const customIcon = {
|
|
4060
|
+
nodejs: "vscode-icons:file-type-node",
|
|
4061
|
+
playwright: "vscode-icons:file-type-playwright",
|
|
4062
|
+
typedoc: "vscode-icons:file-type-typedoc",
|
|
4063
|
+
eslint: "vscode-icons:file-type-eslint"
|
|
4064
|
+
};
|
|
4065
|
+
plugins.push(
|
|
4066
|
+
groupIconVitePlugin({
|
|
4067
|
+
customIcon,
|
|
4068
|
+
...valaxyConfig.groupIcons,
|
|
4069
|
+
defaultLabels: [
|
|
4070
|
+
...valaxyConfig.groupIcons?.defaultLabels || [],
|
|
4071
|
+
...Object.keys(valaxyConfig.groupIcons?.customIcon || {})
|
|
4072
|
+
]
|
|
4073
|
+
})
|
|
4074
|
+
);
|
|
4067
4075
|
return plugins;
|
|
4068
4076
|
}
|
|
4069
4077
|
|
package/dist/node/cli/index.js
CHANGED
package/dist/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.24.
|
|
4
|
+
"version": "0.24.1",
|
|
5
5
|
"description": "📄 Vite & Vue powered static blog generator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -132,8 +132,8 @@
|
|
|
132
132
|
"vue-i18n": "^11.1.9",
|
|
133
133
|
"vue-router": "^4.5.1",
|
|
134
134
|
"yargs": "^18.0.0",
|
|
135
|
-
"@valaxyjs/devtools": "0.24.
|
|
136
|
-
"@valaxyjs/utils": "0.24.
|
|
135
|
+
"@valaxyjs/devtools": "0.24.1",
|
|
136
|
+
"@valaxyjs/utils": "0.24.1"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
139
|
"@mdit-vue/plugin-component": "^2.1.4",
|