Commit Graph

279 Commits

Author SHA1 Message Date
YunYouJun c542de120a feat: use default dirStyle flat & auto replace url ends with / 2023-01-29 22:34:36 +08:00
YunYouJun 7e598c625d chore: upgrade deps & fix unocss build caused by YunSponsor 2023-01-29 20:14:33 +08:00
YunYouJun 69a19697c8 fix: use post process for magic not closed tag html/> ml> l> 2023-01-27 05:06:14 +08:00
YunYouJun 71c6a080dd release: v0.13.8 2023-01-26 23:33:56 +08:00
YunYouJun deecd5de3d fix(theme-yun): valaxy-addon-algolia external 2023-01-25 22:33:49 +08:00
YunYouJun 0578707e45 fix: on demand addons & extract YunComment 2023-01-24 23:31:35 +08:00
YunYouJun b73c44ea4b fix(theme-yun): add on demand external 2023-01-24 21:41:22 +08:00
YunYouJun bd7c1a6a7f release: v0.13.0-0 2023-01-24 20:19:19 +08:00
YunYouJun 24c284fdda feat(addon-twikoo): new valaxy-addon and docs 2023-01-24 05:34:01 +08:00
YunYouJun de1bd6213f feat: can use fuse search 2023-01-24 04:29:52 +08:00
YunYouJun 43054f6ffd feat: can generate fuse list for search 2023-01-23 23:01:21 +08:00
YunYouJun 11f0e86236 refactor: extract site common configs to siteConfig & support site.config.ts 2023-01-23 05:06:12 +08:00
YunYouJun 951a4a9647 fix: add valaxy-addon-components 2023-01-23 00:58:39 +08:00
YunYouJun 4c1445f2ea fix(theme-yun): tag wrap in safari browser 2023-01-23 00:04:18 +08:00
YunYouJun f832174d1d chore: upgrade deps 2023-01-20 03:01:51 +08:00
YunYouJun 3fcfd4055b fix: fallback unknown language to txt 2023-01-20 03:01:13 +08:00
YunYouJun 2248932628 chore: upgrade deps 2023-01-18 05:19:10 +08:00
YunYouJun 3a6b264e5f feat: add new logo & press screen nav bar 2023-01-18 04:47:38 +08:00
YunYouJun 59e4d9b4c5 docs: add how to custom components 2023-01-16 02:37:30 +08:00
YunYouJun 730829a8ef fix: downgrade unocss to fix build 2023-01-09 03:38:19 +08:00
YunYouJun 700a555af2 chore!: upgrade to vite@4 2023-01-09 03:26:58 +08:00
YunYouJun c2817adf77 fix: use config.value.runtime to judge alias exist not import, close #139 2023-01-09 03:16:37 +08:00
YunYouJun 39679a0ac0 feat(addon-algolia): extract valaxy-addon-algolia 2022-12-06 12:36:35 +08:00
YunYouJun 80de428248 release: v0.11.5 2022-11-29 08:00:14 +08:00
YunYouJun 83bc612ecc docs: add how to custom css & font 2022-11-29 06:48:44 +08:00
YunYouJun 3dc6c35a82 fix(theme-press): styles of details nav/content/aside 2022-11-27 22:40:03 +08:00
YunYouJun cd0d3f398a docs: add how to custom theme component 2022-11-27 02:46:52 +08:00
YunYouJun 181dae1ddc feat: add seo og generator 2022-11-25 03:29:42 +08:00
YunYouJun 8d0621d842 refactor: defineValaxyAddon and simply valaxy-addon-waline 2022-11-25 01:01:15 +08:00
YunYouJun ea79bd927d chore: upgrade deps 2022-11-23 20:33:29 +08:00
YunYouJun 18f176a310 chore: upgrade deps & update links.json 2022-11-01 01:24:08 +08:00
YunYouJun 15b550a17c chore: upgrade deps 2022-10-16 04:01:04 +08:00
YunYouJun d6de5d1c58 chore: fix typecheck & upgrade deps 2022-10-08 02:42:01 +08:00
YunYouJun 9305bd30f6 chore: upgrade deps & add dockerfile 2022-10-05 23:01:33 +08:00
YunYouJun 95381b583b feat(theme-press): add press footer & commit ref 2022-10-04 17:36:55 +08:00
YunYouJun 49bbdb3fe1 refactor(md): with @mdit-vue plugins & ussOutline by document.querySelector 2022-10-03 21:46:54 +08:00
YunYouJun 7fb9cf456c feat: upgrade to vite@3 & @vitejs/plugin-vue@3 2022-10-03 01:41:11 +08:00
YunYouJun 98bdd0684f chore: upgrade deps 2022-10-02 22:47:00 +08:00
YunYouJun f5424619ef chore: upgrade deps 2022-09-22 22:56:57 +08:00
YunYouJun d102f45488 fix: demo preview error caused by vite-plugin-inspect & type 2022-09-18 18:49:53 +08:00
YunYouJun 174be3f11f fix: vite-ssg & vue-router slots build 2022-09-18 18:17:39 +08:00
YunYouJun f282d8937c docs: add how to custom markdown style, close #109 2022-09-18 02:36:26 +08:00
YunYouJun 7b334c7270 fix: seperate valaxy-addon-waline 2022-07-26 00:50:06 +08:00
YunYouJun 9a2a9e2b11 fix: released ssg build error caused by root 2022-07-21 21:56:16 +08:00
YunYouJun 86026e9798 feat: support user/App.vue 2022-07-20 21:10:22 +08:00
YunYouJun cc055c8f44 feat: auto register addons components 2022-07-20 00:22:01 +08:00
Mao Mr aa8aa8cb1c
feat: addon App.vue support (#62)
* feat: add parse addons and resolve addon config

* fix: defineAddon not addon options

* chore: parse addon to array

* fix: addon error cannot find module

* fix: add icons addon safelist

* fix: addon options type

* fix: addon test typecheck

* fix: addon enable invalid

* fix: parse addon filter

* fix: pnpm lock old

* fix: test parse addon read feasibility

* test: shift and add more addons to cover scenes

* chore: optimize config loads

* feat: addon App.vue support

Co-authored-by: YunYouJun <me@yunyoujun.cn>
2022-07-19 23:28:25 +08:00
Mao Mr a785c45c79
feat: addon system parse (#61)
* feat: add parse addons and resolve addon config

* fix: defineAddon not addon options

* chore: parse addon to array

* fix: addon error cannot find module

* fix: add icons addon safelist

* fix: addon options type

* fix: addon test typecheck

* fix: addon enable invalid

* fix: parse addon filter

* fix: pnpm lock old

* fix: test parse addon read feasibility

* test: shift and add more addons to cover scenes

* chore: optimize config loads

Co-authored-by: 云游君 <me@yunyoujun.cn>
2022-07-19 23:12:11 +08:00
YunYouJun 0394346dd2 chore: use husky instead of simple-git-hooks 2022-07-19 20:05:23 +08:00
YunYouJun 2d408b8dfa fix: docs with press build 2022-07-18 03:53:19 +08:00
YunYouJun 9a4a6c6cb4 feat(valaxy): do not need compile by jiti for theme 2022-07-17 00:43:46 +08:00
YunYouJun 817f456ff1 test: merge index.html & upgrade vite vue-i18n 2022-07-15 22:08:44 +08:00
YunYouJun 338c7ddc08 feat: expose unocssPresets options & move yun css to theme 2022-07-14 22:54:48 +08:00
YunYouJun ce85edc7de feat(theme-press): basic layout & home 2022-07-13 13:21:59 +08:00
YunYouJun bcd674f8c4 feat: can custom index.html and merge them 2022-07-12 20:44:33 +08:00
YunYouJun b2b1c581d7 refactor: move vite-plugin-inspect from internal to user 2022-07-12 01:02:35 +08:00
YunYouJun 2e6c4ca208 feat: add valaxy-theme-press for docs 2022-07-11 23:33:21 +08:00
YunYouJun eaeeb61d59 fix: extend post route frontmatter 2022-07-10 10:41:07 +08:00
YunYouJun 0973b4785c fix: pnpm warning & move docsearch to theme 2022-07-10 07:48:09 +08:00
YunYouJun 04292a3471 fix(types): client referrence by valaxy/types 2022-07-10 07:35:36 +08:00
Jeremy 99e92dba46
feat(cli): introducing ejs for templating (#33)
* Add `ejs` for replacing template posts.
* Refine creating template post method with `ejs`.

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-07-09 22:07:17 +08:00
YunYouJun e5fb0605f5 fix(client): build when waline dynamic import & add create-valaxy-theme 2022-07-09 22:01:58 +08:00
YunYouJun 3af5515a54 feat: set cdn prefix to unify, and use local waline 2022-07-09 10:56:31 +08:00
YunYouJun b215c2c8e0 fix: not add config file to entries & export useLocale 2022-07-09 08:34:54 +08:00
YunYouJun 18f98ef401 fix: not mix config between client & node 2022-07-08 10:06:50 +08:00
YunYouJun 6ef699b93f release: v0.7.4 2022-07-08 06:22:36 +08:00
YunYouJun a1476c8f6a feat: seperate valaxy-theme-yun & valaxy 2022-07-07 14:26:49 +08:00
YunYouJun 00a8af48c7 fix: export shared to dist 2022-07-04 09:54:41 +08:00
YunYouJun 96e1d84b09 fix: star-markdown-css a style & client export 2022-07-04 09:12:30 +08:00
YunYouJun 25ffe6341e fix: sitemap & robots.txt hostname, close #23 2022-07-04 05:08:50 +08:00
YunYouJun 17e741b7a7 chore: upgrade deps 2022-07-02 22:07:06 +08:00
YunYouJun 25aaf8e9a2 chore: upgrade deps to fix ci 2022-06-26 05:56:57 +08:00
YunYouJun 05d815b250 test: add md parse suite 2022-06-26 05:51:10 +08:00
YunYouJun bcd5b126ce feat: use shiki highlight & can copy code 2022-06-22 06:28:52 +08:00
YunYouJun c81b8909e9 ci: fix deps lock 2022-06-21 10:45:05 +08:00
YunYouJun 425067c79b ci: fix deps lock 2022-06-21 10:42:00 +08:00
YunYouJun 7da0eac9c5 refactor: parse pageData headers for toc 2022-06-21 10:34:03 +08:00
YunYouJun 7b611e3f9e refactor: export common from valaxy root, seperate node 2022-06-20 00:17:27 +08:00
YunYouJun 6233998172 chore: upgrade deps 2022-06-18 00:12:11 +08:00
YunYouJun 6f33664818 refactor: use docsearch style & js for algolia 2022-06-13 02:34:53 +08:00
YunYouJun 4e0fd7c0cb fix: downgrade ssg & remove vite-plugin-pwa 2022-06-09 04:16:44 +08:00
YunYouJun eeb2669db2 fix: ValaxyMd by downgrade vite-plugin-md to v0.13.1 2022-06-07 14:52:39 +08:00
YunYouJun 9bdeafbd96 chore: fix typecheck & seperate works 2022-06-07 03:50:13 +08:00
YunYouJun 2f84f22dcb chore: upgrade deps & lint 2022-06-07 01:57:50 +08:00
YunYouJun ea9056f496 feat: config favicon & auto judge png/svg 2022-05-15 01:26:49 +08:00
YunYouJun a0084c6df3 feat: use split vendor chunk for vite 2022-05-14 20:24:01 +08:00
YunYouJun 8c29bf6f12 refactor: use generate headers when client to save build memory 2022-05-14 03:54:37 +08:00
YunYouJun c124870f75 refactor: prune useless dependencies && not pull temp posts 2022-05-14 00:43:29 +08:00
YunYouJun 807b3cc137 chore: use kolorist instead of chalk to avoid esm 2022-05-13 17:57:05 +08:00
YunYouJun 792347bc87 ci: add parallel build valaxy & theme 2022-05-13 01:52:45 +08:00
YunYouJun ac26b40c68 refactor: export checkMd & move plugin to markdown-it 2022-05-12 03:58:27 +08:00
YunYouJun 73f81003fe fix: toc title slice 2022-05-12 00:48:55 +08:00
YunYouJun fe5cb16479 ci: add lint-staged & git hooks 2022-05-10 01:54:20 +08:00
YunYouJun e1133906e9 chore: upgrade deps 2022-05-10 01:23:10 +08:00
YunYouJun dafbc5e418 fix: create-valaxy by downgrade execa to cjs 2022-05-05 19:36:45 +08:00
YunYouJun 1d7287b5d8 ci: fix typecheck 2022-05-03 02:50:10 +08:00
YunYouJun b6c62292d3 ci: fix workspace link valaxy-theme-yun when pnpm@7 2022-05-03 01:58:01 +08:00
YunYouJun 8abab830dd chore: upgrade deps 2022-05-02 02:07:19 +08:00
YunYouJun 3acfeda07d chore: upgrade deps 2022-05-02 02:07:19 +08:00
YunYouJun 5454681325 refactor: sidebar toc link & add marker 2022-04-11 22:11:35 +08:00
YunYouJun 8b5adc75ab feat: support frontmatter draft 2022-04-10 21:44:38 +08:00
YunYouJun 895e2003bb feat: try a new i18n css method 2022-04-08 14:14:19 +08:00
YunYouJun c8685745f2 feat: support rss feed generate 2022-04-07 01:17:01 +08:00
YunYouJun 2b862dd9d3 feat: support ssg & primary color forward 2022-04-06 23:13:17 +08:00
YunYouJun ebda5e0dd8 feat: support highlight line 2022-04-06 05:29:00 +08:00
YunYouJun 999cbc0d17 feat: add transition for content & add md checkbox 2022-04-06 00:20:22 +08:00
YunYouJun 565e298d2c fix: add __DEV__ and remove client about/index.md 2022-04-05 23:39:25 +08:00
YunYouJun ab6b4eeb9c chore: upgrade deps, close #1 2022-04-03 18:19:40 +08:00
YunYouJun 0296cd0d32 fix: pnpm-lock.yaml 2022-04-02 05:11:58 +08:00
YunYouJun 78a43e8d76 fix: export valaxy/src/index.ts 2022-04-02 05:02:25 +08:00
YunYouJun bfe34b1612 fix: valaxy dependencies exclude 2022-04-02 00:02:49 +08:00
YunYouJun f0a9046090 fix: resolve path by require.resolve 2022-04-01 23:00:17 +08:00
YunYouJun a2aeab602b chore: publish & release scripts 2022-04-01 22:15:22 +08:00
YunYouJun 91cd2b525c feat: basic create-valaxy template 2022-04-01 20:42:42 +08:00
YunYouJun a7d8777c3c lint: move script above template 2022-04-01 19:16:33 +08:00
YunYouJun b9458321a1 feat: support toc link active 2022-04-01 01:26:25 +08:00
YunYouJun ff475c5f62 feat: support card type 2022-03-31 19:33:10 +08:00
YunYouJun cf639deb61 feat: support katex 2022-03-30 02:36:30 +08:00
YunYouJun 3ff93cf87d feat: add useTag & set i18n default locale 2022-03-28 00:35:33 +08:00
YunYouJun 7c947ac7a4 feat: add usePostList & usePrevNext 2022-03-26 00:40:19 +08:00
YunYouJun bc2892a82e feat: add category & tags & excerpt 2022-03-25 01:49:24 +08:00
YunYouJun 603e54e520 feat: add copyright & post meta 2022-03-24 03:10:42 +08:00
YunYouJun e9be947a7e feat: basic toc & post layout 2022-03-23 00:33:31 +08:00
YunYouJun e85e54dc6f feat: complete post list & post layout 2022-03-22 13:06:34 +08:00
YunYouJun 34a80052cf feat: watch icon name to generate safelist 2022-03-21 03:30:53 +08:00
YunYouJun 26b2e82700 feat: add i18n & fix watch theme folder 2022-03-19 01:29:26 +08:00
YunYouJun cda6e9ad54 refactor: rename theme-yun to valaxy-theme-yun 2022-03-18 02:23:22 +08:00
YunYouJun dcd1139e4d feat: add netlify.toml to build 2022-03-17 03:03:18 +08:00
YunYouJun bb647b02e1 ci: add pnpm-lock.yaml for actions 2022-03-17 01:53:09 +08:00