feat: upgrade dependencies && |doc| update ui install worker doc (#494)

This commit is contained in:
Dream Hunter
2024-11-22 14:42:35 +08:00
committed by GitHub
parent 3c2a8ed056
commit 0308f518da
10 changed files with 1697 additions and 1709 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
<!-- markdownlint-disable-file MD004 MD024 MD034 MD036 --> <!-- markdownlint-disable-file MD004 MD024 MD034 MD036 -->
# CHANGE LOG # CHANGE LOG
## main(v0.8.0) # main(v0.8.1)
- feat: |Doc| 更新 UI 安装的文档
## v0.8.0
- feat: |UI| 随机生成地址时不超过最大长度 - feat: |UI| 随机生成地址时不超过最大长度
- feat: |UI| 邮件时间显示浏览器时区,可在设置中切换显示为 UTC 时间 - feat: |UI| 邮件时间显示浏览器时区,可在设置中切换显示为 UTC 时间
+6 -6
View File
@@ -1,6 +1,6 @@
{ {
"name": "cloudflare_temp_email", "name": "cloudflare_temp_email",
"version": "0.8.0", "version": "0.8.1",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
@@ -31,21 +31,21 @@
"naive-ui": "^2.40.1", "naive-ui": "^2.40.1",
"postal-mime": "^2.3.2", "postal-mime": "^2.3.2",
"vooks": "^0.2.12", "vooks": "^0.2.12",
"vue": "^3.5.12", "vue": "^3.5.13",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",
"vue-i18n": "^9.14.1", "vue-i18n": "^9.14.1",
"vue-router": "^4.4.5" "vue-router": "^4.4.5"
}, },
"devDependencies": { "devDependencies": {
"@vicons/fa": "^0.12.0", "@vicons/fa": "^0.12.0",
"@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue": "^5.2.0",
"unplugin-auto-import": "^0.18.3", "unplugin-auto-import": "^0.18.5",
"unplugin-vue-components": "^0.27.4", "unplugin-vue-components": "^0.27.4",
"vite": "^5.4.10", "vite": "^5.4.11",
"vite-plugin-pwa": "^0.19.8", "vite-plugin-pwa": "^0.19.8",
"vite-plugin-top-level-await": "^1.4.4", "vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.3.0", "vite-plugin-wasm": "^3.3.0",
"workbox-window": "^7.3.0", "workbox-window": "^7.3.0",
"wrangler": "^3.84.1" "wrangler": "^3.89.0"
} }
} }
+494 -402
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "temp-email-pages", "name": "temp-email-pages",
"version": "0.8.0", "version": "0.8.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@@ -11,6 +11,6 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"wrangler": "^3.85.0" "wrangler": "^3.89.0"
} }
} }
@@ -46,11 +46,17 @@
8. 点击 `Settings` -> `Variables`, 下拉找到 `D1 Database`, 点击 `Add Binding`, 名称如图,选择刚刚创建的 D1 数据库,点击 `Deploy` 8. 点击 `Settings` -> `Variables`, 下拉找到 `D1 Database`, 点击 `Add Binding`, 名称如图,选择刚刚创建的 D1 数据库,点击 `Deploy`
> [!NOTE]
> 注意此处 `D1 Database` 的绑定名称必须为 `DB`
![worker-d1](/ui_install/worker-d1.png) ![worker-d1](/ui_install/worker-d1.png)
9. 如果你要启用注册用户功能,并需要发送邮件验证,则需要创建 `KV` 缓存, 不需要可跳过此步骤,点击 `Workers & Pages` -> `KV` -> `Create Namespace`, 如图,点击 `Create Namespace`,然后在 `Settings` -> `Variables`, 下拉找到 `KV`, 点击 `Add Binding`, 名称如图,选择刚刚创建的 `KV` 缓存,点击 `Deploy` 9. 如果你要启用注册用户功能,并需要发送邮件验证,则需要创建 `KV` 缓存, 不需要可跳过此步骤,点击 `Workers & Pages` -> `KV` -> `Create Namespace`, 如图,点击 `Create Namespace`,然后在 `Settings` -> `Variables`, 下拉找到 `KV`, 点击 `Add Binding`, 名称如图,选择刚刚创建的 `KV` 缓存,点击 `Deploy`
> [!NOTE] > [!NOTE]
> 如果你要启用注册用户功能,并需要发送邮件验证,则需要创建 `KV` 缓存, 不需要可跳过此步骤 > 如果你要启用注册用户功能,并需要发送邮件验证,则需要创建 `KV` 缓存, 不需要可跳过此步骤
>
> 注意此处 `KV` 的绑定名称必须为 `KV`
![worker-kv](/ui_install/worker-kv.png) ![worker-kv](/ui_install/worker-kv.png)
![worker-kv-bind](/ui_install/worker-kv-bind.png) ![worker-kv-bind](/ui_install/worker-kv-bind.png)
+3 -3
View File
@@ -1,12 +1,12 @@
{ {
"name": "temp-mail-docs", "name": "temp-mail-docs",
"private": true, "private": true,
"version": "0.8.0", "version": "0.8.1",
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@types/node": "^22.9.0", "@types/node": "^22.9.1",
"vitepress": "^1.5.0", "vitepress": "^1.5.0",
"wrangler": "^3.85.0" "wrangler": "^3.89.0"
}, },
"scripts": { "scripts": {
"dev": "vitepress dev docs", "dev": "vitepress dev docs",
+478 -554
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -1,6 +1,6 @@
{ {
"name": "cloudflare_temp_email", "name": "cloudflare_temp_email",
"version": "0.8.0", "version": "0.8.1",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
@@ -11,19 +11,19 @@
"build": "wrangler deploy --dry-run --outdir dist --minify" "build": "wrangler deploy --dry-run --outdir dist --minify"
}, },
"devDependencies": { "devDependencies": {
"@cloudflare/workers-types": "^4.20241106.0", "@cloudflare/workers-types": "^4.20241112.0",
"@eslint/js": "8.56.0", "@eslint/js": "8.56.0",
"@simplewebauthn/types": "^10.0.0", "@simplewebauthn/types": "^10.0.0",
"eslint": "8.56.0", "eslint": "8.56.0",
"globals": "^15.12.0", "globals": "^15.12.0",
"typescript-eslint": "^7.18.0", "typescript-eslint": "^7.18.0",
"wrangler": "^3.85.0" "wrangler": "^3.89.0"
}, },
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.687.0", "@aws-sdk/client-s3": "^3.698.0",
"@aws-sdk/s3-request-presigner": "^3.687.0", "@aws-sdk/s3-request-presigner": "^3.698.0",
"@simplewebauthn/server": "^10.0.1", "@simplewebauthn/server": "^10.0.1",
"hono": "^4.6.9", "hono": "^4.6.11",
"mimetext": "^3.0.24", "mimetext": "^3.0.24",
"postal-mime": "^2.3.2", "postal-mime": "^2.3.2",
"resend": "^3.5.0", "resend": "^3.5.0",
+695 -733
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,5 +1,5 @@
export const CONSTANTS = { export const CONSTANTS = {
VERSION: 'v0.8.0', VERSION: 'v0.8.1',
// DB settings // DB settings
ADDRESS_BLOCK_LIST_KEY: 'address_block_list', ADDRESS_BLOCK_LIST_KEY: 'address_block_list',