Function processPackageJson
- processPackageJson(
params: {
bundledWorkspaceDeps?: RegExp[];
fixedVersion?: string;
onlyEntrypoints?: boolean;
packageJson: PackageJson;
rootFieldsToCopy?: string[];
rootPackageJson?: PackageJson;
workspaceVersions?: Record<string, string>;
},
): {
entrypoints: Record<string, string>;
packageJson: PackageJson;
packageJsonOrig: PackageJson;
} Parameters
- params: {
bundledWorkspaceDeps?: RegExp[];
fixedVersion?: string;
onlyEntrypoints?: boolean;
packageJson: PackageJson;
rootFieldsToCopy?: string[];
rootPackageJson?: PackageJson;
workspaceVersions?: Record<string, string>;
}
Returns {
entrypoints: Record<string, string>;
packageJson: PackageJson;
packageJsonOrig: PackageJson;
}