typedoc-plugin-resolve-crossmodule-references
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -120,3 +120,6 @@ "use strict"; | ||
return type; | ||
const moduleName = JSON.parse((0, fs_1.readFileSync)(moduleFilePath).toString('utf8')).name; | ||
const moduleConfig = JSON.parse((0, fs_1.readFileSync)(moduleFilePath).toString('utf8')); | ||
// Ideally we wouldn't use typedoc's displayName and look for the module by originalName | ||
// But typedoc sets originalName to the same value as displayName... | ||
const moduleName = moduleConfig?.typedoc?.displayName ?? moduleConfig.name; | ||
module = project.getChildrenByKind(typedoc_1.ReflectionKind.Module).find(({ name }) => moduleName === name); | ||
@@ -123,0 +126,0 @@ fileNameToModule.set(fileName, module); |
{ | ||
"name": "typedoc-plugin-resolve-crossmodule-references", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "TypeDoc plugin for resolving cross module reference in a mono-repository", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19742
156