valaxy 0.28.10 → 0.28.11

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,5 +1,5 @@
1
- import { c as Post } from '../shared/valaxy.D8f6owDk.mjs';
2
- export { A as Album, B as BaseFrontMatter, D as DefaultTheme, E as ExcerptType, F as FuseListItem, d as Page, e as PageFrontMatter, P as PartialDeep, f as Photo, g as Pkg, h as PostFrontMatter, a as RedirectItem, i as RedirectRule, R as RuntimeConfig, S as SiteConfig, j as SocialLink, U as UserSiteConfig, k as UserValaxyConfig, b as ValaxyAddon, V as ValaxyConfig } from '../shared/valaxy.D8f6owDk.mjs';
1
+ import { c as Post } from '../shared/valaxy.-usflxeS.mjs';
2
+ export { A as Album, B as BaseFrontMatter, D as DefaultTheme, E as ExcerptType, F as FuseListItem, d as Page, e as PageFrontMatter, P as PartialDeep, f as Photo, g as Pkg, h as PostFrontMatter, a as RedirectItem, i as RedirectRule, R as RuntimeConfig, S as SiteConfig, j as SocialLink, U as UserSiteConfig, k as UserValaxyConfig, b as ValaxyAddon, V as ValaxyConfig } from '../shared/valaxy.-usflxeS.mjs';
3
3
  import { Header } from '@valaxyjs/utils';
4
4
  import '@vueuse/integrations/useFuse';
5
5
  import 'medium-zoom';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "valaxy",
3
3
  "type": "module",
4
- "version": "0.28.10",
4
+ "version": "0.28.11",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -57,7 +57,7 @@
57
57
  "types"
58
58
  ],
59
59
  "engines": {
60
- "node": "^18.0.0 || >=20.0.0"
60
+ "node": ">=22.12.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "vue": "^3.5.0",
@@ -78,7 +78,6 @@
78
78
  "@vue/devtools-api": "7.7.2",
79
79
  "@vueuse/core": "^14.3.0",
80
80
  "@vueuse/integrations": "^14.3.0",
81
- "beasties": "^0.4.2",
82
81
  "consola": "^3.4.2",
83
82
  "cross-spawn": "^7.0.6",
84
83
  "css-i18n": "^0.0.5",
@@ -129,20 +128,19 @@
129
128
  "star-markdown-css": "^0.5.3",
130
129
  "table": "^6.9.0",
131
130
  "unhead": "^2.1.13",
132
- "unocss": "66.5.10",
131
+ "unocss": "66.7.2",
133
132
  "unplugin-vue-components": "28.0.0",
134
- "unplugin-vue-markdown": "^30.0.0",
133
+ "unplugin-vue-markdown": "^32.0.0",
135
134
  "vanilla-lazyload": "^19.1.3",
136
135
  "vite": "^8.0.11",
137
136
  "vite-plugin-vue-devtools": "^8.1.1",
138
137
  "vite-plugin-vue-layouts-next": "^2.1.0",
139
- "vite-ssg": "^28.3.0",
140
138
  "vite-ssg-sitemap": "^0.10.0",
141
139
  "vitepress-plugin-group-icons": "^1.7.5",
142
140
  "vue-i18n": "^11.4.2",
143
141
  "yargs": "^18.0.0",
144
- "@valaxyjs/devtools": "0.28.10",
145
- "@valaxyjs/utils": "0.28.10"
142
+ "@valaxyjs/utils": "0.28.11",
143
+ "@valaxyjs/devtools": "0.28.11"
146
144
  },
147
145
  "devDependencies": {
148
146
  "@mdit-vue/plugin-component": "^3.0.2",
@@ -155,11 +155,6 @@ export interface PageFrontMatter extends BaseFrontMatter {
155
155
  * @description 标题前的图标
156
156
  */
157
157
  icon: string
158
- /**
159
- * title color
160
- * @deprecated Please use `pageTitleClass` | `postTitleClass` instead
161
- */
162
- color: string
163
158
  /**
164
159
  * display comment
165
160
  */
@@ -1,29 +0,0 @@
1
- import { useHead } from '@unhead/vue'
2
- import { useScriptTag } from '@vueuse/core'
3
- import { computed } from 'vue'
4
- import { useSiteConfig } from '../..'
5
-
6
- /**
7
- * use MetingJS and Aplayer
8
- * @deprecated will migrate to valaxy-addon-meting
9
- * @see https://github.com/MoePlayer/APlayer
10
- * @see https://github.com/metowolf/MetingJS
11
- */
12
- export function useAplayer() {
13
- const siteConfig = useSiteConfig()
14
- const cdnPrefix = computed(() => siteConfig.value.cdn.prefix)
15
-
16
- useHead({
17
- link: [
18
- {
19
- rel: 'stylesheet',
20
- href: `${cdnPrefix.value}aplayer/dist/APlayer.min.css`,
21
- },
22
- ],
23
- })
24
-
25
- // load meting after aplayer
26
- useScriptTag(`${cdnPrefix.value}aplayer/dist/APlayer.min.js`, () => {
27
- useScriptTag(`${cdnPrefix.value}meting@2/dist/Meting.min.js`)
28
- })
29
- }