pub async fn preprocess_package_json(
fs: &dyn Fs,
package_path: &Url,
pkg: &mut PackageJson,
)Expand description
Preprocess a package.json: expand lsd:module: true into full IRI,
auto-detect components and config directories.
Mirrors ModuleStateBuilder.preprocessPackageJson.