This issue suggests moving the onlyBuiltDependencies config from the package.json file to a new pnpm-workspace.yaml file. This suggestion mainly is proposed because on the newer version of pnpm the pnpm approve-builds command will write the configuration to the pnpm-workspace.yaml file instead of the package.json file.
This issue suggests moving the
onlyBuiltDependenciesconfig from thepackage.jsonfile to a newpnpm-workspace.yamlfile. This suggestion mainly is proposed because on the newer version of pnpm thepnpm approve-buildscommand will write the configuration to thepnpm-workspace.yamlfile instead of thepackage.jsonfile.