froggy-docs 1.0.4 → 1.0.5

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/bin/froggy-docs CHANGED
Binary file
@@ -29,10 +29,12 @@ const _corsHeaders = {
29
29
  String get _packageDir {
30
30
  final exePath = Platform.resolvedExecutable;
31
31
  final exeDir = File(exePath).parent.path;
32
+ final packageDir = p.dirname(exeDir);
32
33
  print('DEBUG: exePath = $exePath');
33
34
  print('DEBUG: exeDir = $exeDir');
34
- print('DEBUG: webDir = ${p.join(exeDir, 'frontend', 'web')}');
35
- return exeDir;
35
+ print('DEBUG: packageDir = $packageDir');
36
+ print('DEBUG: webDir = ${p.join(packageDir, 'frontend', 'web')}');
37
+ return packageDir;
36
38
  }
37
39
 
38
40
  String get webDir => p.join(_packageDir, 'frontend', 'web');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froggy-docs",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Auto-generate API documentation from code annotations. Works with any programming language.",
5
5
  "author": "Kaung Mrat Thu <kaungmyatthuu.dev@gmail.com>",
6
6
  "homepage": "https://github.com/Kaung-Myat/froggydocs",