fix(cli): version of binary optional dependencies should be pinned
This commit is contained in:
parent
893a91388c
commit
27dbca814c
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ export class PrePublishCommand extends Command {
|
|||
await updatePackageJson(packageJsonPath, {
|
||||
optionalDependencies: platforms.reduce(
|
||||
(acc: Record<string, string>, cur) => {
|
||||
acc[`${packageName}-${cur.platformArchABI}`] = `^${version}`
|
||||
acc[`${packageName}-${cur.platformArchABI}`] = `${version}`
|
||||
return acc
|
||||
},
|
||||
{},
|
||||
|
|
Loading…
Reference in a new issue