mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-23 23:29:17 -05:00
feat: support engines in publishConfig (#10169)
This commit is contained in:
6
.changeset/two-colts-talk.md
Normal file
6
.changeset/two-colts-talk.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/exportable-manifest": minor
|
||||
"pnpm": minor
|
||||
---
|
||||
|
||||
Allow to override the `engines` field on publish by the `publishConfig.engines` field.
|
||||
@@ -5,6 +5,7 @@ import { isEmpty } from 'ramda'
|
||||
const PUBLISH_CONFIG_WHITELIST = new Set([
|
||||
// manifest fields that may make sense to overwrite
|
||||
'bin',
|
||||
'engines',
|
||||
'type',
|
||||
'imports',
|
||||
// https://github.com/stereobooster/package.json#package-bundlers
|
||||
|
||||
Reference in New Issue
Block a user