@oh-my-pi/pi-utils 16.3.12 → 16.3.14
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/types/dirs.d.ts +2 -0
- package/package.json +2 -2
- package/src/dirs.ts +3 -0
package/dist/types/dirs.d.ts
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
export declare const APP_NAME: string;
|
|
15
15
|
/** Config directory name (e.g. ".omp") */
|
|
16
16
|
export declare const CONFIG_DIR_NAME: string;
|
|
17
|
+
/** Ordered main settings filenames: canonical write target first, legacy-compatible YAML fallback second. */
|
|
18
|
+
export declare const MAIN_CONFIG_FILENAMES: readonly ["config.yml", "config.yaml"];
|
|
17
19
|
/** Version (e.g. "1.0.0") */
|
|
18
20
|
export declare const VERSION: string;
|
|
19
21
|
/** Minimum Bun version */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-utils",
|
|
4
|
-
"version": "16.3.
|
|
4
|
+
"version": "16.3.14",
|
|
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": "16.3.
|
|
34
|
+
"@oh-my-pi/pi-natives": "16.3.14",
|
|
35
35
|
"handlebars": "^4.7.9",
|
|
36
36
|
"winston": "^3.19.0",
|
|
37
37
|
"winston-daily-rotate-file": "^5.0.0"
|
package/src/dirs.ts
CHANGED
|
@@ -22,6 +22,9 @@ export const APP_NAME: string = "omp";
|
|
|
22
22
|
/** Config directory name (e.g. ".omp") */
|
|
23
23
|
export const CONFIG_DIR_NAME: string = ".omp";
|
|
24
24
|
|
|
25
|
+
/** Ordered main settings filenames: canonical write target first, legacy-compatible YAML fallback second. */
|
|
26
|
+
export const MAIN_CONFIG_FILENAMES = ["config.yml", "config.yaml"] as const;
|
|
27
|
+
|
|
25
28
|
/** Version (e.g. "1.0.0") */
|
|
26
29
|
export const VERSION: string = version;
|
|
27
30
|
|