valaxy 0.15.13 → 0.16.0

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 { b as Post } from '../config-21f067f9.js';
2
- export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, h as Page, f as PageFrontMatter, P as PartialDeep, e as Photo, g as PostFrontMatter, R as RuntimeConfig, S as SiteConfig, c as SocialLink, U as UserSiteConfig, d as UserValaxyConfig, a as ValaxyAddon, V as ValaxyConfig } from '../config-21f067f9.js';
1
+ import { b as Post } from '../config-tjZfKSoC.cjs';
2
+ export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, h as Page, f as PageFrontMatter, P as PartialDeep, e as Photo, g as PostFrontMatter, R as RuntimeConfig, S as SiteConfig, c as SocialLink, U as UserSiteConfig, d as UserValaxyConfig, a as ValaxyAddon, V as ValaxyConfig } from '../config-tjZfKSoC.cjs';
3
3
  import 'medium-zoom';
4
4
  import '@vueuse/integrations/useFuse';
5
5
  import 'vanilla-lazyload';
@@ -50,4 +50,4 @@ interface PageDataPayload {
50
50
  }
51
51
  type HeadConfig = [string, Record<string, string>] | [string, Record<string, string>, string];
52
52
 
53
- export { CleanUrlsMode, HeadConfig, Header, PageData, PageDataPayload, Post };
53
+ export { type CleanUrlsMode, type HeadConfig, type Header, type PageData, type PageDataPayload, Post };
@@ -1,5 +1,5 @@
1
- import { b as Post } from '../config-21f067f9.js';
2
- export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, h as Page, f as PageFrontMatter, P as PartialDeep, e as Photo, g as PostFrontMatter, R as RuntimeConfig, S as SiteConfig, c as SocialLink, U as UserSiteConfig, d as UserValaxyConfig, a as ValaxyAddon, V as ValaxyConfig } from '../config-21f067f9.js';
1
+ import { b as Post } from '../config-tjZfKSoC.js';
2
+ export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, h as Page, f as PageFrontMatter, P as PartialDeep, e as Photo, g as PostFrontMatter, R as RuntimeConfig, S as SiteConfig, c as SocialLink, U as UserSiteConfig, d as UserValaxyConfig, a as ValaxyAddon, V as ValaxyConfig } from '../config-tjZfKSoC.js';
3
3
  import 'medium-zoom';
4
4
  import '@vueuse/integrations/useFuse';
5
5
  import 'vanilla-lazyload';
@@ -50,4 +50,4 @@ interface PageDataPayload {
50
50
  }
51
51
  type HeadConfig = [string, Record<string, string>] | [string, Record<string, string>, string];
52
52
 
53
- export { CleanUrlsMode, HeadConfig, Header, PageData, PageDataPayload, Post };
53
+ export { type CleanUrlsMode, type HeadConfig, type Header, type PageData, type PageDataPayload, Post };
@@ -1,2 +1,2 @@
1
1
  import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
2
- import{e}from"../chunk-GY4S4RDR.mjs";e();e();e();e();e();e();e();
2
+ import{e}from"../chunk-XKQECU6I.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.15.13",
4
+ "version": "0.16.0",
5
5
  "description": "📄 Vite & Vue powered static blog generator.",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -52,18 +52,18 @@
52
52
  "node": "^14.18.0 || >=16.0.0"
53
53
  },
54
54
  "dependencies": {
55
- "@antfu/utils": "^0.7.6",
55
+ "@antfu/utils": "^0.7.7",
56
56
  "@ctrl/tinycolor": "^4.0.2",
57
- "@iconify-json/carbon": "^1.1.21",
58
- "@iconify-json/ri": "^1.1.12",
59
- "@intlify/unplugin-vue-i18n": "^1.4.0",
60
- "@types/body-scroll-lock": "^3.1.1",
61
- "@unhead/addons": "^1.8.1",
62
- "@unhead/schema-org": "^1.8.1",
63
- "@unhead/vue": "^1.8.1",
64
- "@vitejs/plugin-vue": "^4.4.0",
65
- "@vueuse/core": "^10.5.0",
66
- "@vueuse/integrations": "^10.5.0",
57
+ "@iconify-json/carbon": "^1.1.26",
58
+ "@iconify-json/ri": "^1.1.17",
59
+ "@intlify/unplugin-vue-i18n": "^1.6.0",
60
+ "@types/body-scroll-lock": "^3.1.2",
61
+ "@unhead/addons": "^1.8.9",
62
+ "@unhead/schema-org": "^1.8.9",
63
+ "@unhead/vue": "^1.8.9",
64
+ "@vitejs/plugin-vue": "^4.5.2",
65
+ "@vueuse/core": "^10.7.0",
66
+ "@vueuse/integrations": "^10.7.0",
67
67
  "body-scroll-lock": "4.0.0-beta.0",
68
68
  "consola": "^3.2.3",
69
69
  "critters": "^0.0.20",
@@ -74,25 +74,24 @@
74
74
  "ejs": "^3.1.9",
75
75
  "escape-html": "^1.0.3",
76
76
  "feed": "^4.2.2",
77
- "fs-extra": "^11.1.1",
78
- "fuse.js": "^6.6.2",
79
- "global-dirs": "^3.0.1",
77
+ "fs-extra": "^11.2.0",
78
+ "fuse.js": "^7.0.0",
80
79
  "gray-matter": "^4.0.3",
81
80
  "hookable": "^5.5.3",
82
81
  "html-to-text": "^9.0.5",
83
- "is-installed-globally": "^0.4.0",
84
- "jiti": "^1.20.0",
82
+ "is-installed-globally": "^1.0.0",
83
+ "jiti": "^1.21.0",
85
84
  "katex": "^0.16.9",
86
85
  "kolorist": "^1.8.0",
87
- "lru-cache": "^10.0.1",
88
- "markdown-it": "^13.0.2",
86
+ "lru-cache": "^10.1.0",
87
+ "markdown-it": "^14.0.0",
89
88
  "markdown-it-anchor": "^8.6.7",
90
89
  "markdown-it-attrs": "^4.1.6",
91
- "markdown-it-container": "^3.0.0",
92
- "markdown-it-emoji": "^2.0.2",
90
+ "markdown-it-container": "^4.0.0",
91
+ "markdown-it-emoji": "^3.0.0",
93
92
  "markdown-it-table-of-contents": "^0.6.0",
94
93
  "markdown-it-task-lists": "^2.1.1",
95
- "medium-zoom": "^1.0.8",
94
+ "medium-zoom": "^1.1.0",
96
95
  "nprogress": "^0.2.0",
97
96
  "open": "9.1.0",
98
97
  "ora": "^7.0.1",
@@ -100,39 +99,39 @@
100
99
  "pinia": "^2.1.7",
101
100
  "qrcode": "^1.5.3",
102
101
  "sass": "^1.69.5",
103
- "shiki": "^0.14.5",
102
+ "shiki": "^0.14.7",
104
103
  "star-markdown-css": "^0.4.2",
105
104
  "unconfig": "^0.3.11",
106
- "unocss": "^0.57.1",
107
- "unplugin-vue-components": "^0.25.2",
105
+ "unocss": "^0.58.0",
106
+ "unplugin-vue-components": "^0.26.0",
108
107
  "vanilla-lazyload": "^17.8.5",
109
- "vite": "^4.5.0",
110
- "vite-plugin-pages": "^0.31.0",
111
- "vite-plugin-vue-layouts": "^0.8.0",
112
- "vite-ssg": "0.23.4",
113
- "vite-ssg-sitemap": "0.6.0",
114
- "vue": "^3.3.7",
115
- "vue-i18n": "^9.6.2",
108
+ "vite": "^5.0.10",
109
+ "vite-plugin-pages": "^0.32.0",
110
+ "vite-plugin-vue-layouts": "^0.10.0",
111
+ "vite-ssg": "0.23.5",
112
+ "vite-ssg-sitemap": "0.6.1",
113
+ "vue": "^3.3.12",
114
+ "vue-i18n": "^9.8.0",
116
115
  "vue-router": "^4.2.5",
117
116
  "yargs": "^17.7.2"
118
117
  },
119
118
  "devDependencies": {
120
- "@mdit-vue/plugin-component": "^1.0.0",
121
- "@mdit-vue/plugin-frontmatter": "^1.0.0",
122
- "@mdit-vue/plugin-headers": "^1.0.0",
123
- "@mdit-vue/plugin-sfc": "^1.0.0",
124
- "@mdit-vue/plugin-title": "^1.0.0",
125
- "@mdit-vue/plugin-toc": "^1.0.0",
126
- "@mdit-vue/shared": "^1.0.0",
127
- "@types/cross-spawn": "^6.0.4",
128
- "@types/ejs": "^3.1.4",
129
- "@types/html-to-text": "^9.0.3",
130
- "@types/katex": "^0.16.5",
131
- "@types/markdown-it": "^13.0.5",
132
- "@types/nprogress": "^0.2.2",
133
- "@types/pascalcase": "^1.0.2",
134
- "@types/qrcode": "^1.5.4",
135
- "@types/yargs": "^17.0.29",
119
+ "@mdit-vue/plugin-component": "^2.0.0",
120
+ "@mdit-vue/plugin-frontmatter": "^2.0.0",
121
+ "@mdit-vue/plugin-headers": "^2.0.0",
122
+ "@mdit-vue/plugin-sfc": "^2.0.0",
123
+ "@mdit-vue/plugin-title": "^2.0.0",
124
+ "@mdit-vue/plugin-toc": "^2.0.0",
125
+ "@mdit-vue/shared": "^2.0.0",
126
+ "@types/cross-spawn": "^6.0.6",
127
+ "@types/ejs": "^3.1.5",
128
+ "@types/html-to-text": "^9.0.4",
129
+ "@types/katex": "^0.16.7",
130
+ "@types/markdown-it": "^13.0.7",
131
+ "@types/nprogress": "^0.2.3",
132
+ "@types/pascalcase": "^1.0.3",
133
+ "@types/qrcode": "^1.5.5",
134
+ "@types/yargs": "^17.0.32",
136
135
  "debug": "^4.3.4",
137
136
  "diacritics": "^1.3.0",
138
137
  "https-localhost": "^4.7.1",
package/types/posts.ts CHANGED
@@ -163,6 +163,10 @@ export interface PageFrontMatter extends Record<string, any> {
163
163
  * @description:zh-CN 加密后的内容
164
164
  */
165
165
  encryptedContent?: string
166
+ /**
167
+ * @description:zh-CN 部分加密的内容
168
+ */
169
+ partiallyEncryptedContents?: string[]
166
170
  /**
167
171
  * @description:zh-CN 加密后的相册
168
172
  */