Skip to content

chore(refactor): switch package manager from npm to pnpm#69

Merged
joni3k merged 4 commits intobetafrom
refactor/npm-to-pnpm
Dec 10, 2025
Merged

chore(refactor): switch package manager from npm to pnpm#69
joni3k merged 4 commits intobetafrom
refactor/npm-to-pnpm

Conversation

@joni3k
Copy link
Contributor

@joni3k joni3k commented Dec 10, 2025

chore(refactor): switch package manager from npm to pnpm
chore: update deps

Copy link

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 migrates the project from npm to pnpm as the package manager and updates multiple dependencies and tooling configurations. The changes are comprehensive and systematically replace npm with pnpm across all scripts, workflows, and configuration files.

Key changes:

  • Switched package manager from npm to pnpm with version 10.23.0
  • Updated Node.js version from 18.x to 20.19.0 across all workflows
  • Updated multiple dependencies including AWS CDK (2.133.0 → 2.190.0), TypeScript ESLint (v6 → v8), ESLint (v8 → v9), and various jsii packages (~5.3.24 → ~5.8.0)

Reviewed changes

Copilot reviewed 22 out of 27 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json Updated all scripts to use pnpm exec projen, upgraded dependencies, added pnpm config and Node.js engine requirement
pnpm-workspace.yaml New pnpm workspace configuration with trust policies and build settings
config/defaults.ts New centralized configuration file for Node, pnpm, and projen versions
.projenrc.ts Updated to use PNPM package manager with centralized config imports
.npmrc New pnpm configuration file with resolution-mode setting
.nvmrc Updated Node.js version from 20.11.1 to 20.19.0
tsconfig.dev.json Updated ES target from ES2019 to ES2020, updated projen command comment
src/api/utils.ts Minor code formatting improvements (spacing in type definitions)
.projen/tasks.json Updated all task commands from npm to pnpm, modified PATH environment setup
.projen/deps.json Updated dependency versions, added @stylistic/eslint-plugin, removed @types/prettier
.projen/files.json Added .npmrc to managed files list
.github/workflows/*.yml All workflows updated: pnpm setup steps added, Node.js 20.19.0, GitHub Actions versions bumped, improved artifact handling
.gitignore Updated projen command comment
.gitattributes Added line ending normalization, updated linguist settings for pnpm-lock.yaml
.npmignore Updated projen command comment, added /projenrc to ignore list
.mergify.yml Updated configuration structure (conditions → queue_conditions), projen command comment
.eslintrc.json Migrated to @stylistic/eslint-plugin for formatting rules, updated TypeScript ESLint config
TODO.md Deleted file (removed outdated TODO items)

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

Copy link

@vainito vainito left a comment

Choose a reason for hiding this comment

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

@joni3k joni3k merged commit 9e3a005 into beta Dec 10, 2025
7 checks passed
@joni3k joni3k deleted the refactor/npm-to-pnpm branch December 10, 2025 14:39
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