powerautodoc 0.1.31 → 0.1.32

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.
package/dist/index.js CHANGED
@@ -31,9 +31,9 @@ function validateSolutionPath(unpackedPath) {
31
31
  if (!fs.existsSync(unpackedPath)) {
32
32
  return `Folder not found: ${unpackedPath}\n → Has the solution been unpacked? Run: pac solution unpack --zipfile MySolution.zip --folder ${unpackedPath}`;
33
33
  }
34
- const solutionXml = path.join(unpackedPath, 'Other', 'solution.xml');
34
+ const solutionXml = path.join(unpackedPath, 'Other', 'Solution.xml');
35
35
  if (!fs.existsSync(solutionXml)) {
36
- return `No Other/solution.xml found in: ${unpackedPath}\n → This doesn't look like a pac-unpacked solution folder`;
36
+ return `No Other/Solution.xml found in: ${unpackedPath}\n → This doesn't look like a pac-unpacked solution folder`;
37
37
  }
38
38
  return null;
39
39
  }
@@ -16,9 +16,9 @@ function getEnglishLabel(localizedNames) {
16
16
  return english?.['@_description'] ?? '';
17
17
  }
18
18
  export function parseSolutionManifest(unpackedPath) {
19
- const manifestPath = path.join(unpackedPath, 'Other', 'solution.xml');
19
+ const manifestPath = path.join(unpackedPath, 'Other', 'Solution.xml');
20
20
  if (!fs.existsSync(manifestPath)) {
21
- console.warn(`No solution.xml found at: ${manifestPath}`);
21
+ console.warn(`No Solution.xml found at: ${manifestPath}`);
22
22
  // Return a minimal model so the rest of the pipeline doesn't break
23
23
  return {
24
24
  uniqueName: 'Unknown',
@@ -37,7 +37,7 @@ export function parseSolutionManifest(unpackedPath) {
37
37
  const parsed = parser.parse(raw);
38
38
  const manifest = parsed?.ImportExportXml?.SolutionManifest;
39
39
  if (!manifest)
40
- throw new Error('Invalid solution.xml — no SolutionManifest found');
40
+ throw new Error('Invalid Solution.xml — no SolutionManifest found');
41
41
  const publisher = manifest.Publisher;
42
42
  return {
43
43
  uniqueName: manifest.UniqueName ?? '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerautodoc",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "Automated as-built documentation generator for Power Platform solutions",
5
5
  "type": "module",
6
6
  "postbuild": "sed -i '1s|^|#!/usr/bin/env node\\n|' dist/index.js && chmod +x dist/index.js",