mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-06-09 10:12:55 +00:00
chore: migrate from npm to pnpm
This commit is contained in:
@@ -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
@@ -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:
|
||||
|
||||
Generated
-2862
File diff suppressed because it is too large
Load Diff
@@ -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",
|
||||
|
||||
Generated
+1823
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
sharp: true
|
||||
workerd: true
|
||||
Reference in New Issue
Block a user