Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated Node Types in Nx Default Configuration #29714

Open
1 of 4 tasks
joh-klein opened this issue Jan 22, 2025 · 0 comments
Open
1 of 4 tasks

Outdated Node Types in Nx Default Configuration #29714

joh-klein opened this issue Jan 22, 2025 · 0 comments

Comments

@joh-klein
Copy link

Current Behavior

When I look at your node compatibility matrix you only support node versions 20 and 22 with the latest version of nx (20.x). But you install the outdated types for @types/node (~18.16.9).

Expected Behavior

Use current type definitions for nodejs

GitHub Repo

No response

Steps to Reproduce

  1. npx create-nx-workspace --preset=node-standalone
  2. Observe that the version of @types/node in the package.json is pinned to ~18.16.9.

Nx Report

NX   Report complete - copy this into the issue template

Node           : 22.13.1
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.9.2

nx                 : 20.3.2
@nx/js             : 20.3.2
@nx/jest           : 20.3.2
@nx/eslint         : 20.3.2
@nx/workspace      : 20.3.2
@nx/devkit         : 20.3.2
@nx/esbuild        : 20.3.2
@nx/eslint-plugin  : 20.3.2
@nx/node           : 20.3.2
typescript         : 5.6.3
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/jest/plugin

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants