mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-23 23:29:17 -05:00
fix: deploy should maintain type on new manifest (#9002)
This commit is contained in:
6
.changeset/happy-bottles-greet.md
Normal file
6
.changeset/happy-bottles-greet.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/plugin-commands-deploy": patch
|
||||
"@pnpm/types": patch
|
||||
---
|
||||
|
||||
Fix `pnpm deploy` creating a package.json without the `"type"` key [#8962](https://github.com/pnpm/pnpm/issues/8962).
|
||||
@@ -72,6 +72,7 @@ export interface TypesVersions {
|
||||
export interface BaseManifest {
|
||||
name?: string
|
||||
version?: string
|
||||
type?: string
|
||||
bin?: PackageBin
|
||||
description?: string
|
||||
directories?: {
|
||||
|
||||
@@ -29,6 +29,7 @@ const INHERITED_MANIFEST_KEYS = [
|
||||
'version',
|
||||
'private',
|
||||
'author',
|
||||
'type',
|
||||
'bin',
|
||||
'scripts',
|
||||
'packageManager',
|
||||
|
||||
Reference in New Issue
Block a user