build: move from pnpm to npm

Replace pnpm-lock.yaml with package-lock.json. pnpm-workspace.yaml's
allowBuilds becomes package.json#allowScripts, which npm 11 gates the same way,
listing only the packages actually present in the tree.
This commit is contained in:
tiennm99 committed 2026-08-17 13:07:27 +07:00
1 parent 3372d5e96b
commit f69d14e1e2
7 files changed
+3671 -1834

No files matched your search

+3 -3
View File
@@ -23,7 +23,7 @@
```bash
git clone https://github.com/tiennm99/claude-status-webhook.git
cd claude-status-webhook
pnpm install
npm install
```
### 2. Authenticate with Cloudflare
@@ -64,7 +64,7 @@ npx wrangler secret put ADMIN_CHAT_ID
### 5. Deploy
```bash
pnpm deploy
npm run 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
pnpm dev
npm run dev
```
This starts a local dev server with wrangler that emulates KV and Queues locally. Test with curl: