@oh-my-pi/pi-utils 13.7.1 → 13.7.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.
- package/package.json +1 -1
- package/src/dirs.ts +4 -1
package/package.json
CHANGED
package/src/dirs.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import * as fs from "node:fs";
|
|
9
9
|
import * as os from "node:os";
|
|
10
10
|
import * as path from "node:path";
|
|
11
|
-
import { version } from "../package.json" with { type: "json" };
|
|
11
|
+
import { engines, version } from "../package.json" with { type: "json" };
|
|
12
12
|
|
|
13
13
|
/** App name (e.g. "omp") */
|
|
14
14
|
export const APP_NAME: string = "omp";
|
|
@@ -19,6 +19,9 @@ export const CONFIG_DIR_NAME: string = ".omp";
|
|
|
19
19
|
/** Version (e.g. "1.0.0") */
|
|
20
20
|
export const VERSION: string = version;
|
|
21
21
|
|
|
22
|
+
/** Minimum Bun version */
|
|
23
|
+
export const MIN_BUN_VERSION: string = engines.bun.replace(/[^0-9.]/g, "");
|
|
24
|
+
|
|
22
25
|
// =============================================================================
|
|
23
26
|
// Root directories
|
|
24
27
|
// =============================================================================
|