Skip to content

Commit 668c50e

Browse files
committed
Publish peerDependenciesMeta updates on existing dist branches
1 parent a7a0a26 commit 668c50e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
# `exports` points at ./dist/*, so keep the directory rather than
4747
# letting the build output flatten to the branch root.
4848
preserve_dirs: dist
49+
# npm-dist's default merge list omits peerDependenciesMeta, leaving
50+
# newly added optional peers required on an existing dist branch.
51+
pkg_include: name,description,type,bin,main,keywords,repository,author,license,homepage,bugs,exports,dependencies,peerDependencies,peerDependenciesMeta,optionalDependencies
4952
# Migrations are public surface (`./migrations/*`) but aren't build
5053
# output, so they have to be carried over explicitly. Ship the whole
5154
# directory (npm-dist `cp -r`s a dir entry) rather than a hand-kept

0 commit comments

Comments
 (0)