Skip to content

Commit 3a90b75

Browse files
authored
Merge pull request #113 from terwer/release-please--branches--main--components--release-please-action
chore(main): release 1.5.0
2 parents 813e34c + 3c628d9 commit 3a90b75

File tree

5 files changed

+15
-30
lines changed

5 files changed

+15
-30
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Changelog
22

3-
## [1.4.0](https://github.com/terwer/siyuan-plugin-blog/compare/v1.3.0...v1.4.0) (2023-06-21)
3+
## [1.5.0](https://github.com/terwer/siyuan-plugin-blog/compare/v1.4.0...v1.5.0) (2023-06-21)
44
### Features
5+
* 支持内部链接和外部链接 ([605abd8](https://github.com/terwer/siyuan-plugin-blog/commit/605abd89bdf7edd9762586ce30d00dd3241069c7))
6+
* 支持任务列表
7+
* 增加打开主页链接
8+
## [1.4.0](https://github.com/terwer/siyuan-plugin-blog/compare/v1.3.0...v1.4.0) (2023-06-21)
59
* 支持设置自定义域名 ([bf17949](https://github.com/terwer/siyuan-plugin-blog/commit/bf179498a893c156511478dd7ccd46aa9728f09c))
610
### Bug Fixes
711
* 修复未打开浮窗时可能出现的报错问题 ([f379a9d](https://github.com/terwer/siyuan-plugin-blog/commit/f379a9d5ddae19b30a98865d227162ec9255d0c8))

nuxt.config.ts

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const generateDynamicV = () => {
99
}
1010

1111
const isDev = process.env.NODE_ENV === "development"
12-
const appBase = "/plugins/siyuan-blog/"
12+
const appBase = "/"
1313
const staticV = generateDynamicV()
1414

1515
// https://nuxt.com/docs/api/configuration/nuxt-config
@@ -24,14 +24,7 @@ export default defineNuxtConfig({
2424
},
2525

2626
// build modules
27-
modules: [
28-
"@vueuse/nuxt",
29-
"@nuxtjs/i18n-edge",
30-
"@element-plus/nuxt",
31-
"@nuxtjs/color-mode",
32-
"@pinia/nuxt",
33-
"@nuxt/image",
34-
],
27+
modules: ["@vueuse/nuxt", "@nuxtjs/i18n", "@element-plus/nuxt", "@nuxtjs/color-mode", "@pinia/nuxt", "@nuxt/image"],
3528

3629
// vueuse
3730
vueuse: {
@@ -54,7 +47,7 @@ export default defineNuxtConfig({
5447
define: {
5548
"process.env.DEV_MODE": `"${isDev}"`,
5649
"process.env.APP_BASE": `"${appBase}"`,
57-
"process.env.SSR": `"false"`,
50+
"process.env.SSR": `"true"`,
5851
},
5952
plugins: [],
6053
},
@@ -65,14 +58,6 @@ export default defineNuxtConfig({
6558
themes: ["dark"],
6659
},
6760

68-
// https://nuxt.com/docs/guide/going-further/custom-routing#hash-mode-spa
69-
ssr: false,
70-
router: {
71-
options: {
72-
hashMode: true,
73-
},
74-
},
75-
7661
css: ["~/assets/siyuan/style.styl", "~/assets/siyuan/index.styl"],
7762

7863
app: {
@@ -109,15 +94,11 @@ export default defineNuxtConfig({
10994

11095
// 环境变量
11196
runtimeConfig: {
112-
// siyuanAuthToken: process.env.NUXT_SIYUAN_AUTH_TOKEN,
113-
siyuanAuthToken: "",
97+
siyuanAuthToken: process.env.NUXT_SIYUAN_AUTH_TOKEN,
11498
public: {
115-
// defaultType: process.env.NUXT_PUBLIC_DEFAULT_TYPE,
116-
defaultType: "siyuan",
117-
// siyuanApiUrl: process.env.NUXT_PUBLIC_SIYUAN_API_URL,
118-
siyuanApiUrl: "",
119-
// waitTime: process.env.NUXT_PUBLIC_WAIT_TIME,
120-
waitTime: "0",
99+
defaultType: process.env.NUXT_PUBLIC_DEFAULT_TYPE ?? "siyuan",
100+
siyuanApiUrl: process.env.NUXT_PUBLIC_SIYUAN_API_URL ?? "http://127.0.0.1:6806",
101+
waitTime: process.env.NUXT_PUBLIC_WAIT_TIME,
121102
},
122103
},
123104
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "siyuan-blog",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "The notions sharing function you want is here too",
55
"type": "module",
66
"scripts": {

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "siyuan-blog",
33
"author": "terwer",
44
"url": "https://github.com/terwer/siyuan-plugin-blog",
5-
"version": "1.4.0",
5+
"version": "1.5.0",
66
"minAppVersion": "2.9.0",
77
"backends": [
88
"windows",

scripts/docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# 使用 Docker 构建配置
44
echo "Using Docker build config as SSR build."
55

6-
APP_VERSION=1.4.0
6+
APP_VERSION=1.5.0
77

88
# 兼容 node 的构建
99
pnpm nodeBuild

0 commit comments

Comments
 (0)