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

View File

@@ -1,7 +1,11 @@
<!-- markdownlint-disable-file MD004 MD024 MD034 MD036 -->
# CHANGE LOG
## main(v0.8.0)
# main(v0.8.1)
- feat: |Doc| 更新 UI 安装的文档
## v0.8.0
- feat: |UI| 随机生成地址时不超过最大长度
- feat: |UI| 邮件时间显示浏览器时区,可在设置中切换显示为 UTC 时间

View File

@@ -1,6 +1,6 @@
{
"name": "cloudflare_temp_email",
"version": "0.8.0",
"version": "0.8.1",
"private": true,
"type": "module",
"scripts": {
@@ -31,21 +31,21 @@
"naive-ui": "^2.40.1",
"postal-mime": "^2.3.2",
"vooks": "^0.2.12",
"vue": "^3.5.12",
"vue": "^3.5.13",
"vue-clipboard3": "^2.0.0",
"vue-i18n": "^9.14.1",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@vicons/fa": "^0.12.0",
"@vitejs/plugin-vue": "^5.1.4",
"unplugin-auto-import": "^0.18.3",
"@vitejs/plugin-vue": "^5.2.0",
"unplugin-auto-import": "^0.18.5",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.10",
"vite": "^5.4.11",
"vite-plugin-pwa": "^0.19.8",
"vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.3.0",
"workbox-window": "^7.3.0",
"wrangler": "^3.84.1"
"wrangler": "^3.89.0"
}
}

896
frontend/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "temp-email-pages",
"version": "0.8.0",
"version": "0.8.1",
"description": "",
"main": "index.js",
"scripts": {
@@ -11,6 +11,6 @@
"author": "",
"license": "ISC",
"devDependencies": {
"wrangler": "^3.85.0"
"wrangler": "^3.89.0"
}
}

View File

@@ -46,11 +46,17 @@
8. 点击 `Settings` -> `Variables`, 下拉找到 `D1 Database`, 点击 `Add Binding`, 名称如图,选择刚刚创建的 D1 数据库,点击 `Deploy`
> [!NOTE]
> 注意此处 `D1 Database` 的绑定名称必须为 `DB`
![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]
> 如果你要启用注册用户功能,并需要发送邮件验证,则需要创建 `KV` 缓存, 不需要可跳过此步骤
>
> 注意此处 `KV` 的绑定名称必须为 `KV`
![worker-kv](/ui_install/worker-kv.png)
![worker-kv-bind](/ui_install/worker-kv-bind.png)

View File

@@ -1,12 +1,12 @@
{
"name": "temp-mail-docs",
"private": true,
"version": "0.8.0",
"version": "0.8.1",
"type": "module",
"devDependencies": {
"@types/node": "^22.9.0",
"@types/node": "^22.9.1",
"vitepress": "^1.5.0",
"wrangler": "^3.85.0"
"wrangler": "^3.89.0"
},
"scripts": {
"dev": "vitepress dev docs",

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "cloudflare_temp_email",
"version": "0.8.0",
"version": "0.8.1",
"private": true,
"type": "module",
"scripts": {
@@ -11,19 +11,19 @@
"build": "wrangler deploy --dry-run --outdir dist --minify"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241106.0",
"@cloudflare/workers-types": "^4.20241112.0",
"@eslint/js": "8.56.0",
"@simplewebauthn/types": "^10.0.0",
"eslint": "8.56.0",
"globals": "^15.12.0",
"typescript-eslint": "^7.18.0",
"wrangler": "^3.85.0"
"wrangler": "^3.89.0"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.687.0",
"@aws-sdk/s3-request-presigner": "^3.687.0",
"@aws-sdk/client-s3": "^3.698.0",
"@aws-sdk/s3-request-presigner": "^3.698.0",
"@simplewebauthn/server": "^10.0.1",
"hono": "^4.6.9",
"hono": "^4.6.11",
"mimetext": "^3.0.24",
"postal-mime": "^2.3.2",
"resend": "^3.5.0",

1428
worker/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
export const CONSTANTS = {
VERSION: 'v0.8.0',
VERSION: 'v0.8.1',
// DB settings
ADDRESS_BLOCK_LIST_KEY: 'address_block_list',