Skip to content

feat: add Node types by default to TypeScript configs#427

Merged
Patrick Lafrance (patricklafrance) merged 1 commit into
mainfrom
feat/add-node-types-to-ts-configs
May 12, 2026
Merged

feat: add Node types by default to TypeScript configs#427
Patrick Lafrance (patricklafrance) merged 1 commit into
mainfrom
feat/add-node-types-to-ts-configs

Conversation

@patricklafrance
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 12, 2026 16:12
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 12, 2026

Open in StackBlitz

@workleap/browserslist-config

pnpm add https://pkg.pr.new/@workleap/browserslist-config@427

@workleap/eslint-configs

pnpm add https://pkg.pr.new/@workleap/eslint-configs@427

@workleap/postcss-configs

pnpm add https://pkg.pr.new/@workleap/postcss-configs@427

@workleap/rsbuild-configs

pnpm add https://pkg.pr.new/@workleap/rsbuild-configs@427

@workleap/rslib-configs

pnpm add https://pkg.pr.new/@workleap/rslib-configs@427

@workleap/stylelint-configs

pnpm add https://pkg.pr.new/@workleap/stylelint-configs@427

@workleap/swc-configs

pnpm add https://pkg.pr.new/@workleap/swc-configs@427

@workleap/tsup-configs

pnpm add https://pkg.pr.new/@workleap/tsup-configs@427

@workleap/typescript-configs

pnpm add https://pkg.pr.new/@workleap/typescript-configs@427

@workleap/webpack-configs

pnpm add https://pkg.pr.new/@workleap/webpack-configs@427

commit: f77c14b

@patricklafrance Patrick Lafrance (patricklafrance) merged commit c43afaa into main May 12, 2026
11 checks passed
@patricklafrance Patrick Lafrance (patricklafrance) deleted the feat/add-node-types-to-ts-configs branch May 12, 2026 16:15
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 updates the shared @workleap/typescript-configs base tsconfig to include Node.js type definitions by default, and adds a changeset to publish the update.

Changes:

  • Added compilerOptions.types: ["node"] to the shared core.json tsconfig.
  • Added a changeset to release @workleap/typescript-configs with this update.

Reviewed changes

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

File Description
packages/typescript-configs/core.json Adds Node type definitions to the base TypeScript config used by all exported configs.
.changeset/funky-otters-retire.md Declares a patch release describing the Node types default change.

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

"module": "NodeNext",
"target": "ESNext",
"lib": ["ESNext", "DOM"],
"types": ["node"],
Comment on lines +2 to +5
"@workleap/typescript-configs": patch
---

Adding Node types by default to TypeScript configs.
@github-actions github-actions Bot mentioned this pull request May 12, 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.

2 participants