chore: migrate from npm to pnpm

This commit is contained in:
2026-05-13 10:17:12 +07:00
parent 9a9649ab4a
commit 4ebf94daa4
6 changed files with 1832 additions and 2866 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ Fully serverless on [Cloudflare Workers](https://workers.cloudflare.com/) (free
```bash
git clone https://github.com/tiennm99/claude-status-webhook.git
cd claude-status-webhook
npm install
pnpm install
```
See [Setup Guide](docs/setup-guide.md) for full deployment instructions.
+3 -3
View File
@@ -23,7 +23,7 @@
```bash
git clone https://github.com/tiennm99/claude-status-webhook.git
cd claude-status-webhook
npm install
pnpm install
```
### 2. Authenticate with Cloudflare
@@ -64,7 +64,7 @@ npx wrangler secret put ADMIN_CHAT_ID
### 5. Deploy
```bash
npm run deploy
pnpm deploy
```
Note the worker URL from the output (e.g., `https://claude-status-webhook.<your-subdomain>.workers.dev`).
@@ -90,7 +90,7 @@ Replace `<WEBHOOK_SECRET>` with the secret you set in step 4.
## Local Development
```bash
npm run dev
pnpm dev
```
This starts a local dev server with wrangler that emulates KV and Queues locally. Test with curl:
-2862
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -4,6 +4,7 @@
"description": "[Claude Status](https://status.claude.com/)'s webhook for Telegram bot. Hosted on Cloudflare Workers",
"main": "src/index.js",
"type": "module",
"packageManager": "pnpm@11.1.1",
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy",
+1823
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
allowBuilds:
esbuild: true
sharp: true
workerd: true