@oh-my-pi/pi-utils 15.13.3 → 16.0.0

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.
@@ -119,6 +119,10 @@ export declare function getPythonEnvDir(): string;
119
119
  export declare function getPythonGatewayDir(): string;
120
120
  /** Get the puppeteer sandbox directory (~/.omp/puppeteer). */
121
121
  export declare function getPuppeteerDir(): string;
122
+ /** Get DOCS_RS cache directory () */
123
+ export declare function getDocsRsCacheDir(): string;
124
+ /**Get AutoQa db directory */
125
+ export declare function getAutoQaDbDir(): string;
122
126
  /**
123
127
  * Stable 7-character hex digest of an absolute filesystem path.
124
128
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-utils",
4
- "version": "15.13.3",
4
+ "version": "16.0.0",
5
5
  "description": "Shared utilities for pi packages",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -31,7 +31,7 @@
31
31
  "fmt": "biome format --write ."
32
32
  },
33
33
  "dependencies": {
34
- "@oh-my-pi/pi-natives": "15.13.3",
34
+ "@oh-my-pi/pi-natives": "16.0.0",
35
35
  "beautiful-mermaid": "^1.1.3",
36
36
  "handlebars": "^4.7.9",
37
37
  "winston": "^3.19.0",
package/src/dirs.ts CHANGED
@@ -556,6 +556,15 @@ export function getPuppeteerDir(): string {
556
556
  return dirs.rootSubdir("puppeteer", "cache");
557
557
  }
558
558
 
559
+ /** Get DOCS_RS cache directory () */
560
+ export function getDocsRsCacheDir(): string {
561
+ return dirs.rootSubdir("webcache", "cache");
562
+ }
563
+
564
+ /**Get AutoQa db directory */
565
+ export function getAutoQaDbDir(): string {
566
+ return dirs.rootSubdir("autoqa.db", "data");
567
+ }
559
568
  /**
560
569
  * Stable 7-character hex digest of an absolute filesystem path.
561
570
  *