valaxy-theme-hairy 1.1.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +9 -9
- package/valaxy.config.ts +3 -4
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-hairy",
|
3
|
-
"version": "1.1.
|
4
|
-
"packageManager": "pnpm@8.
|
3
|
+
"version": "1.1.2",
|
4
|
+
"packageManager": "pnpm@8.15.8",
|
5
5
|
"author": {
|
6
6
|
"email": "wwu710632@gmail.com",
|
7
7
|
"name": "Hairyf",
|
@@ -21,17 +21,17 @@
|
|
21
21
|
"main": "client/index.ts",
|
22
22
|
"types": "types/index.d.ts",
|
23
23
|
"dependencies": {
|
24
|
-
"@iconify-json/ant-design": "^1.1.
|
25
|
-
"@iconify-json/fluent": "^1.1.
|
26
|
-
"@iconify-json/material-symbols": "^1.1.
|
27
|
-
"@iconify-json/simple-icons": "^1.1.
|
24
|
+
"@iconify-json/ant-design": "^1.1.16",
|
25
|
+
"@iconify-json/fluent": "^1.1.59",
|
26
|
+
"@iconify-json/material-symbols": "^1.1.84",
|
27
|
+
"@iconify-json/simple-icons": "^1.1.109",
|
28
28
|
"@overlastic/vue": "^0.4.7",
|
29
|
-
"element-plus": "^2.7.
|
29
|
+
"element-plus": "^2.7.7",
|
30
30
|
"pinia": "^2.1.7",
|
31
|
-
"swiper": "^11.
|
31
|
+
"swiper": "^11.1.5"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"valaxy": "^0.19.
|
34
|
+
"valaxy": "^0.19.2",
|
35
35
|
"valaxy-addon-algolia": "^0.0.3",
|
36
36
|
"valaxy-addon-meting": "^0.1.3",
|
37
37
|
"valaxy-addon-waline": "^0.1.5"
|
package/valaxy.config.ts
CHANGED
@@ -1,14 +1,10 @@
|
|
1
1
|
import type { DefaultTheme, ValaxyTheme } from 'valaxy'
|
2
2
|
import { defineTheme, mergeValaxyConfig } from 'valaxy'
|
3
|
-
import { addonAlgolia } from 'valaxy-addon-algolia'
|
4
3
|
import { withImageConfig, withThemeConfig } from './node'
|
5
4
|
import type { ThemeConfig } from './types'
|
6
5
|
|
7
6
|
export default defineTheme<ThemeConfig>((options) => {
|
8
7
|
let config: ValaxyTheme<ThemeConfig & DefaultTheme.Config> = {
|
9
|
-
addons: [
|
10
|
-
addonAlgolia(),
|
11
|
-
],
|
12
8
|
themeConfig: {
|
13
9
|
valaxyDarkOptions: {
|
14
10
|
useDarkOptions: { disableTransition: false },
|
@@ -20,6 +16,9 @@ export default defineTheme<ThemeConfig>((options) => {
|
|
20
16
|
post: 'image:slice:reverse',
|
21
17
|
},
|
22
18
|
},
|
19
|
+
vite: {
|
20
|
+
optimizeDeps: { include: ['dayjs', 'element-plus'] },
|
21
|
+
},
|
23
22
|
}
|
24
23
|
|
25
24
|
config = mergeValaxyConfig(config, withImageConfig(options))
|