Package org.openrewrite.javascript.internal
package org.openrewrite.javascript.internal
-
ClassesClassDescriptionConverts a
bun.lockJSONC string into the npmpackage-lock.jsonv3 shape consumed byLockFileParser.A segment in a transitive-dependency override path.Parses an npmpackage-lock.jsonv3-format string into structuredNodeResolutionResult.ResolvedDependencyinstances.Regenerate a JavaScript project's lock file by running the package manager in a temp directory seeded with the package.json and (optionally) the existing lock file plus config files such as.npmrc.A dependency match for `UpgradeDependencyVersion`: where it lives + its current version.Shared utilities for npm dependency recipes operating on package.json files and their associated lock files.PortsparseDependencyPathandapplyOverrideToPackageJsonfromdependency-manager.ts.Locates and runs a Node.js package manager CLI (npm, yarn, pnpm, bun).Converts apnpm-lock.yamlinto the npm v3 shape consumed byLockFileParser.Converts a yarn 2+ (Berry)yarn.lock(YAML) into the npm v3 shape consumed byLockFileParser.Converts a yarn 1.xyarn.lock(custom non-YAML format) into the npmpackage-lock.jsonv3 shape consumed byLockFileParser.