feat: allow os and cpu in publishConfig

This commit is contained in:
Zoltan Kochan
2021-11-11 02:02:53 +02:00
parent ebc39c7a16
commit 6428690e2a
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/exportable-manifest": minor
---
Allow to set `os` and `cpu` in `publishConfig`.

View File

@@ -22,6 +22,9 @@ const PUBLISH_CONFIG_WHITELIST = new Set([
'es2015',
'unpkg',
'umd:main',
// These are useful to hide in order to avoid warnings during local development
'os',
'cpu',
])
const PREPUBLISH_SCRIPTS = [