Skip to content

Commit

Permalink
release: v0.15.10
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Oct 21, 2023
1 parent 3e2026c commit d95841f
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 23 deletions.
33 changes: 17 additions & 16 deletions demo/yun/components/YunWaline.vue
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
<script lang="ts" setup>
import type { WalineInitOptions } from '@waline/client'
import consola from 'consola'
// import consola from 'consola'
const customOptions: WalineInitOptions = {
serverURL: 'https://waline.yunyoujun.cn',
pageview: true,
comment: true,
imageUploader: (file) => {
consola.info('Upload file: ', file)
// imageUploader: (file) => {
// consola.info('Upload file: ', file)
const formData = new FormData()
const headers = new Headers()
// const formData = new FormData()
// const headers = new Headers()
formData.append('file', file)
headers.append('Authorization', '!{API TOKEN}')
headers.append('Accept', 'application/json')
// formData.append('file', file)
// headers.append('Authorization', '!{API TOKEN}')
// headers.append('Accept', 'application/json')
return fetch('!{API URL}', {
method: 'POST',
headers,
body: formData,
})
.then(resp => resp.json())
.then(resp => resp.data.links.url)
},
// return fetch('!{API URL}', {
// method: 'POST',
// headers,
// body: formData,
// })
// .then(resp => resp.json())
// .then(resp => resp.data.links.url)
// },
}
</script>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@valaxyjs/monorepo",
"type": "module",
"version": "0.15.9",
"version": "0.15.10",
"private": true,
"packageManager": "[email protected]",
"description": "📄 Vite & Vue powered static blog generator.",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-valaxy/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-valaxy",
"type": "module",
"version": "0.15.9",
"version": "0.15.10",
"description": "Create Starter Template for Valaxy",
"author": {
"email": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-valaxy/template-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"serve": "vite preview"
},
"dependencies": {
"valaxy": "0.15.9",
"valaxy-theme-yun": "0.15.9"
"valaxy": "0.15.10",
"valaxy-theme-yun": "0.15.10"
},
"devDependencies": {
"typescript": "^5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/valaxy-theme-press/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valaxy-theme-press",
"version": "0.15.9",
"version": "0.15.10",
"description": "Docs Theme for Valaxy",
"author": {
"email": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion packages/valaxy-theme-yun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valaxy-theme-yun",
"version": "0.15.9",
"version": "0.15.10",
"author": {
"email": "[email protected]",
"name": "YunYouJun",
Expand Down
2 changes: 1 addition & 1 deletion packages/valaxy/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "valaxy",
"type": "module",
"version": "0.15.9",
"version": "0.15.10",
"description": "📄 Vite & Vue powered static blog generator.",
"author": {
"email": "[email protected]",
Expand Down

2 comments on commit d95841f

@vercel
Copy link

@vercel vercel bot commented on d95841f Oct 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://yun.valaxy.site as production
🚀 Deployed on https://65340d58d9bdce4d1a8c9369--valaxy.netlify.app

Please sign in to comment.