diff --git a/cli/src/pre-publish.ts b/cli/src/pre-publish.ts index 9a09c789..3248162c 100644 --- a/cli/src/pre-publish.ts +++ b/cli/src/pre-publish.ts @@ -46,7 +46,7 @@ export class PrePublishCommand extends Command { await updatePackageJson(packageJsonPath, { optionalDependencies: platforms.reduce( (acc: Record, cur) => { - acc[`${packageName}-${cur.platformArchABI}`] = `^${version}` + acc[`${packageName}-${cur.platformArchABI}`] = `${version}` return acc }, {},