aws / aws/aws-cdk

pipeline: should work with pnpm

Open
#25,820 2 comments 4 reactions 0 assignees View on GitHub
@aws-cdk/pipelines effort/medium feature-request p1
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Currently the pipeline respects npm and yarn. However, it should also by default respect the pnpm package manager.

### Use Case

pnpm significantly improves our developer experiences. However cdkPipelines doesn't support it.

### Proposed Solution

Update the default CdkSynth to detect `pnpm-lock.yaml` the same way it currently detects `yarn.lock`.

### Other Information

_No response_

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.81.0

### Environment details (OS name and version, etc.)

irrelevant

Contributor guide

Open the contributing guide

Research direction

Start at the default CdkSynth implementation and compare how it detects npm and yarn lockfiles, especially yarn.lock. Update the detection to account for pnpm-lock.yaml, then run the relevant CDK Pipelines tests if available; done means pnpm projects use the expected package manager by default without changing npm or yarn behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.