Skip to content

chore: add @types/node dependency to multiple packages#180

Merged
Patrick Lafrance (patricklafrance) merged 1 commit into
mainfrom
chore/fix-packages-345656
Apr 1, 2026
Merged

chore: add @types/node dependency to multiple packages#180
Patrick Lafrance (patricklafrance) merged 1 commit into
mainfrom
chore/fix-packages-345656

Conversation

@patricklafrance
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 1, 2026 03:32
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 1, 2026

Open in StackBlitz

@workleap/common-room

pnpm add https://pkg.pr.new/@workleap/common-room@180

@workleap-telemetry/core

pnpm add https://pkg.pr.new/@workleap-telemetry/core@180

@workleap/honeycomb

pnpm add https://pkg.pr.new/@workleap/honeycomb@180

@workleap/logrocket

pnpm add https://pkg.pr.new/@workleap/logrocket@180

@workleap/mixpanel

pnpm add https://pkg.pr.new/@workleap/mixpanel@180

@workleap/telemetry

pnpm add https://pkg.pr.new/@workleap/telemetry@180

commit: 66cf7bb

@patricklafrance Patrick Lafrance (patricklafrance) merged commit 7ecae97 into main Apr 1, 2026
9 of 10 checks passed
@patricklafrance Patrick Lafrance (patricklafrance) deleted the chore/fix-packages-345656 branch April 1, 2026 03:34
Copy link
Copy Markdown
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

This PR adds an explicit @types/node devDependency to several workspace packages and samples to ensure Node typings are available during TypeScript typechecking/build tooling, and updates the pnpm lockfile accordingly.

Changes:

  • Add @types/node@25.5.0 to devDependencies across multiple packages and sample apps.
  • Update pnpm-lock.yaml to include the new importer entries/resolution for @types/node.

Reviewed changes

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

Show a summary per file
File Description
samples/honeycomb/proxy/app/package.json Adds @types/node to the sample app devDependencies.
samples/honeycomb/api-key/app/package.json Adds @types/node to the sample app devDependencies.
samples/all-platforms/app/package.json Adds @types/node to the sample app devDependencies.
packages/telemetry/package.json Adds @types/node to package devDependencies.
packages/mixpanel/package.json Adds @types/node to package devDependencies.
packages/logrocket/package.json Adds @types/node to package devDependencies.
packages/honeycomb/package.json Adds @types/node to package devDependencies.
packages/core/package.json Adds @types/node to package devDependencies.
packages/common-room/package.json Adds @types/node to package devDependencies.
pnpm-lock.yaml Updates lockfile importers to include @types/node@25.5.0.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"@eslint/js": "9.39.2",
"@rsbuild/core": "1.7.5",
"@rslib/core": "0.20.2",
"@types/node": "25.5.0",
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

This package declares engines.node as ">=21.1.0" (see bottom of this file), but the added @types/node is pinned to 25.5.0. That mismatch can let TypeScript typecheck Node 25-only APIs even though the package claims compatibility with Node 21+, which can lead to runtime incompatibilities. Consider either aligning @types/node to the minimum supported Node major (or a compatible range), or bumping the engines.node requirement to match the typings being used.

Suggested change
"@types/node": "25.5.0",
"@types/node": "^21.1.0",

Copilot uses AI. Check for mistakes.
"@eslint/js": "9.39.2",
"@rsbuild/core": "1.7.5",
"@rslib/core": "0.20.2",
"@types/node": "25.5.0",
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

This package declares engines.node as ">=21.1.0" (see bottom of this file), but the added @types/node is pinned to 25.5.0. That mismatch can let TypeScript typecheck Node 25-only APIs even though the package claims compatibility with Node 21+, which can lead to runtime incompatibilities. Consider either aligning @types/node to the minimum supported Node major (or a compatible range), or bumping the engines.node requirement to match the typings being used.

Suggested change
"@types/node": "25.5.0",
"@types/node": "^21.1.0",

Copilot uses AI. Check for mistakes.
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.

2 participants