Upgrade Dependencies
Upgrade npm dependencies for the cloudflare_temp_email sub-packages.
How to run
Execute the project-root script:
bash scripts/update-dependencies.sh
The script runs the following in order:
| Directory | Commands |
|---|---|
frontend/ |
pnpm up + pnpm add -D wrangler@latest |
worker/ |
pnpm up + pnpm add -D wrangler@latest |
pages/ |
pnpm up + pnpm add -D wrangler@latest |
vitepress-docs/ |
pnpm up --latest + pnpm add -D wrangler@latest |
Note: vitepress-docs/ uses --latest (crosses semver ranges); other packages upgrade within ranges only.
Post-upgrade checklist
- Inspect
git diffonpackage.json/pnpm-lock.yamlfiles for reasonable changes. - Verify builds in each sub-package:
cd frontend && pnpm buildcd worker && pnpm build && pnpm lintcd vitepress-docs && pnpm build
- If wrangler had a major version bump, check
worker/wrangler.tomlfor any required syntax changes. - Commit with Conventional Commits format, e.g.
chore: upgrade dependencies.
Do NOT
- Do not manually
pnpm addeach package instead of running the script. - Do not run
pnpm deploylocally — deployments go through GitHub Actions. - Do not update CHANGELOG for routine dep bumps unless the user explicitly requests it.
Source: dreamhunter2333/cloudflare_temp_email — distributed by TomeVault.