@codama/renderers-js 1.5.3 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -431,7 +431,8 @@ async function formatCode(renderMap, options) {
431
431
  }
432
432
  async function resolvePrettierOptions(packageFolder) {
433
433
  if (!packageFolder) return null;
434
- return await prettier.resolveConfig(packageFolder);
434
+ const filePathToResolve = renderersCore.joinPath(packageFolder, "package.json");
435
+ return await prettier.resolveConfig(filePathToResolve);
435
436
  }
436
437
  function getImportFromFactory(overrides, customAccountData, customInstructionData) {
437
438
  const customDataOverrides = Object.fromEntries(