Skip to content

Commit

Permalink
chore: 更新多个包的依赖版本
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Jan 16, 2025
1 parent 0129727 commit f9144b4
Show file tree
Hide file tree
Showing 9 changed files with 1,181 additions and 987 deletions.
6 changes: 2 additions & 4 deletions doc/cn/ACTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
1. 登录 Cloudflare 帐户并导航到“我的资料”页面。
2. 在左侧菜单中选择“API Tokens”。
3. 点击“Create Token”按钮。
4. 在 API token templates 中选择 Edit Cloudflare Workers
<img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635764-54bf4418-3571-49e4-8c41-a4d331f3d791.png">
4. 在 API token templates 中选择 Edit Cloudflare Workers <br><img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635764-54bf4418-3571-49e4-8c41-a4d331f3d791.png">
5. 在“Zone Resources”下拉菜单中,选择要授权的区域。
6. 在“Account Resources”下拉菜单中,选择要授权的帐户。
<img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635869-aabb8ca6-7933-4f48-920f-6579d29947a8.png">
6. 在“Account Resources”下拉菜单中,选择要授权的帐户。 <br><img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635869-aabb8ca6-7933-4f48-920f-6579d29947a8.png">
7. 点击“Create Token”按钮。
> 现在您已创建一个具有 Workers 权限的 Cloudflare API Token。请记住,API Token 的安全性非常重要,请不要在不必要的情况下共享它,并定期更改 API Token。
Expand Down
6 changes: 2 additions & 4 deletions doc/en/ACTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ To create a Cloudflare API Token with Workers permissions, follow these steps:
1. Log in to your Cloudflare account and navigate to the "My Profile" page.
2. Select "API Tokens" from the left-hand menu.
3. Click the "Create Token" button.
4. Choose "Edit Cloudflare Workers" from the API token templates.
<img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635764-54bf4418-3571-49e4-8c41-a4d331f3d791.png">
4. Choose "Edit Cloudflare Workers" from the API token templates. <br><img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635764-54bf4418-3571-49e4-8c41-a4d331f3d791.png">
5. In the "Zone Resources" dropdown menu, select the zone you want to authorize.
6. In the "Account Resources" dropdown menu, select the account you want to authorize.
<img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635869-aabb8ca6-7933-4f48-920f-6579d29947a8.png">
6. In the "Account Resources" dropdown menu, select the account you want to authorize. <br><img style="max-width: 600px;" alt="image" src="https://user-images.githubusercontent.com/9513891/223635869-aabb8ca6-7933-4f48-920f-6579d29947a8.png">
7. Click the "Create Token" button.
> You have now created a Cloudflare API Token with Workers permissions. Remember, API Token security is very important. Do not share it unnecessarily and change your API Token regularly.
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@
"wrangler": "wrangler"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.1",
"@antfu/eslint-config": "^3.14.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/node": "^22.10.5",
"eslint": "^9.17.0",
"eslint-plugin-format": "^0.1.3",
"@types/node": "^22.10.7",
"eslint": "^9.18.0",
"eslint-plugin-format": "^1.0.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-node-externals": "^8.0.0",
"stylelint": "^16.12.0",
"stylelint": "^16.13.2",
"telegram-bot-api-types": "^8.2.0",
"toml": "^3.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vercel": "^39.2.4",
"typescript": "^5.7.3",
"vercel": "^39.3.0",
"vite": "^6.0.7",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-dts": "^4.4.0",
"wrangler": "^3.99.0"
"vite-plugin-dts": "^4.5.0",
"wrangler": "^3.102.0"
}
}
2 changes: 1 addition & 1 deletion packages/apps/local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"cloudflare-worker-adapter": "^1.3.9"
},
"devDependencies": {
"@types/react": "^19.0.1"
"@types/react": "^19.0.7"
}
}
6 changes: 3 additions & 3 deletions packages/apps/vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"cloudflare-worker-adapter": "^1.3.9"
},
"devDependencies": {
"@types/react": "^19.0.1",
"@vercel/node": "^5.0.0",
"openai": "^4.76.3",
"@types/react": "^19.0.7",
"@vercel/node": "^5.0.2",
"openai": "^4.78.1",
"react-dom": "^19.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/apps/workers-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@chatgpt-telegram-workers/next": "workspace:*"
},
"devDependencies": {
"@types/react": "^19.0.1"
"@types/react": "^19.0.7"
}
}
2 changes: 1 addition & 1 deletion packages/lib/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@chatgpt-telegram-workers/plugins": "workspace:*"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241205.0",
"@cloudflare/workers-types": "^4.20250109.0",
"@types/jest": "^29.5.14",
"jest": "^29.7.0",
"toml": "^3.0.0",
Expand Down
20 changes: 10 additions & 10 deletions packages/lib/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
"clean": "rm -rf dist && rm -rf node_modules"
},
"dependencies": {
"@ai-sdk/anthropic": "^1.0.5",
"@ai-sdk/azure": "^1.0.10",
"@ai-sdk/cohere": "^1.0.5",
"@ai-sdk/google": "^1.0.10",
"@ai-sdk/mistral": "^1.0.5",
"@ai-sdk/openai": "^1.0.8",
"@ai-sdk/provider": "^1.0.2",
"@ai-sdk/anthropic": "^1.0.8",
"@ai-sdk/azure": "^1.0.21",
"@ai-sdk/cohere": "^1.0.8",
"@ai-sdk/google": "^1.0.16",
"@ai-sdk/mistral": "^1.0.8",
"@ai-sdk/openai": "^1.0.19",
"@ai-sdk/provider": "^1.0.4",
"@chatgpt-telegram-workers/core": "workspace:*",
"ai": "^4.0.18"
"ai": "^4.0.38"
},
"devDependencies": {
"@types/react": "^19.0.1",
"openai": "^4.76.3",
"@types/react": "^19.0.7",
"openai": "^4.78.1",
"react-dom": "^19.0.0"
}
}
Loading

0 comments on commit f9144b4

Please sign in to comment.