create-valaxy 0.22.5-beta.0 → 0.22.5-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -1
  3. package/template-blog/package.json +2 -2
  4. package/template-blog/.valaxy/components.d.ts +0 -139
  5. package/template-blog/.valaxy/typed-router.d.ts +0 -34
  6. package/template-blog/dist/.vite/ssr-manifest.json +0 -12886
  7. package/template-blog/dist/404.html +0 -1
  8. package/template-blog/dist/_headers +0 -3
  9. package/template-blog/dist/about/site.html +0 -1
  10. package/template-blog/dist/about.html +0 -1
  11. package/template-blog/dist/archives.html +0 -1
  12. package/template-blog/dist/assets/404.BQMTQ_Of.js +0 -1
  13. package/template-blog/dist/assets/404.BVla_BTh.css +0 -1
  14. package/template-blog/dist/assets/404.COjC7JOp.js +0 -1
  15. package/template-blog/dist/assets/404.CdW3wZiw.js +0 -1
  16. package/template-blog/dist/assets/404.bv7ttf42.css +0 -1
  17. package/template-blog/dist/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
  18. package/template-blog/dist/assets/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
  19. package/template-blog/dist/assets/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
  20. package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
  21. package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
  22. package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
  23. package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
  24. package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
  25. package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
  26. package/template-blog/dist/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
  27. package/template-blog/dist/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
  28. package/template-blog/dist/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
  29. package/template-blog/dist/assets/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
  30. package/template-blog/dist/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
  31. package/template-blog/dist/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
  32. package/template-blog/dist/assets/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
  33. package/template-blog/dist/assets/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
  34. package/template-blog/dist/assets/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
  35. package/template-blog/dist/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
  36. package/template-blog/dist/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
  37. package/template-blog/dist/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
  38. package/template-blog/dist/assets/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
  39. package/template-blog/dist/assets/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
  40. package/template-blog/dist/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
  41. package/template-blog/dist/assets/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
  42. package/template-blog/dist/assets/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
  43. package/template-blog/dist/assets/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
  44. package/template-blog/dist/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
  45. package/template-blog/dist/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
  46. package/template-blog/dist/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
  47. package/template-blog/dist/assets/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
  48. package/template-blog/dist/assets/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
  49. package/template-blog/dist/assets/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
  50. package/template-blog/dist/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
  51. package/template-blog/dist/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
  52. package/template-blog/dist/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
  53. package/template-blog/dist/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
  54. package/template-blog/dist/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
  55. package/template-blog/dist/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
  56. package/template-blog/dist/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
  57. package/template-blog/dist/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
  58. package/template-blog/dist/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
  59. package/template-blog/dist/assets/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
  60. package/template-blog/dist/assets/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
  61. package/template-blog/dist/assets/KaTeX_Script-Regular.D5yQViql.woff +0 -0
  62. package/template-blog/dist/assets/KaTeX_Size1-Regular.C195tn64.woff +0 -0
  63. package/template-blog/dist/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf +0 -0
  64. package/template-blog/dist/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2 +0 -0
  65. package/template-blog/dist/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf +0 -0
  66. package/template-blog/dist/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2 +0 -0
  67. package/template-blog/dist/assets/KaTeX_Size2-Regular.oD1tc_U0.woff +0 -0
  68. package/template-blog/dist/assets/KaTeX_Size3-Regular.CTq5MqoE.woff +0 -0
  69. package/template-blog/dist/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf +0 -0
  70. package/template-blog/dist/assets/KaTeX_Size4-Regular.BF-4gkZK.woff +0 -0
  71. package/template-blog/dist/assets/KaTeX_Size4-Regular.DWFBv043.ttf +0 -0
  72. package/template-blog/dist/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2 +0 -0
  73. package/template-blog/dist/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff +0 -0
  74. package/template-blog/dist/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2 +0 -0
  75. package/template-blog/dist/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf +0 -0
  76. package/template-blog/dist/assets/ValaxyMain.BHXg_53O.css +0 -1
  77. package/template-blog/dist/assets/ValaxyMain.vue_vue_type_style_index_0_lang.GF56VfAK.js +0 -4
  78. package/template-blog/dist/assets/YunAlgoliaSearch.CGLcEs-8.js +0 -1
  79. package/template-blog/dist/assets/YunComment.BL40W_Hn.css +0 -1
  80. package/template-blog/dist/assets/YunComment.vue_vue_type_style_index_0_lang.D96eor6Z.js +0 -1
  81. package/template-blog/dist/assets/YunGallery.DpuIKv74.js +0 -1
  82. package/template-blog/dist/assets/YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js +0 -1
  83. package/template-blog/dist/assets/YunPostCollapse.CLDXGmA8.css +0 -1
  84. package/template-blog/dist/assets/YunPostCollapse.vue_vue_type_style_index_0_lang.BDOzPdAI.js +0 -1
  85. package/template-blog/dist/assets/YunPostList.BfWGcc9d.css +0 -1
  86. package/template-blog/dist/assets/YunPostList.vue_vue_type_script_setup_true_lang.eA57GRPM.js +0 -1
  87. package/template-blog/dist/assets/YunPostMeta.DCrVMfuT.css +0 -1
  88. package/template-blog/dist/assets/YunPostMeta.vue_vue_type_style_index_0_lang.kGr0Mwvt.js +0 -1
  89. package/template-blog/dist/assets/YunSponsor.BJOC5yvc.css +0 -1
  90. package/template-blog/dist/assets/YunSponsor.vue_vue_type_style_index_0_lang.DXMLu2ja.js +0 -1
  91. package/template-blog/dist/assets/_...path_.21n1QfBG.js +0 -1
  92. package/template-blog/dist/assets/_page_.CbwGuB0C.js +0 -1
  93. package/template-blog/dist/assets/albums.B4t_Ao0K.js +0 -1
  94. package/template-blog/dist/assets/albums.B673jvUl.css +0 -1
  95. package/template-blog/dist/assets/animation.CoxzA1iL.js +0 -25
  96. package/template-blog/dist/assets/animation.HEYJ8NQD.js +0 -1
  97. package/template-blog/dist/assets/app.DEdTPrqj.css +0 -1
  98. package/template-blog/dist/assets/app.DdNQbQcf.js +0 -179
  99. package/template-blog/dist/assets/archives.BJseIPdh.js +0 -1
  100. package/template-blog/dist/assets/back.BCEwbEbk.js +0 -1
  101. package/template-blog/dist/assets/bg-img.kXdNMxcF.jpg +0 -0
  102. package/template-blog/dist/assets/categories.o32SQiTl.js +0 -1
  103. package/template-blog/dist/assets/chunks/@vueuse/motion.Cu3FxAjX.js +0 -1
  104. package/template-blog/dist/assets/chunks/dayjs.Byk5cVHE.js +0 -1
  105. package/template-blog/dist/assets/chunks/nprogress.D5YWUqdw.js +0 -2
  106. package/template-blog/dist/assets/chunks/pinia.BZCK5L1u.js +0 -5
  107. package/template-blog/dist/assets/chunks/vue-i18n.BJCfcYj0.js +0 -19
  108. package/template-blog/dist/assets/chunks/vue-router.iBpRWtK4.js +0 -6
  109. package/template-blog/dist/assets/collection.Ckb3clU2.js +0 -1
  110. package/template-blog/dist/assets/collections.BP5MVOJY.js +0 -1
  111. package/template-blog/dist/assets/empty.DqpoVTRu.js +0 -1
  112. package/template-blog/dist/assets/framework.DTsYX98Z.js +0 -18
  113. package/template-blog/dist/assets/gallery.CMbHzHw3.js +0 -2
  114. package/template-blog/dist/assets/hello-valaxy.BRLAkNks.js +0 -1
  115. package/template-blog/dist/assets/home.BJC4odsr.css +0 -1
  116. package/template-blog/dist/assets/home.CZOjCxWv.js +0 -1
  117. package/template-blog/dist/assets/index.BXCNz9_b.js +0 -1
  118. package/template-blog/dist/assets/index.C5okkQwF.js +0 -1
  119. package/template-blog/dist/assets/index.CL1DdHkf.js +0 -1
  120. package/template-blog/dist/assets/index.CTbEHs38.js +0 -1
  121. package/template-blog/dist/assets/index.DaigOlRp.js +0 -1
  122. package/template-blog/dist/assets/index.DfXt1eUW.css +0 -1
  123. package/template-blog/dist/assets/index.DkC-Pgj1.js +0 -1
  124. package/template-blog/dist/assets/index.DoisJ1U_.js +0 -1
  125. package/template-blog/dist/assets/index.OFtDVdUU.js +0 -1
  126. package/template-blog/dist/assets/index.ufZ0mfh0.js +0 -1
  127. package/template-blog/dist/assets/index.x8TNrC4q.js +0 -1
  128. package/template-blog/dist/assets/none.DLM1AMsD.jpg +0 -0
  129. package/template-blog/dist/assets/post.Ct0b7r_k.js +0 -1
  130. package/template-blog/dist/assets/post.DDxwAI70.css +0 -1
  131. package/template-blog/dist/assets/post.DqpoVTRu.js +0 -1
  132. package/template-blog/dist/assets/post.sHPO3XkC.js +0 -1
  133. package/template-blog/dist/assets/posts.DamUovhw.js +0 -1
  134. package/template-blog/dist/assets/projects.CSgHBlnO.js +0 -1
  135. package/template-blog/dist/assets/projects.Dti-qd8N.css +0 -1
  136. package/template-blog/dist/assets/sidebar-bg-img.mp54gEws.webp +0 -0
  137. package/template-blog/dist/assets/site.Dg_HdDiW.js +0 -1
  138. package/template-blog/dist/assets/tags.DrGfAO4R.js +0 -1
  139. package/template-blog/dist/assets/view-transition.IkvUpX_n.css +0 -1
  140. package/template-blog/dist/atom.xml +0 -36
  141. package/template-blog/dist/categories.html +0 -1
  142. package/template-blog/dist/favicon.svg +0 -33
  143. package/template-blog/dist/feed.json +0 -26
  144. package/template-blog/dist/feed.xml +0 -31
  145. package/template-blog/dist/index.html +0 -1
  146. package/template-blog/dist/links.html +0 -1
  147. package/template-blog/dist/page.html +0 -1
  148. package/template-blog/dist/posts/hello-valaxy.html +0 -1
  149. package/template-blog/dist/posts.html +0 -1
  150. package/template-blog/dist/pwa-192x192.png +0 -0
  151. package/template-blog/dist/pwa-512x512.png +0 -0
  152. package/template-blog/dist/robots.txt +0 -4
  153. package/template-blog/dist/safari-pinned-tab.svg +0 -41
  154. package/template-blog/dist/sitemap.xml +0 -1
  155. package/template-blog/dist/tags.html +0 -1
  156. package/template-blog/dist/valaxy-fuse-list.json +0 -1
  157. package/template-blog/public/atom.xml +0 -36
  158. package/template-blog/public/feed.json +0 -26
  159. package/template-blog/public/feed.xml +0 -31
  160. package/template-blog/public/valaxy-fuse-list.json +0 -1
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import a from"node:fs";import l from"node:path";import C from"node:process";import{fileURLToPath as B}from"node:url";import{execa as N}from"execa";import{dim as m,gray as H,blue as u,yellow as f,bold as T,green as g,cyan as v,red as E,reset as S}from"kolorist";import Q from"minimist";import $ from"prompts";const W="0.22.5-beta.0",F={name:"starter",display:"Starter",repo:"https://github.com/valaxyjs/valaxy-theme-starter"};async function q(e){const o=F.name;let n=e.themeName||o;if(!n){const{theme:r}=await $({type:"text",name:"theme",message:"Theme name: valaxy-theme-",initial:o});n=r||o}const p=`valaxy-theme-${n.trim()}`;return console.log(` ${m("npx")} ${H("degit")} ${u(F.repo)} ${f(p)}`),await N("npx",["degit",F.repo,p],{stdio:"inherit"}),console.log(),console.log(` ${T("Check it")}:`),console.log(),console.log(`- Change ${T("author")} name in ${f("LICENSE")} & ${g("package.json")} & ${u(".github")}`),console.log(`- Change ${u("valaxy.config.ts")} theme: ${f("starter")} to ${v(`${n}`)}`),console.log(`- Rename ${f(`valaxy-theme-${n}`)} to ${v(`valaxy-theme-${n}`)}`),console.log(),console.log(` ${v("\u2728")}`),console.log(),`valaxy-theme-${n}`}const G={_gitignore:".gitignore",_npmrc:".npmrc"},_=[{name:"blog",display:"Blog",desc:"For Most Users",message:"Project name:",initial:"valaxy-blog",color:v},{name:"theme",display:"Theme",desc:"For Theme Developers",message:"Theme name: valaxy-theme-",initial:"starter",prefix:"valaxy-theme-",color:g,customInit:async e=>q(e).catch(o=>{console.error(o)})},{name:"addon",display:"Addon",desc:"For Addon Developers",message:"Addon name: valaxy-addon-",initial:"template",prefix:"valaxy-addon-",color:f}],L=_.map(e=>e.name);function z(e){return e?.trim().replace(/\/+$/g,"")}function K(e){const o=a.readdirSync(e);return o.length===0||o.length===1&&o[0]===".git"}function O(e,o){a.statSync(e).isDirectory()?X(e,o):a.copyFileSync(e,o)}function X(e,o){a.mkdirSync(o,{recursive:!0});for(const n of a.readdirSync(e)){const p=l.resolve(e,n),r=l.resolve(o,n);O(p,r)}}function Z(e){if(console.log(`
1
+ import a from"node:fs";import l from"node:path";import C from"node:process";import{fileURLToPath as B}from"node:url";import{execa as N}from"execa";import{dim as m,gray as H,blue as u,yellow as f,bold as T,green as g,cyan as v,red as E,reset as S}from"kolorist";import Q from"minimist";import $ from"prompts";const W="0.22.5-beta.5",F={name:"starter",display:"Starter",repo:"https://github.com/valaxyjs/valaxy-theme-starter"};async function q(e){const o=F.name;let n=e.themeName||o;if(!n){const{theme:r}=await $({type:"text",name:"theme",message:"Theme name: valaxy-theme-",initial:o});n=r||o}const p=`valaxy-theme-${n.trim()}`;return console.log(` ${m("npx")} ${H("degit")} ${u(F.repo)} ${f(p)}`),await N("npx",["degit",F.repo,p],{stdio:"inherit"}),console.log(),console.log(` ${T("Check it")}:`),console.log(),console.log(`- Change ${T("author")} name in ${f("LICENSE")} & ${g("package.json")} & ${u(".github")}`),console.log(`- Change ${u("valaxy.config.ts")} theme: ${f("starter")} to ${v(`${n}`)}`),console.log(`- Rename ${f(`valaxy-theme-${n}`)} to ${v(`valaxy-theme-${n}`)}`),console.log(),console.log(` ${v("\u2728")}`),console.log(),`valaxy-theme-${n}`}const G={_gitignore:".gitignore",_npmrc:".npmrc"},_=[{name:"blog",display:"Blog",desc:"For Most Users",message:"Project name:",initial:"valaxy-blog",color:v},{name:"theme",display:"Theme",desc:"For Theme Developers",message:"Theme name: valaxy-theme-",initial:"starter",prefix:"valaxy-theme-",color:g,customInit:async e=>q(e).catch(o=>{console.error(o)})},{name:"addon",display:"Addon",desc:"For Addon Developers",message:"Addon name: valaxy-addon-",initial:"template",prefix:"valaxy-addon-",color:f}],L=_.map(e=>e.name);function z(e){return e?.trim().replace(/\/+$/g,"")}function K(e){const o=a.readdirSync(e);return o.length===0||o.length===1&&o[0]===".git"}function O(e,o){a.statSync(e).isDirectory()?X(e,o):a.copyFileSync(e,o)}function X(e,o){a.mkdirSync(o,{recursive:!0});for(const n of a.readdirSync(e)){const p=l.resolve(e,n),r=l.resolve(o,n);O(p,r)}}function Z(e){if(console.log(`
2
2
  ${E("Removing")} ${m(e)}`),!!a.existsSync(e))for(const o of a.readdirSync(e))o!==".git"&&a.rmSync(l.resolve(e,o),{recursive:!0,force:!0})}function R(e){return/^(?:@[a-z\d\-*~][a-z\d\-*._~]*\/)?[a-z\d\-~][a-z\d\-._~]*$/.test(e)}function M(e){return e.trim().toLowerCase().replace(/\s+/g,"-").replace(/^[._]/,"").replace(/[^a-z\d\-~]+/g,"-")}function ee(e){if(!e)return;const o=e.split(" ")[0].split("/");return{name:o[0],version:o[1]}}const d=Q(C.argv.slice(2)),P=C.cwd(),oe="valaxy-blog",te=B(import.meta.url);async function ne(){console.log(),console.log(` ${T("\u{1F30C} Valaxy")} ${u(`v${W}`)}`),console.log();const e=z(d._[0]),o=d.template||d.t,n=d.y||d.yes,p=d.port||d.p;let r=e||oe;const h=()=>r==="."?l.basename(l.resolve()):r;let k,i=_[0];if(n)k={projectName:r,overwrite:!1,packageName:M(h())};else{i=(await $({type:o&&L.includes(o)?null:"select",name:"template",message:typeof o=="string"&&!L.includes(o)?S(`"${o}" isn't a valid template. Please choose from below: `):S("Select a type:"),initial:0,choices:_.map(t=>{const c=t.color;return{title:c(t.display||t.name)+m(` - ${t.desc}`),value:t}})})).template;try{k=await $([{type:e?null:"text",name:"projectName",message:S(i.message),initial:i.initial,onState:t=>{r=z(i.prefix?i.prefix+t.value:t.value)||i.initial}},{type:()=>!a.existsSync(r)||K(r)?null:"confirm",name:"overwrite",message:()=>`${r==="."?"Current directory":`Target directory "${r}"`} is not empty. Remove existing files and continue?`},{type:(t,{overwrite:c})=>{if(c===!1)throw new Error(`${E("\u2716")} Operation cancelled`);return null},name:"overwriteChecker"},{type:()=>R(h())?null:"text",name:"packageName",message:S("Package name:"),initial:()=>M(h()),validate:t=>R(t)||"Invalid package.json name"}],{onCancel:()=>{throw new Error(`${E("\u2716")} Operation cancelled`)}})}catch(t){console.log(t.message);return}}const{projectName:x,overwrite:U}=k,V=i.prefix?i.prefix+x:x,s=l.join(P,V);if(U?Z(s):a.existsSync(s)||a.mkdirSync(s,{recursive:!0}),i.customInit)await i.customInit({themeName:x});else{const t=l.resolve(te,"../..",`template-${i.name}`),c=(y,w)=>{const A=l.join(s,G[y]??y);w?a.writeFileSync(A,w):O(l.join(t,y),A)},Y=a.readdirSync(t);for(const y of Y.filter(w=>w!=="package.json"))c(y);const I=JSON.parse(a.readFileSync(l.join(t,"package.json"),"utf-8"));I.name=x||h(),c("package.json",`${JSON.stringify(I,null,2)}
3
3
  `)}console.log(` ${m("\u{1F4C1}")} ${m(s)}`),console.log(),console.log(m(" Scaffolding project in ")+r+m(" ..."));const D=ee(C.env.npm_config_user_agent),j=D?D.name:"npm",J=l.relative(P,s);if(console.log(g(` Done.
4
4
  `)),i.name==="addon")return;let b;if(n?b=!1:{yes:b}=await $({type:"confirm",name:"yes",initial:"Y",message:"Install and start it now?"}),b){let t;if(n?t="pnpm":{agent:t}=await $({name:"agent",type:"select",message:"Choose the agent",choices:["npm","yarn","pnpm"].map(c=>({value:c,title:c})),initial:2}),!t)return;await N(t,["install"],{stdio:"inherit",cwd:s}),await N(t,p?["run","dev","--port",p]:["run","dev"],{stdio:"inherit",cwd:s})}else{switch(console.log(m(`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-valaxy",
3
3
  "type": "module",
4
- "version": "0.22.5-beta.0",
4
+ "version": "0.22.5-beta.5",
5
5
  "description": "Create Starter Template for Valaxy",
6
6
  "author": {
7
7
  "email": "me@yunyoujun.cn",
@@ -36,6 +36,7 @@
36
36
  "@types/minimist": "^1.2.5"
37
37
  },
38
38
  "scripts": {
39
+ "clean": "rimraf dist",
39
40
  "build": "unbuild",
40
41
  "dev": "unbuild --stub",
41
42
  "release": "bumpp --no-commit --no-tag --no-push && pnpm publish --no-git-checks --tag beta",
@@ -12,8 +12,8 @@
12
12
  "serve": "vite preview"
13
13
  },
14
14
  "dependencies": {
15
- "valaxy": "0.22.4",
16
- "valaxy-theme-yun": "0.22.4"
15
+ "valaxy": "0.22.5-beta.5",
16
+ "valaxy-theme-yun": "0.22.5-beta.5"
17
17
  },
18
18
  "devDependencies": {
19
19
  "typescript": "^5.7.2"
@@ -1,139 +0,0 @@
1
- /* eslint-disable */
2
- // @ts-nocheck
3
- // Generated by unplugin-vue-components
4
- // Read more: https://github.com/vuejs/core/pull/3399
5
- export {}
6
-
7
- /* prettier-ignore */
8
- declare module 'vue' {
9
- export interface GlobalComponents {
10
- AppLink: typeof import('./../../../valaxy/client/components/AppLink.vue')['default']
11
- LineBurstEffects: typeof import('./../../../valaxy-theme-yun/components/animation/LineBurstEffects.vue')['default']
12
- PrologueSocialIcon: typeof import('./../../../valaxy-theme-yun/components/prologue/PrologueSocialIcon.vue')['default']
13
- PrologueSocialLinks: typeof import('./../../../valaxy-theme-yun/components/prologue/PrologueSocialLinks.vue')['default']
14
- README: typeof import('./../components/README.md')['default']
15
- RouterLink: typeof import('vue-router')['RouterLink']
16
- RouterView: typeof import('vue-router')['RouterView']
17
- ShadowRoot: typeof import('./../../../valaxy/client/components/internals/ShadowRoot.vue')['default']
18
- ValaxyAddons: typeof import('./../../../valaxy/client/components/ValaxyAddons.vue')['default']
19
- ValaxyApp: typeof import('./../../../valaxy/client/components/ValaxyApp.vue')['default']
20
- ValaxyCopyright: typeof import('./../../../valaxy/client/components/ValaxyCopyright.vue')['default']
21
- ValaxyDecrypt: typeof import('./../../../valaxy/client/components/ValaxyDecrypt.vue')['default']
22
- ValaxyFootnoteTooltip: typeof import('./../../../valaxy/client/components/ValaxyFootnoteTooltip.vue')['default']
23
- ValaxyGalleryDecrypt: typeof import('./../../../valaxy/client/components/ValaxyGalleryDecrypt.vue')['default']
24
- ValaxyHamburger: typeof import('./../../../valaxy/client/components/ValaxyHamburger.vue')['default']
25
- ValaxyLogo: typeof import('./../../../valaxy/client/components/ValaxyLogo.vue')['default']
26
- ValaxyMain: typeof import('./../../../valaxy-theme-yun/components/ValaxyMain.vue')['default']
27
- ValaxyMd: typeof import('./../../../valaxy/client/components/ValaxyMd.vue')['default']
28
- ValaxyMermaid: typeof import('./../../../valaxy/client/components/builtin/ValaxyMermaid.vue')['default']
29
- ValaxyOverlay: typeof import('./../../../valaxy/client/components/ValaxyOverlay.vue')['default']
30
- ValaxyPagination: typeof import('./../../../valaxy/client/components/ValaxyPagination.vue')['default']
31
- ValaxySvgLogo: typeof import('./../../../valaxy/client/components/ValaxySvgLogo.vue')['default']
32
- YunAdBoard: typeof import('./../../../valaxy-theme-yun/components/YunAdBoard.vue')['default']
33
- YunAEFrame: typeof import('./../../../valaxy-theme-yun/components/prologue/YunAEFrame.vue')['default']
34
- YunAERect: typeof import('./../../../valaxy-theme-yun/components/prologue/YunAERect.vue')['default']
35
- YunAiExcerpt: typeof import('./../../../valaxy-theme-yun/components/YunAiExcerpt.vue')['default']
36
- YunAlbum: typeof import('./../../../valaxy-theme-yun/components/YunAlbum.vue')['default']
37
- YunAlbumList: typeof import('./../../../valaxy-theme-yun/components/YunAlbumList.vue')['default']
38
- YunAlgoliaSearch: typeof import('./../../../valaxy-theme-yun/components/third/YunAlgoliaSearch.vue')['default']
39
- YunAnimLineDraw: typeof import('./../../../valaxy-theme-yun/components/animation/YunAnimLineDraw.vue')['default']
40
- YunArtalk: typeof import('./../../../valaxy-theme-yun/components/third/YunArtalk.vue')['default']
41
- YunAside: typeof import('./../../../valaxy-theme-yun/components/YunAside.vue')['default']
42
- YunAuthorAvatar: typeof import('./../../../valaxy-theme-yun/components/author/YunAuthorAvatar.vue')['default']
43
- YunAuthorIntro: typeof import('./../../../valaxy-theme-yun/components/author/YunAuthorIntro.vue')['default']
44
- YunAuthorName: typeof import('./../../../valaxy-theme-yun/components/author/YunAuthorName.vue')['default']
45
- YunBackToTop: typeof import('./../../../valaxy-theme-yun/components/YunBackToTop.vue')['default']
46
- YunBanner: typeof import('./../../../valaxy-theme-yun/components/YunBanner.vue')['default']
47
- YunBannerCharContainer: typeof import('./../../../valaxy-theme-yun/components/ui/YunBannerCharContainer.vue')['default']
48
- YunBg: typeof import('./../../../valaxy-theme-yun/components/YunBg.vue')['default']
49
- YunCard: typeof import('./../../../valaxy-theme-yun/components/YunCard.vue')['default']
50
- YunCategories: typeof import('./../../../valaxy-theme-yun/components/YunCategories.vue')['default']
51
- YunCategory: typeof import('./../../../valaxy-theme-yun/components/YunCategory.vue')['default']
52
- YunCategoryChildItem: typeof import('./../../../valaxy-theme-yun/components/YunCategoryChildItem.vue')['default']
53
- YunClassifyPopover: typeof import('./../../../valaxy-theme-yun/components/YunClassifyPopover.vue')['default']
54
- YunCloud: typeof import('./../../../valaxy-theme-yun/components/YunCloud.vue')['default']
55
- YunCollectionItem: typeof import('./../../../valaxy-theme-yun/components/collection/YunCollectionItem.vue')['default']
56
- YunComment: typeof import('./../../../valaxy-theme-yun/components/YunComment.vue')['default']
57
- YunConfig: typeof import('./../../../valaxy-theme-yun/components/YunConfig.vue')['default']
58
- YunDebug: typeof import('./../../../valaxy-theme-yun/components/YunDebug.vue')['default']
59
- YunDivider: typeof import('./../../../valaxy-theme-yun/components/ui/YunDivider.vue')['default']
60
- YunDock: typeof import('./../../../valaxy-theme-yun/components/YunDock.vue')['default']
61
- YunExcerptBottomGradient: typeof import('./../../../valaxy-theme-yun/components/ui/YunExcerptBottomGradient.vue')['default']
62
- YunFireworks: typeof import('./../../../valaxy-theme-yun/components/YunFireworks.vue')['default']
63
- YunFooter: typeof import('./../../../valaxy-theme-yun/components/YunFooter.vue')['default']
64
- YunFullscreenMenu: typeof import('./../../../valaxy-theme-yun/components/YunFullscreenMenu.vue')['default']
65
- YunFullscreenMenuItem: typeof import('./../../../valaxy-theme-yun/components/site/YunFullscreenMenuItem.vue')['default']
66
- YunFullscreenMenuList: typeof import('./../../../valaxy-theme-yun/components/site/YunFullscreenMenuList.vue')['default']
67
- YunFuseSearch: typeof import('./../../../valaxy-theme-yun/components/YunFuseSearch.vue')['default']
68
- YunGallery: typeof import('./../../../valaxy-theme-yun/components/YunGallery.vue')['default']
69
- YunGirlItem: typeof import('./../../../valaxy-theme-yun/components/YunGirlItem.vue')['default']
70
- YunGirls: typeof import('./../../../valaxy-theme-yun/components/YunGirls.vue')['default']
71
- YunGoDown: typeof import('./../../../valaxy-theme-yun/components/YunGoDown.vue')['default']
72
- YunGradientDivider: typeof import('./../../../valaxy-theme-yun/components/ui/YunGradientDivider.vue')['default']
73
- YunLayoutLeft: typeof import('./../../../valaxy-theme-yun/components/layout/YunLayoutLeft.vue')['default']
74
- YunLayoutPostTag: typeof import('./../../../valaxy-theme-yun/components/YunLayoutPostTag.vue')['default']
75
- YunLayoutRight: typeof import('./../../../valaxy-theme-yun/components/layout/YunLayoutRight.vue')['default']
76
- YunLayoutWrapper: typeof import('./../../../valaxy-theme-yun/components/layout/YunLayoutWrapper.vue')['default']
77
- YunLinkItem: typeof import('./../../../valaxy-theme-yun/components/YunLinkItem.vue')['default']
78
- YunLinks: typeof import('./../../../valaxy-theme-yun/components/YunLinks.vue')['default']
79
- YunLoading: typeof import('./../../../valaxy-theme-yun/components/YunLoading.vue')['default']
80
- YunMdTimeWarning: typeof import('./../../../valaxy-theme-yun/components/YunMdTimeWarning.vue')['default']
81
- YunNavMenu: typeof import('./../../../valaxy-theme-yun/components/YunNavMenu.vue')['default']
82
- YunNavMenuItem: typeof import('./../../../valaxy-theme-yun/components/menu/YunNavMenuItem.vue')['default']
83
- YunNavMenuTitle: typeof import('./../../../valaxy-theme-yun/components/menu/YunNavMenuTitle.vue')['default']
84
- YunNimboBanner: typeof import('./../../../valaxy-theme-yun/components/theme/nimbo/YunNimboBanner.vue')['default']
85
- YunNimboNavMenu: typeof import('./../../../valaxy-theme-yun/components/theme/nimbo/YunNimboNavMenu.vue')['default']
86
- YunNotice: typeof import('./../../../valaxy-theme-yun/components/YunNotice.vue')['default']
87
- YunOutline: typeof import('./../../../valaxy-theme-yun/components/YunOutline.vue')['default']
88
- YunOutlineItem: typeof import('./../../../valaxy-theme-yun/components/YunOutlineItem.vue')['default']
89
- YunOverlay: typeof import('./../../../valaxy-theme-yun/components/YunOverlay.vue')['default']
90
- YunOverview: typeof import('./../../../valaxy-theme-yun/components/YunOverview.vue')['default']
91
- YunPageHeader: typeof import('./../../../valaxy-theme-yun/components/YunPageHeader.vue')['default']
92
- YunPageHeaderGradient: typeof import('./../../../valaxy-theme-yun/components/page/YunPageHeaderGradient.vue')['default']
93
- YunPagination: typeof import('./../../../valaxy-theme-yun/components/YunPagination.vue')['default']
94
- YunPostCard: typeof import('./../../../valaxy-theme-yun/components/YunPostCard.vue')['default']
95
- YunPostCategories: typeof import('./../../../valaxy-theme-yun/components/YunPostCategories.vue')['default']
96
- YunPostCategoriesAndTags: typeof import('./../../../valaxy-theme-yun/components/YunPostCategoriesAndTags.vue')['default']
97
- YunPostClassifyNavItem: typeof import('./../../../valaxy-theme-yun/components/menu/YunPostClassifyNavItem.vue')['default']
98
- YunPostCollapse: typeof import('./../../../valaxy-theme-yun/components/YunPostCollapse.vue')['default']
99
- YunPostCollapseItem: typeof import('./../../../valaxy-theme-yun/components/YunPostCollapseItem.vue')['default']
100
- YunPostDateMeta: typeof import('./../../../valaxy-theme-yun/components/YunPostDateMeta.vue')['default']
101
- YunPostList: typeof import('./../../../valaxy-theme-yun/components/YunPostList.vue')['default']
102
- YunPostMeta: typeof import('./../../../valaxy-theme-yun/components/YunPostMeta.vue')['default']
103
- YunPostNav: typeof import('./../../../valaxy-theme-yun/components/YunPostNav.vue')['default']
104
- YunPostsInfo: typeof import('./../../../valaxy-theme-yun/components/YunPostsInfo.vue')['default']
105
- YunPostTags: typeof import('./../../../valaxy-theme-yun/components/YunPostTags.vue')['default']
106
- YunProjectCard: typeof import('./../../../valaxy-theme-yun/components/project/YunProjectCard.vue')['default']
107
- YunProjectCollection: typeof import('./../../../valaxy-theme-yun/components/project/YunProjectCollection.vue')['default']
108
- YunProjectLinkItem: typeof import('./../../../valaxy-theme-yun/components/project/YunProjectLinkItem.vue')['default']
109
- YunProjects: typeof import('./../../../valaxy-theme-yun/components/project/YunProjects.vue')['default']
110
- YunProjectToggleButton: typeof import('./../../../valaxy-theme-yun/components/project/YunProjectToggleButton.vue')['default']
111
- YunPrologue: typeof import('./../../../valaxy-theme-yun/components/YunPrologue.vue')['default']
112
- YunPrologueSquare: typeof import('./../../../valaxy-theme-yun/components/prologue/YunPrologueSquare.vue')['default']
113
- YunSay: typeof import('./../../../valaxy-theme-yun/components/YunSay.vue')['default']
114
- YunSearchBtn: typeof import('./../../../valaxy-theme-yun/components/YunSearchBtn.vue')['default']
115
- YunSearchTrigger: typeof import('./../../../valaxy-theme-yun/components/YunSearchTrigger.vue')['default']
116
- YunSelect: typeof import('./../../../valaxy-theme-yun/components/YunSelect.vue')['default']
117
- YunSidebarCard: typeof import('./../../../valaxy-theme-yun/components/YunSidebarCard.vue')['default']
118
- YunSidebarLinks: typeof import('./../../../valaxy-theme-yun/components/YunSidebarLinks.vue')['default']
119
- YunSidebarNav: typeof import('./../../../valaxy-theme-yun/components/YunSidebarNav.vue')['default']
120
- YunSiteDescription: typeof import('./../../../valaxy-theme-yun/components/site/YunSiteDescription.vue')['default']
121
- YunSiteInfo: typeof import('./../../../valaxy-theme-yun/components/YunSiteInfo.vue')['default']
122
- YunSiteLinkItem: typeof import('./../../../valaxy-theme-yun/components/site/YunSiteLinkItem.vue')['default']
123
- YunSiteLinks: typeof import('./../../../valaxy-theme-yun/components/site/YunSiteLinks.vue')['default']
124
- YunSiteSubtitle: typeof import('./../../../valaxy-theme-yun/components/site/YunSiteSubtitle.vue')['default']
125
- YunSiteTitle: typeof import('./../../../valaxy-theme-yun/components/site/YunSiteTitle.vue')['default']
126
- YunSocialLinkItem: typeof import('./../../../valaxy-theme-yun/components/YunSocialLinkItem.vue')['default']
127
- YunSocialLinks: typeof import('./../../../valaxy-theme-yun/components/YunSocialLinks.vue')['default']
128
- YunSponsor: typeof import('./../../../valaxy-theme-yun/components/YunSponsor.vue')['default']
129
- YunStratoApp: typeof import('./../../../valaxy-theme-yun/components/theme/strato/YunStratoApp.vue')['default']
130
- YunStratoBanner: typeof import('./../../../valaxy-theme-yun/components/theme/strato/YunStratoBanner.vue')['default']
131
- YunStratoNavMenu: typeof import('./../../../valaxy-theme-yun/components/theme/strato/YunStratoNavMenu.vue')['default']
132
- YunStratoSidebar: typeof import('./../../../valaxy-theme-yun/components/theme/strato/YunStratoSidebar.vue')['default']
133
- YunToggleDark: typeof import('./../../../valaxy-theme-yun/components/config/YunToggleDark.vue')['default']
134
- YunToggleLocale: typeof import('./../../../valaxy-theme-yun/components/YunToggleLocale.vue')['default']
135
- YunTwikoo: typeof import('./../../../valaxy-theme-yun/components/third/YunTwikoo.vue')['default']
136
- YunWaline: typeof import('./../../../valaxy-theme-yun/components/third/YunWaline.vue')['default']
137
- YunWalineMeta: typeof import('./../../../valaxy-theme-yun/components/third/YunWalineMeta.vue')['default']
138
- }
139
- }
@@ -1,34 +0,0 @@
1
- /* eslint-disable */
2
- /* prettier-ignore */
3
- // @ts-nocheck
4
- // Generated by unplugin-vue-router. ‼️ DO NOT MODIFY THIS FILE ‼️
5
- // It's recommended to commit this file.
6
- // Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
7
-
8
- declare module 'vue-router/auto-routes' {
9
- import type {
10
- RouteRecordInfo,
11
- ParamValue,
12
- ParamValueOneOrMore,
13
- ParamValueZeroOrMore,
14
- ParamValueZeroOrOne,
15
- } from 'vue-router'
16
-
17
- /**
18
- * Route name map generated by unplugin-vue-router
19
- */
20
- export interface RouteNamedMap {
21
- '/': RouteRecordInfo<'/', '/', Record<never, never>, Record<never, never>>,
22
- '/[...path]': RouteRecordInfo<'/[...path]', '/:path(.*)', { path: ParamValue<true> }, { path: ParamValue<false> }>,
23
- '/404': RouteRecordInfo<'/404', '/404', Record<never, never>, Record<never, never>>,
24
- '/about/': RouteRecordInfo<'/about/', '/about', Record<never, never>, Record<never, never>>,
25
- '/about/site': RouteRecordInfo<'/about/site', '/about/site', Record<never, never>, Record<never, never>>,
26
- '/archives/': RouteRecordInfo<'/archives/', '/archives', Record<never, never>, Record<never, never>>,
27
- '/categories/': RouteRecordInfo<'/categories/', '/categories', Record<never, never>, Record<never, never>>,
28
- '/links/': RouteRecordInfo<'/links/', '/links', Record<never, never>, Record<never, never>>,
29
- '/page/[page]': RouteRecordInfo<'/page/[page]', '/page/:page', { page: ParamValue<true> }, { page: ParamValue<false> }>,
30
- '/posts/': RouteRecordInfo<'/posts/', '/posts', Record<never, never>, Record<never, never>>,
31
- '/posts/hello-valaxy': RouteRecordInfo<'/posts/hello-valaxy', '/posts/hello-valaxy', Record<never, never>, Record<never, never>>,
32
- '/tags/': RouteRecordInfo<'/tags/', '/tags', Record<never, never>, Record<never, never>>,
33
- }
34
- }