Skip to content

Commit 31efe78

Browse files
committed
chore: update docs tooling and deployment config
Align the docs workspace with the current ChatLuna release, refresh the GitHub Pages workflow, and remove tracked local editor settings from the repository.
1 parent b5e0935 commit 31efe78

File tree

5 files changed

+129
-134
lines changed

5 files changed

+129
-134
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

.cursor/settings.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
name: deploy
22

33
permissions:
4-
contents: write
5-
pages: write
6-
id-token: write
4+
contents: write
5+
pages: write
6+
id-token: write
77

88
concurrency:
9-
group: 'pages'
10-
cancel-in-progress: false
9+
group: "pages"
10+
cancel-in-progress: false
1111

1212
on:
13-
push:
14-
branches:
15-
- main
13+
push:
14+
branches:
15+
- main
1616

17-
workflow_dispatch:
17+
workflow_dispatch:
1818

1919
jobs:
20-
deploy:
21-
environment:
22-
name: github-pages
23-
url: ${{ steps.deployment.outputs.page_url }}
24-
runs-on: ubuntu-latest
25-
steps:
26-
- uses: actions/checkout@v4
27-
with:
28-
fetch-depth: 0
29-
- uses: actions/setup-node@v4
30-
with:
31-
node-version: 20
32-
33-
- name: Enable corepack
34-
run: corepack enable
35-
36-
- name: Activate latest Yarn
37-
run: yarn set version stable
38-
39-
- run: yarn install
40-
name: Install dependencies
41-
42-
- name: Build
43-
run: yarn build
44-
- name: Setup Pages
45-
uses: actions/configure-pages@v5
46-
- name: Upload artifact
47-
uses: actions/upload-pages-artifact@v3
48-
with:
49-
# Upload entire repository
50-
path: 'docs/.vitepress/dist'
51-
- name: Deploy to GitHub Pages
52-
id: deployment
53-
uses: actions/deploy-pages@v4
20+
deploy:
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
- uses: actions/setup-node@v4
30+
with:
31+
node-version: 24
32+
33+
- name: Enable corepack
34+
run: corepack enable
35+
36+
- name: Activate latest Yarn
37+
run: yarn set version stable
38+
39+
- run: yarn install
40+
name: Install dependencies
41+
42+
- name: Build
43+
run: yarn build
44+
- name: Setup Pages
45+
uses: actions/configure-pages@v5
46+
- name: Upload artifact
47+
uses: actions/upload-pages-artifact@v3
48+
with:
49+
# Upload entire repository
50+
path: "docs/.vitepress/dist"
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v4

package.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
{
2-
"name": "chatluna-doc",
3-
"private": true,
4-
"version": "1.0.0",
5-
"description": "ChatLuna 插件的官方文档",
6-
"main": "index.js",
7-
"repository": "https://github.com/ChatHubLab/doc",
8-
"author": "dingyi222666 <dingyi222666@foxmail.com>",
9-
"type": "module",
10-
"devDependencies": {
11-
"@langchain/community": "^1.0.0",
12-
"@nolebase/markdown-it-bi-directional-links": "^2.18.2",
13-
"@nolebase/vitepress-plugin-enhanced-mark": "^2.18.2",
14-
"@nolebase/vitepress-plugin-enhanced-readabilities": "^2.18.2",
15-
"@nolebase/vitepress-plugin-git-changelog": "^2.18.2",
16-
"@nolebase/vitepress-plugin-highlight-targeted-heading": "^2.18.2",
17-
"@nolebase/vitepress-plugin-inline-link-preview": "^2.18.2",
18-
"@nolebase/vitepress-plugin-meta": "^2.18.2",
19-
"@nolebase/vitepress-plugin-page-properties": "^2.18.2",
20-
"@nolebase/vitepress-plugin-thumbnail-hash": "^2.18.2",
21-
"@shikijs/vitepress-twoslash": "^3.13.0",
22-
"koishi": "^4.18.9",
23-
"koishi-plugin-chatluna": "^1.3.0-alpha.68",
24-
"markdown-it": "^14.1.0",
25-
"markdown-it-mathjax3": "^5.2.0",
26-
"markdown-it-task-lists": "^2.1.1",
27-
"sass": "^1.93.2",
28-
"typescript": "^5.9.3",
29-
"unocss": "^66.5.3",
30-
"vitepress": "^2.0.0-alpha.12",
31-
"vitepress-markdown-timeline": "^1.2.2",
32-
"vitepress-plugin-group-icons": "^1.6.3",
33-
"vitepress-plugin-tabs": "^0.7.3"
34-
},
35-
"scripts": {
36-
"dev": "vitepress dev docs",
37-
"build": "vitepress build docs",
38-
"serve": "vitepress serve docs",
39-
"preview": "vitepress preview docs"
40-
},
41-
"packageManager": "yarn@4.10.3"
2+
"name": "chatluna-doc",
3+
"private": true,
4+
"version": "1.0.0",
5+
"description": "ChatLuna 插件的官方文档",
6+
"main": "index.js",
7+
"repository": "https://github.com/ChatHubLab/doc",
8+
"author": "dingyi222666 <dingyi222666@foxmail.com>",
9+
"type": "module",
10+
"devDependencies": {
11+
"@langchain/community": "^1.0.0",
12+
"@nolebase/markdown-it-bi-directional-links": "^2.18.2",
13+
"@nolebase/vitepress-plugin-enhanced-mark": "^2.18.2",
14+
"@nolebase/vitepress-plugin-enhanced-readabilities": "^2.18.2",
15+
"@nolebase/vitepress-plugin-git-changelog": "^2.18.2",
16+
"@nolebase/vitepress-plugin-highlight-targeted-heading": "^2.18.2",
17+
"@nolebase/vitepress-plugin-inline-link-preview": "^2.18.2",
18+
"@nolebase/vitepress-plugin-meta": "^2.18.2",
19+
"@nolebase/vitepress-plugin-page-properties": "^2.18.2",
20+
"@nolebase/vitepress-plugin-thumbnail-hash": "^2.18.2",
21+
"@shikijs/vitepress-twoslash": "^3.13.0",
22+
"koishi": "^4.18.9",
23+
"koishi-plugin-chatluna": "^1.3.36",
24+
"markdown-it": "^14.1.0",
25+
"markdown-it-mathjax3": "^5.2.0",
26+
"markdown-it-task-lists": "^2.1.1",
27+
"sass": "^1.93.2",
28+
"typescript": "^5.9.3",
29+
"unocss": "^66.5.3",
30+
"vitepress": "^2.0.0-alpha.12",
31+
"vitepress-markdown-timeline": "^1.2.2",
32+
"vitepress-plugin-group-icons": "^1.6.3",
33+
"vitepress-plugin-tabs": "^0.7.3"
34+
},
35+
"scripts": {
36+
"dev": "vitepress dev docs",
37+
"build": "vitepress build docs",
38+
"serve": "vitepress serve docs",
39+
"preview": "vitepress preview docs"
40+
},
41+
"packageManager": "yarn@4.10.3"
4242
}

yarn.lock

Lines changed: 46 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ __metadata:
160160
languageName: node
161161
linkType: hard
162162

163-
"@chatluna/shared-prompt-renderer@npm:^1.0.3":
164-
version: 1.0.3
165-
resolution: "@chatluna/shared-prompt-renderer@npm:1.0.3"
166-
checksum: 10c0/e78cbfa75dc92ebc341982e90d743f53e74cb383f3de30a1301be8bfa2ff6062c31bfefa13f26edc378e59dca8fa2b54a0d33069dac6fb7fd33e26871ec47efe
163+
"@chatluna/shared-prompt-renderer@npm:^1.0.5":
164+
version: 1.0.5
165+
resolution: "@chatluna/shared-prompt-renderer@npm:1.0.5"
166+
checksum: 10c0/27ff62e6e295a45a2df1e159b3c30f587cd1856a86dfcde050bd1fcaa5d3bd1f021ae947faa9b317dff2b7fdbf65534144db56170057b7f797092b4927a53b59
167167
languageName: node
168168
linkType: hard
169169

@@ -1176,23 +1176,23 @@ __metadata:
11761176
languageName: node
11771177
linkType: hard
11781178

1179-
"@langchain/core@npm:0.3.62":
1180-
version: 0.3.62
1181-
resolution: "@langchain/core@npm:0.3.62"
1179+
"@langchain/core@npm:^0.3.80":
1180+
version: 0.3.80
1181+
resolution: "@langchain/core@npm:0.3.80"
11821182
dependencies:
11831183
"@cfworker/json-schema": "npm:^4.0.2"
11841184
ansi-styles: "npm:^5.0.0"
11851185
camelcase: "npm:6"
11861186
decamelize: "npm:1.2.0"
11871187
js-tiktoken: "npm:^1.0.12"
1188-
langsmith: "npm:^0.3.33"
1188+
langsmith: "npm:^0.3.67"
11891189
mustache: "npm:^4.2.0"
11901190
p-queue: "npm:^6.6.2"
11911191
p-retry: "npm:4"
11921192
uuid: "npm:^10.0.0"
11931193
zod: "npm:^3.25.32"
11941194
zod-to-json-schema: "npm:^3.22.3"
1195-
checksum: 10c0/ef6301bd4a3c068a1cb83e3226bb96d815aece1c035a638ac58e50008342bf6291e12c9f1a1f882dfd2693837ff1836e3c88f9b4b6802715f1aab011b52ba087
1195+
checksum: 10c0/c24a4641c11ddda77f89109800e59bdcd68b48f3dc0c485e6594e79ec494fc4b28e7c7b4013937e40e4edf12435dc09f7d5c0b3de5e63c8641fe81f6b17d7698
11961196
languageName: node
11971197
linkType: hard
11981198

@@ -3366,7 +3366,7 @@ __metadata:
33663366
"@nolebase/vitepress-plugin-thumbnail-hash": "npm:^2.18.2"
33673367
"@shikijs/vitepress-twoslash": "npm:^3.13.0"
33683368
koishi: "npm:^4.18.9"
3369-
koishi-plugin-chatluna: "npm:^1.3.0-alpha.68"
3369+
koishi-plugin-chatluna: "npm:^1.3.36"
33703370
markdown-it: "npm:^14.1.0"
33713371
markdown-it-mathjax3: "npm:^5.2.0"
33723372
markdown-it-task-lists: "npm:^2.1.1"
@@ -5184,12 +5184,12 @@ __metadata:
51845184
languageName: node
51855185
linkType: hard
51865186

5187-
"koishi-plugin-chatluna@npm:^1.3.0-alpha.68":
5188-
version: 1.3.0-alpha.68
5189-
resolution: "koishi-plugin-chatluna@npm:1.3.0-alpha.68"
5187+
"koishi-plugin-chatluna@npm:^1.3.36":
5188+
version: 1.3.36
5189+
resolution: "koishi-plugin-chatluna@npm:1.3.36"
51905190
dependencies:
5191-
"@chatluna/shared-prompt-renderer": "npm:^1.0.3"
5192-
"@langchain/core": "npm:0.3.62"
5191+
"@chatluna/shared-prompt-renderer": "npm:^1.0.5"
5192+
"@langchain/core": "npm:^0.3.80"
51935193
"@vue/reactivity": "npm:^3.6.0-alpha.2"
51945194
decimal.js: "npm:^10.6.0"
51955195
he: "npm:^1.2.0"
@@ -5207,11 +5207,11 @@ __metadata:
52075207
zod-to-json-schema: "npm:^3.24.6"
52085208
peerDependencies:
52095209
koishi: ^4.18.9
5210-
koishi-plugin-chatluna-storage-service: ^0.0.11
5210+
koishi-plugin-chatluna-storage-service: ^1.0.6
52115211
peerDependenciesMeta:
52125212
koishi-plugin-chatluna-storage-service:
52135213
optional: true
5214-
checksum: 10c0/710f86627bb86d79ecd97a9bf50e584099cca3f13c1fe8f26678158195b681f8f87e96422b2950676e34a1242d8bb52a674cfee6f55aa58b86ac91fbd61027eb
5214+
checksum: 10c0/1d33707555201499245487dec80cc6cdc19530fb0d64ad10f58fb7d279c1daf755574d51b0e7a75dbefe8afdcd4af49d0607d23709770f5b6a4666b6a7119527
52155215
languageName: node
52165216
linkType: hard
52175217

@@ -5252,7 +5252,7 @@ __metadata:
52525252
languageName: node
52535253
linkType: hard
52545254

5255-
"langsmith@npm:^0.3.33, langsmith@npm:^0.3.64":
5255+
"langsmith@npm:^0.3.64":
52565256
version: 0.3.74
52575257
resolution: "langsmith@npm:0.3.74"
52585258
dependencies:
@@ -5281,6 +5281,34 @@ __metadata:
52815281
languageName: node
52825282
linkType: hard
52835283

5284+
"langsmith@npm:^0.3.67":
5285+
version: 0.3.87
5286+
resolution: "langsmith@npm:0.3.87"
5287+
dependencies:
5288+
"@types/uuid": "npm:^10.0.0"
5289+
chalk: "npm:^4.1.2"
5290+
console-table-printer: "npm:^2.12.1"
5291+
p-queue: "npm:^6.6.2"
5292+
semver: "npm:^7.6.3"
5293+
uuid: "npm:^10.0.0"
5294+
peerDependencies:
5295+
"@opentelemetry/api": "*"
5296+
"@opentelemetry/exporter-trace-otlp-proto": "*"
5297+
"@opentelemetry/sdk-trace-base": "*"
5298+
openai: "*"
5299+
peerDependenciesMeta:
5300+
"@opentelemetry/api":
5301+
optional: true
5302+
"@opentelemetry/exporter-trace-otlp-proto":
5303+
optional: true
5304+
"@opentelemetry/sdk-trace-base":
5305+
optional: true
5306+
openai:
5307+
optional: true
5308+
checksum: 10c0/eb1ac6baea51063b881a9dc9a61d2d699bfc9b7aa3443865e575775abe084d94704344275958c94f4e1f03154103e9dd896cde7285797e4afb6af570da6db3b8
5309+
languageName: node
5310+
linkType: hard
5311+
52845312
"less@npm:^4.4.0":
52855313
version: 4.4.2
52865314
resolution: "less@npm:4.4.2"

0 commit comments

Comments
 (0)