@oh-my-pi/pi-utils 13.7.3 → 13.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dirs.ts +4 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-utils",
4
- "version": "13.7.3",
4
+ "version": "13.7.5",
5
5
  "description": "Shared utilities for pi packages",
6
6
  "homepage": "https://github.com/can1357/oh-my-pi",
7
7
  "author": "Can Boluk",
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
  // =============================================================================