Skip to content

feat: Upgrade project to Node.js v22#318

Merged
ankurdotb merged 7 commits into
developfrom
feat/upgrade-node-22-wrangler
May 23, 2025
Merged

feat: Upgrade project to Node.js v22#318
ankurdotb merged 7 commits into
developfrom
feat/upgrade-node-22-wrangler

Conversation

@ankurdotb
Copy link
Copy Markdown
Collaborator

No description provided.

google-labs-jules Bot and others added 5 commits May 23, 2025 08:10
This commit upgrades the project to Node.js version 22.

Key changes include:
- Updated `package.json` to specify `engines.node >=22.0.0`.
- Upgraded `@types/node` to `^22.15.21`.
- Upgraded `wrangler` (Cloudflare CLI) to `^4.16.1`.
- Updated `package-lock.json` accordingly.
- Modified GitHub Actions workflows (`build.yml`, `release.yml`, `staging.yml`) to use Node.js 22 and the updated Wrangler version 4.16.1.

The `wrangler.toml` already contained `nodejs_compat_v2` and a recent `compatibility_date`, which are suitable for this upgrade.

Testing (`npm ci`, `npm run lint`, `npm run build`) passed successfully with the new versions. Minor deprecation warnings for `@esbuild-kit/*` packages and a Wrangler TOML warning for the `usage_model` field were observed but did not impede the build process or functionality.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to require and use Node.js v22 across dependencies and CI workflows.

  • Bump Node.js engine and related dev dependencies in package.json
  • Update CI workflows to use Node.js v22 and Wrangler CLI v4
  • Align Cloudflare Wrangler action versions for staging and release pipelines

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

File Description
package.json Bumped @types/node, wrangler, and engine to Node.js >=22.0.0
.github/workflows/staging.yml Updated actions/setup-node to v22 and Wrangler v4
.github/workflows/release.yml Updated actions/setup-node to v22 and Wrangler v4
.github/workflows/build.yml Updated actions/setup-node to v22

Comment thread .github/workflows/staging.yml
Comment thread .github/workflows/staging.yml Outdated
@ankurdotb ankurdotb merged commit a911773 into develop May 23, 2025
13 checks passed
@ankurdotb ankurdotb deleted the feat/upgrade-node-22-wrangler branch May 23, 2025 08:40
cheqd-bot Bot pushed a commit that referenced this pull request May 23, 2025
## [2.1.0-develop.1](2.0.1...2.1.0-develop.1) (2025-05-23)

### Features

* Upgrade project to Node.js v22 ([#318](#318)) ([a911773](a911773))
@cheqd-bot
Copy link
Copy Markdown

cheqd-bot Bot commented May 23, 2025

🎉 This PR is included in version 2.1.0-develop.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

cheqd-bot Bot pushed a commit that referenced this pull request May 23, 2025
## [2.1.0](2.0.1...2.1.0) (2025-05-23)

### Features

* Upgrade project to Node.js v22 ([#318](#318)) ([a911773](a911773))
@cheqd-bot
Copy link
Copy Markdown

cheqd-bot Bot commented May 23, 2025

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@cheqd-bot cheqd-bot Bot added the released label May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants