Class BunLockAdapter
java.lang.Object
org.openrewrite.javascript.internal.BunLockAdapter
Converts a
bun.lock JSONC string into the npm package-lock.json v3
shape consumed by LockFileParser.
bun.lock entries are arrays: [name@version, url, metadata, integrity].
Path keys are bare names for top-level deps and "parent/child" for
nested deps. The adapter rewrites those into npm-style node_modules/<name>
and node_modules/parent/node_modules/child keys.
-
Method Summary
-
Method Details
-
toNpmV3
-