valaxy 0.20.5 → 0.20.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.
- package/client/components/ValaxyApp.vue +10 -11
- package/client/components/ValaxyDecrypt.vue +9 -7
- package/client/components/ValaxyGalleryDecrypt.vue +1 -0
- package/client/components/ValaxyLogo.vue +5 -1
- package/client/components/ValaxyMd.vue +3 -3
- package/client/components/builtin/ValaxyMermaid.vue +40 -41
- package/client/composables/app/useValaxyHead.ts +13 -6
- package/client/composables/categories.ts +1 -1
- package/client/composables/codeGroups.ts +1 -1
- package/client/composables/collections.ts +1 -1
- package/client/composables/common.ts +3 -3
- package/client/composables/features/collapse-code.ts +1 -1
- package/client/composables/features/copy-code.ts +1 -0
- package/client/composables/features/index.ts +1 -1
- package/client/composables/helper/useInvisibleElement.ts +1 -1
- package/client/composables/index.ts +10 -10
- package/client/composables/locale.ts +4 -3
- package/client/composables/outline/anchor.ts +9 -8
- package/client/composables/outline/headers.ts +3 -3
- package/client/composables/outline/index.ts +1 -1
- package/client/composables/post/index.ts +3 -3
- package/client/composables/search/useFuseSearch.ts +4 -4
- package/client/composables/tags.ts +1 -1
- package/client/composables/widgets/aplayer.ts +1 -1
- package/client/config.ts +8 -8
- package/client/index.ts +5 -5
- package/client/main.ts +15 -15
- package/client/modules/devtools.ts +1 -1
- package/client/modules/floating-vue.ts +3 -3
- package/client/modules/mermaid.ts +3 -3
- package/client/modules/nprogress.ts +1 -1
- package/client/modules/pinia.ts +1 -1
- package/client/modules/schemaOrg.ts +1 -1
- package/client/modules/valaxy.ts +6 -6
- package/client/setup/main.ts +7 -7
- package/client/setup/mermaid.ts +1 -1
- package/client/setups.ts +2 -2
- package/client/stores/app.ts +1 -1
- package/client/stores/site.ts +2 -2
- package/client/styles/common/markdown.scss +4 -4
- package/client/styles/index.scss +0 -1
- package/client/types/index.ts +1 -1
- package/client/utils/index.ts +3 -3
- package/client/utils/time.ts +3 -4
- package/dist/chunk-JOSLTXIR.cjs +161 -0
- package/dist/chunk-LB5BBIUM.mjs +162 -0
- 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 +86 -86
- package/dist/node/index.d.ts +86 -86
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.mjs +1 -1
- package/package.json +23 -23
- package/shims.d.ts +2 -2
- package/types/config.ts +1 -1
- package/types/index.ts +3 -3
- package/client/styles/common/scrollbar.scss +0 -30
- package/dist/chunk-5CL433IL.mjs +0 -162
- package/dist/chunk-VDCJKFCV.cjs +0 -161
- package/dist/{chunk-6GE64PZD.cjs → chunk-BJ22GQI6.cjs} +0 -0
- package/dist/{chunk-WE2LNW3F.mjs → chunk-XKANGEKW.mjs} +0 -0
- package/dist/{config-DfXD9Gt_.d.cts → config-Dxu7i2Zs.d.cts} +1 -1
- package/dist/{config-DfXD9Gt_.d.ts → config-Dxu7i2Zs.d.ts} +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.7",
|
|
5
5
|
"description": "📄 Vite & Vue powered static blog generator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -56,27 +56,27 @@
|
|
|
56
56
|
"node": "^14.18.0 || >=16.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@antfu/install-pkg": "^0.
|
|
59
|
+
"@antfu/install-pkg": "^0.5.0",
|
|
60
60
|
"@antfu/utils": "^0.7.10",
|
|
61
61
|
"@clack/prompts": "^0.8.2",
|
|
62
62
|
"@iconify-json/ri": "^1.2.3",
|
|
63
|
-
"@intlify/unplugin-vue-i18n": "
|
|
63
|
+
"@intlify/unplugin-vue-i18n": "^6.0.1",
|
|
64
64
|
"@types/katex": "^0.16.7",
|
|
65
65
|
"@types/luxon": "^3.4.2",
|
|
66
66
|
"@unhead/addons": "^1.11.13",
|
|
67
67
|
"@unhead/schema-org": "^1.11.13",
|
|
68
68
|
"@unhead/vue": "^1.11.13",
|
|
69
69
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
70
|
-
"@vue/devtools-api": "^7.6.
|
|
70
|
+
"@vue/devtools-api": "^7.6.7",
|
|
71
71
|
"@vueuse/core": "12.0.0-beta.1",
|
|
72
72
|
"@vueuse/integrations": "12.0.0-beta.1",
|
|
73
|
+
"beasties": "^0.2.0",
|
|
73
74
|
"consola": "^3.2.3",
|
|
74
|
-
"critters": "^0.0.25",
|
|
75
75
|
"cross-spawn": "^7.0.6",
|
|
76
76
|
"css-i18n": "^0.0.5",
|
|
77
77
|
"date-fns": "^4.1.0",
|
|
78
78
|
"date-fns-tz": "^3.2.0",
|
|
79
|
-
"debug": "^4.
|
|
79
|
+
"debug": "^4.4.0",
|
|
80
80
|
"defu": "^6.1.4",
|
|
81
81
|
"ejs": "^3.1.10",
|
|
82
82
|
"escape-html": "^1.0.3",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"gray-matter": "^4.0.3",
|
|
88
88
|
"hookable": "^5.5.3",
|
|
89
89
|
"html-to-text": "^9.0.5",
|
|
90
|
-
"jiti": "^2.4.
|
|
90
|
+
"jiti": "^2.4.1",
|
|
91
91
|
"js-base64": "^3.7.7",
|
|
92
92
|
"js-yaml": "^4.1.0",
|
|
93
93
|
"katex": "^0.16.11",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"luxon": "^3.5.0",
|
|
96
96
|
"markdown-it": "^14.1.0",
|
|
97
97
|
"markdown-it-anchor": "^9.2.0",
|
|
98
|
-
"markdown-it-attrs": "^4.
|
|
98
|
+
"markdown-it-attrs": "^4.3.0",
|
|
99
99
|
"markdown-it-container": "^4.0.0",
|
|
100
100
|
"markdown-it-emoji": "^3.0.0",
|
|
101
101
|
"markdown-it-footnote": "^4.0.0",
|
|
@@ -103,35 +103,35 @@
|
|
|
103
103
|
"markdown-it-table-of-contents": "^0.8.0",
|
|
104
104
|
"markdown-it-task-lists": "^2.1.1",
|
|
105
105
|
"medium-zoom": "^1.1.0",
|
|
106
|
-
"mermaid": "^11.4.
|
|
106
|
+
"mermaid": "^11.4.1",
|
|
107
107
|
"mlly": "^1.7.3",
|
|
108
108
|
"nprogress": "^0.2.0",
|
|
109
109
|
"open": "10.1.0",
|
|
110
110
|
"ora": "^8.1.1",
|
|
111
111
|
"pascalcase": "^2.0.0",
|
|
112
112
|
"pathe": "^1.1.2",
|
|
113
|
-
"pinia": "^2.
|
|
113
|
+
"pinia": "^2.3.0",
|
|
114
114
|
"qrcode": "^1.5.4",
|
|
115
115
|
"resolve-global": "^2.0.0",
|
|
116
|
-
"sass": "^1.
|
|
117
|
-
"shiki": "^1.
|
|
116
|
+
"sass": "^1.82.0",
|
|
117
|
+
"shiki": "^1.24.0",
|
|
118
118
|
"star-markdown-css": "^0.5.3",
|
|
119
|
-
"unocss": "^0.
|
|
120
|
-
"unplugin-vue-components": "^0.27.
|
|
121
|
-
"unplugin-vue-markdown": "^0.
|
|
122
|
-
"unplugin-vue-router": "^0.10.
|
|
119
|
+
"unocss": "^0.65.1",
|
|
120
|
+
"unplugin-vue-components": "^0.27.5",
|
|
121
|
+
"unplugin-vue-markdown": "^0.27.1",
|
|
122
|
+
"unplugin-vue-router": "^0.10.9",
|
|
123
123
|
"vanilla-lazyload": "^19.1.3",
|
|
124
|
-
"vite": "^6.0.
|
|
125
|
-
"vite-plugin-vue-devtools": "^7.6.
|
|
124
|
+
"vite": "^6.0.3",
|
|
125
|
+
"vite-plugin-vue-devtools": "^7.6.7",
|
|
126
126
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
127
|
-
"vite-ssg": "^0.24.
|
|
127
|
+
"vite-ssg": "^0.24.2",
|
|
128
128
|
"vite-ssg-sitemap": "^0.8.1",
|
|
129
129
|
"vue": "^3.5.13",
|
|
130
|
-
"vue-i18n": "^10.0.
|
|
130
|
+
"vue-i18n": "^10.0.5",
|
|
131
131
|
"vue-router": "^4.5.0",
|
|
132
132
|
"yargs": "^17.7.2",
|
|
133
|
-
"@valaxyjs/devtools": "0.20.
|
|
134
|
-
"@valaxyjs/utils": "0.20.
|
|
133
|
+
"@valaxyjs/devtools": "0.20.7",
|
|
134
|
+
"@valaxyjs/utils": "0.20.7"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@mdit-vue/plugin-component": "^2.1.3",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"gh-pages": "^6.2.0",
|
|
158
158
|
"https-localhost": "^4.7.1",
|
|
159
159
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
160
|
-
"table": "^6.
|
|
160
|
+
"table": "^6.9.0"
|
|
161
161
|
},
|
|
162
162
|
"scripts": {
|
|
163
163
|
"build": "rimraf dist && tsup --splitting",
|
package/shims.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import type { Header } from '@valaxyjs/utils'
|
|
2
2
|
|
|
3
3
|
// import './client/typed-router'
|
|
4
4
|
|
|
5
5
|
import type { Ref } from 'vue'
|
|
6
|
-
import type { Header } from '@valaxyjs/utils'
|
|
7
6
|
import type { Post } from './types'
|
|
7
|
+
import 'vue-router'
|
|
8
8
|
|
|
9
9
|
declare module 'valaxy-addon-*'
|
|
10
10
|
declare module '@docsearch/js' {
|
package/types/config.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ZoomOptions } from 'medium-zoom'
|
|
2
1
|
import type { FuseOptions } from '@vueuse/integrations/useFuse'
|
|
2
|
+
import type { ZoomOptions } from 'medium-zoom'
|
|
3
3
|
import type { ILazyLoadOptions } from 'vanilla-lazyload'
|
|
4
4
|
import type { RouteRecordRaw } from 'vue-router'
|
|
5
5
|
import type { ValaxyAddon } from '../types'
|
package/types/index.ts
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
export * from './addon'
|
|
3
3
|
export * from './config'
|
|
4
4
|
export * from './data'
|
|
5
|
+
// default theme
|
|
6
|
+
export * from './default-theme'
|
|
5
7
|
export * from './frontmatter'
|
|
6
|
-
export * from './posts'
|
|
7
8
|
|
|
8
9
|
// used in node, but without node deps
|
|
9
10
|
// and need be shared with client types
|
|
10
11
|
export * from './node'
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
export * from './default-theme'
|
|
13
|
+
export * from './posts'
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@use "valaxy/client/styles/mixins/index.scss" as *;
|
|
2
|
-
|
|
3
|
-
::-webkit-scrollbar {
|
|
4
|
-
width: 8px;
|
|
5
|
-
height: 8px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
::-webkit-scrollbar-track {
|
|
9
|
-
border-radius: 2px;
|
|
10
|
-
background-color: rgba(255, 255, 255, 0.1);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
::-webkit-scrollbar-thumb {
|
|
14
|
-
border-radius: 2px;
|
|
15
|
-
background-color: rgba(122, 122, 122, 0.3);
|
|
16
|
-
|
|
17
|
-
// transition not work
|
|
18
|
-
|
|
19
|
-
&:window-inactive {
|
|
20
|
-
background-color: rgba(122, 122, 122, 0.3);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:hover {
|
|
24
|
-
background-color: rgba(122, 122, 122, 0.7);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:active {
|
|
28
|
-
background-color: rgba(122, 122, 122, 0.9);
|
|
29
|
-
}
|
|
30
|
-
}
|