Skip to content

Conversation

@nhedger
Copy link
Contributor

@nhedger nhedger commented Apr 14, 2022

Description

This PR adds support for pnpm as a package manager.

Closes #324

Changes

Based on the existing tests, I've created additional tests to validate support for pnpm with all relevant templates.

While implementing the sample notebook renderer with pnpm test, I had to update the ext-notebook-renderer template because the package manager was hardcoded to npm. It will now be replaced by the selected package manager, as in other templates.

Modifying the ext-notebook-renderer template initially broke the sample notebook renderer test because the prompt defined yarn while it expected to find npm. I fixed that by replacing the prompt with npm.

Checklist

  • Tests cover pnpm usage
  • CLI help has been updated to include pnpm
  • CLI prompt has been updated to include pnpm
  • Readme has been updated to include pnpm

@ghost
Copy link

ghost commented Apr 14, 2022

CLA assistant check
All CLA requirements met.

@nhedger nhedger marked this pull request as ready for review April 14, 2022 22:36
@nhedger nhedger marked this pull request as draft April 14, 2022 23:45
@nhedger nhedger marked this pull request as ready for review April 14, 2022 23:53
@nhedger
Copy link
Contributor Author

nhedger commented Jun 11, 2022

Hey @aeschli,

Friendly ping about this PR.

Is anything else needed from me to move forward with it?

@aeschli aeschli self-assigned this Jul 6, 2022
@aeschli aeschli self-requested a review July 6, 2022 13:15
@aeschli aeschli added this to the July 2022 milestone Jul 6, 2022
@aeschli aeschli requested a review from dbaeumer July 6, 2022 13:17
@aeschli aeschli merged commit 3b223ed into microsoft:main Jul 6, 2022
@aeschli
Copy link
Collaborator

aeschli commented Jul 6, 2022

Thanks @nhedger !

@nhedger nhedger deleted the feat/add-pnpm-support branch July 6, 2022 16:24
@awxiaoxian2020
Copy link

I think we should revert this. Because vsce doesn't support pnpm. See microsoft/vscode-vsce#421 (comment)

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.

Add pnpm as a package manager

4 participants