Skip to content

Commit ef1304c

Browse files
authored
feat: add web pages (#277)
* feat: add web pages * feat: add web page * refactor: search page * feat: add tsup build web componet * chore: update timeout time * build: build web page * build: build search chat * chore: add web page * docs: update release note
1 parent 51d3a9d commit ef1304c

50 files changed

Lines changed: 1703 additions & 1298 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"changelogithub",
88
"clsx",
99
"codegen",
10+
"dataurl",
1011
"dtolnay",
1112
"dyld",
1213
"elif",

docs/content.en/docs/release-notes/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Information about release notes of Coco Server is provided here.
1111

1212
### Breaking changes
1313

14+
- feat: add web pages components #277
15+
1416
### Features
1517

1618
### Bug fix

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc && vite build",
9+
"build:web": "tsc && tsup",
10+
"publish:web": "cd dist/search-chat && npm publish",
11+
"publish:web:beta": "cd dist/search-chat && npm publish --tag beta",
12+
"publish:web:alpha": "cd dist/search-chat && npm publish --tag alpha",
13+
"publish:web:rc": "cd dist/search-chat && npm publish --tag rc",
914
"preview": "vite preview",
1015
"tauri": "tauri",
1116
"release": "release-it",
@@ -63,7 +68,6 @@
6368
"@types/node": "^22.13.10",
6469
"@types/react": "^18.3.18",
6570
"@types/react-dom": "^18.3.5",
66-
"@types/react-i18next": "^8.1.0",
6771
"@types/react-katex": "^3.0.4",
6872
"@types/react-window": "^1.8.8",
6973
"@vitejs/plugin-react": "^4.3.4",
@@ -72,6 +76,7 @@
7276
"postcss": "^8.5.3",
7377
"release-it": "^18.1.2",
7478
"tailwindcss": "^3.4.17",
79+
"tsup": "^8.4.0",
7580
"tsx": "^4.19.3",
7681
"typescript": "^5.8.2",
7782
"vite": "^5.4.14"

0 commit comments

Comments
 (0)