Skip to content

Commit

Permalink
fix: yarn prepare (#3251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad authored Nov 6, 2023
1 parent ea2f9a7 commit d02726f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ function getUpdatedValue(source, target, key) {
} else if (key === 'files') {
const res = [...target[key], ...value];
return Array.from(new Set(res));
} else if (key === 'types') {
// there should be a "types" key in package.json, but allow packages to overwrite it
return target[key] ?? value;
} else {
return value;
}
Expand Down

0 comments on commit d02726f

Please sign in to comment.