chore(refactor): switch package manager from npm to pnpm#69
Merged
Conversation
There was a problem hiding this comment.
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.
vainito
approved these changes
Dec 10, 2025
vainito
left a comment
There was a problem hiding this comment.
Check https://github.com/alma-cdk/openapix/pull/69/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721 actions updated to all workflows.
See also Copilot review recommendations #69 (review)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chore(refactor): switch package manager from npm to pnpm
chore: update deps