We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b15137d commit 54a8e09Copy full SHA for 54a8e09
smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptSettings.java
@@ -635,7 +635,8 @@ public static RequiredMemberMode fromString(String s) {
635
636
public enum PackageManager {
637
YARN("yarn"),
638
- NPM("npm");
+ NPM("npm"),
639
+ PNPM("pnpm");
640
641
private final String command;
642
@@ -654,6 +655,9 @@ public static PackageManager fromString(String s) {
654
655
if ("npm".equals(s)) {
656
return NPM;
657
}
658
+ if ("pnpm".equals(s)) {
659
+ return PNPM;
660
+ }
661
throw new CodegenException(String.format("Unsupported package manager: %s", s));
662
663
0 commit comments