Skip to content

Commit

Permalink
fix: optional deps (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Aug 31, 2024
1 parent 7f48676 commit 1b55a91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ async function writeDeps(p: string, deps: Map<string, string>, realDeps: Map<str

hijackDeps(deps, pJson.dependencies);
hijackDeps(deps, pJson.devDependencies);
hijackDeps(deps, pJson.optionalDependencies);

if (realDeps) {
hijackDeps(realDeps, pJson.peerDependencies);
Expand Down

0 comments on commit 1b55a91

Please sign in to comment.