Skip to content

feat: upgrade Node.js version to 25 and update related documentation#376

Merged
virgofx merged 3 commits intomainfrom
feat/update-internal-node25-and-related-docs
Feb 16, 2026
Merged

feat: upgrade Node.js version to 25 and update related documentation#376
virgofx merged 3 commits intomainfrom
feat/update-internal-node25-and-related-docs

Conversation

@virgofx
Copy link
Member

@virgofx virgofx commented Feb 16, 2026

Summary

Upgrades the local development environment from Node.js 24 to Node.js 25 and switches the devcontainer base image to support it. Also fixes two pre-existing bugs in the post-create script.

What Changed

  • .node-version: 2425
  • .devcontainer/devcontainer.json:
    • Base image changed from typescript-node:24 to base:trixie (Microsoft only publishes devcontainer Node images for even/LTS versions; Node 25 is odd/current)
    • Added ghcr.io/devcontainers/features/node:1 feature with "version": "25" to install Node.js via nvm
  • .devcontainer/postCreateCommand.bash:
    • Fixed chown node:nodechown "$(id -u):$(id -g)" (base:trixie uses vscode user, not node)
    • Fixed typo in safe.directory path: terraform-modules-releaserterraform-module-releaser
  • Docs updated (24 → 25): AGENTS.md, CONTRIBUTING.md, docs/development.md, .github/copilot-instructions.md

Note: tsconfig.json target stays at ES2022, package.json engines stays at >=20, and action.yml runtime stays at node20 — none of those need to change because we compile to a single dist/ bundle targeting the GitHub Actions runner.

Validation

  • npm run typecheck — passes
  • npm run check:fix — passes, no fixes applied
  • npm run textlint:fix — passes
  • Devcontainer rebuilds and postCreateCommand completes successfully

Risks / Notes

  • CI workflows use node-version-file: .node-version, so they will automatically pick up Node 25
  • Node 25 is the current (non-LTS) release; if CI runners don't have it cached, first runs may be slightly slower
  • The base:trixie image no longer bundles TypeScript/ESLint globally, but both are already project devDependencies so this has no practical effect

Copilot AI review requested due to automatic review settings February 16, 2026 19:34
Copy link
Contributor

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

Upgrades the repository’s local development Node.js version to 25, updates the devcontainer to use a Debian base image with a Node feature install, and refreshes contributor/docs guidance to match the new version.

Changes:

  • Bump local dev Node.js version from 24 → 25 via .node-version and update related documentation.
  • Switch devcontainer image to mcr.microsoft.com/devcontainers/base:trixie and install Node 25 via ghcr.io/devcontainers/features/node:1.
  • Adjust devcontainer post-create setup (git safe.directory + node_modules ownership).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/development.md Updates devcontainer + manual setup docs to Node.js 25 and new base image.
CONTRIBUTING.md Updates prerequisite Node.js version to 25+.
AGENTS.md Updates environment guidance to Node.js 25+.
.node-version Sets Node version to 25 for local dev and CI setup-node.
.github/copilot-instructions.md Updates tech stack docs to reflect Node.js 25+.
.devcontainer/postCreateCommand.bash Updates safe.directory path and node_modules ownership command for new base image/user.
.devcontainer/devcontainer.json Switches base image and adds Node 25 devcontainer feature.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Feb 16, 2026

@virgofx I've opened a new pull request, #377, to work on those changes. Once the pull request is ready, I'll request review from you.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@virgofx virgofx force-pushed the feat/update-internal-node25-and-related-docs branch from 181bc36 to 895f739 Compare February 16, 2026 20:24
@github-actions
Copy link

📋 Release Plan

Module Type Latest
Version
New
Version
Release
Details
tf-modules-kms patch v1.0.0 🆕 Initial Release
tf-modules-vpc-endpoint patch v1.0.0 🆕 Initial Release

📝 Changelog

tf-modules-kms-v1.0.0 (2026-02-16)

  • 🔀PR #376 - feat: upgrade Node.js version to 25 and update related documentation

tf-modules-vpc-endpoint-v1.0.0 (2026-02-16)

  • 🔀PR #376 - feat: upgrade Node.js version to 25 and update related documentation

Wiki Statusℹ️

✅ Enabled

Automated Tag/Release Cleanupℹ️

⏸️ Existing tags and releases will be preserved as the delete-legacy-tags flag is disabled.

Powered by:   techpivot/terraform-module-releaser

@sonarqubecloud
Copy link

@virgofx virgofx merged commit 0966b2e into main Feb 16, 2026
29 checks passed
@virgofx virgofx deleted the feat/update-internal-node25-and-related-docs branch February 16, 2026 20:41
@release-preview release-preview bot mentioned this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants