mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-23 08:08:05 -04:00
feat: allow os and cpu in publishConfig
This commit is contained in:
5
.changeset/perfect-gifts-scream.md
Normal file
5
.changeset/perfect-gifts-scream.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/exportable-manifest": minor
|
||||
---
|
||||
|
||||
Allow to set `os` and `cpu` in `publishConfig`.
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user