cli: trim typesVersions from published packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -63,6 +63,9 @@ export async function productionPack(options: ProductionPackOptions) {
|
||||
}
|
||||
}
|
||||
|
||||
// For published packages we rely on compatibility entry points rather than this
|
||||
delete pkg.typesVersions;
|
||||
|
||||
// We remove the dependencies from package.json of packages that are marked
|
||||
// as bundled, so that yarn doesn't try to install them.
|
||||
if (pkg.bundled) {
|
||||
|
||||
Reference in New Issue
Block a user