valaxy 0.0.7 → 0.0.8

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.
Files changed (42) hide show
  1. package/dist/build-RREYJOHF.mjs +1 -0
  2. package/dist/build-TIU2KH77.js +1 -0
  3. package/dist/chunk-44DGW27S.js +1 -0
  4. package/dist/chunk-CSMXFOVS.mjs +1 -0
  5. package/dist/chunk-EM2KSV5V.js +83 -0
  6. package/dist/chunk-HUI4MBPM.js +1 -0
  7. package/dist/chunk-MWP3FN5Q.mjs +83 -0
  8. package/dist/chunk-RKUUEWDF.mjs +1 -0
  9. package/dist/index.d.ts +350 -0
  10. package/dist/index.js +1 -0
  11. package/dist/index.mjs +1 -0
  12. package/dist/node/cli.js +5 -5
  13. package/dist/node/cli.mjs +5 -5
  14. package/dist/node/index.js +1 -1
  15. package/dist/node/index.mjs +1 -1
  16. package/package.json +3 -3
  17. package/src/client/composables/category.ts +2 -2
  18. package/src/client/composables/common.ts +3 -2
  19. package/src/client/composables/post.ts +2 -2
  20. package/src/client/composables/tag.ts +2 -1
  21. package/src/{core → client}/config.ts +1 -1
  22. package/src/client/index.ts +4 -0
  23. package/src/client/utils/index.ts +2 -0
  24. package/src/client/utils/time.ts +1 -1
  25. package/src/index.ts +1 -1
  26. package/src/node/plugins/extendConfig.ts +17 -1
  27. package/src/node/plugins/preset.ts +9 -1
  28. package/src/node/vite.ts +1 -32
  29. package/tsup.config.ts +7 -4
  30. package/dist/build-OOT6HK6S.js +0 -1
  31. package/dist/build-SG32QSQ3.mjs +0 -1
  32. package/dist/chunk-7JDYOPID.js +0 -1
  33. package/dist/chunk-JJEBEWGI.mjs +0 -1
  34. package/dist/chunk-L3EDI35I.js +0 -1
  35. package/dist/chunk-L5SNNWFJ.js +0 -78
  36. package/dist/chunk-MVJUGWXR.mjs +0 -1
  37. package/dist/chunk-QI435Q25.mjs +0 -78
  38. package/dist/types/index.d.ts +0 -110
  39. package/dist/types/index.js +0 -1
  40. package/dist/types/index.mjs +0 -1
  41. package/src/core/index.ts +0 -5
  42. package/src/core/utils.ts +0 -1
@@ -1,110 +0,0 @@
1
- export { S as SocialLink, U as UserConfig, V as ValaxyConfig, a as ValaxyThemeConfig, d as defaultValaxyConfig } from '../config-d6527c8c.js';
2
- import 'type-fest';
3
- import 'unocss/vite';
4
- import 'markdown-it';
5
- import 'markdown-it-anchor';
6
- import 'katex';
7
- import 'vite-plugin-md';
8
-
9
- interface Post {
10
- /**
11
- * Path of post
12
- * route.path
13
- * @description 路径
14
- */
15
- path?: string;
16
- /**
17
- * Title
18
- * @description 文章标题
19
- */
20
- title?: string;
21
- date?: string | number | Date;
22
- /**
23
- * Updated Time
24
- */
25
- updated?: string | number | Date;
26
- lang?: string;
27
- /**
28
- * TODO
29
- * Read Time
30
- * @description 阅读时长
31
- */
32
- duration?: string;
33
- /**
34
- * post card type, can be bilibili/yuque/...
35
- */
36
- type?: string;
37
- /**
38
- * override url, and jump directly
39
- */
40
- url?: string;
41
- /**
42
- * @description 摘要
43
- */
44
- excerpt?: string;
45
- /**
46
- * Display sponsor info
47
- * @description 是否开启赞助
48
- */
49
- sponsor?: boolean;
50
- /**
51
- * Copyright
52
- * @description 是否显示文章底部版权信息
53
- */
54
- copyright?: boolean;
55
- /**
56
- * Category
57
- * @description 分类,若为数组,则按顺序代表多层文件夹
58
- */
59
- categories?: string | string[];
60
- /**
61
- * Tags
62
- * @description 标签,可以有多个
63
- */
64
- tags?: string[];
65
- /**
66
- * display prev next
67
- * @description 是否显示前一篇、后一篇导航
68
- */
69
- nav?: boolean;
70
- /**
71
- * icon before title
72
- */
73
- icon?: string;
74
- /**
75
- * title color
76
- */
77
- color?: string;
78
- /**
79
- * display comment
80
- */
81
- comment?: boolean;
82
- /**
83
- * post is end
84
- * @description 是否完结,将在末尾添加衬线字体 Q.E.D.
85
- */
86
- end?: boolean;
87
- /**
88
- * use aplayer
89
- */
90
- aplayer?: boolean;
91
- /**
92
- * use katex
93
- */
94
- katex?: boolean;
95
- /**
96
- * use codepen
97
- */
98
- codepen?: boolean;
99
- /**
100
- * 置顶
101
- */
102
- top?: number;
103
- /**
104
- * display toc
105
- * @description 是否显示目录
106
- */
107
- toc?: boolean;
108
- }
109
-
110
- export { Post };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkL3EDI35Ijs = require('../chunk-L3EDI35I.js');exports.defaultValaxyConfig = _chunkL3EDI35Ijs.f;
@@ -1 +0,0 @@
1
- import{f as a}from"../chunk-MVJUGWXR.mjs";export{a as defaultValaxyConfig};
package/src/core/index.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from '../client/composables'
2
- export * from '../client/utils'
3
-
4
- export * from './config'
5
- export * from './utils'
package/src/core/utils.ts DELETED
@@ -1 +0,0 @@
1
- export const isDev = import.meta.env.DEV === true