@oh-my-pi/pi-utils 15.5.10 → 15.5.12
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 +3 -3
- package/package.json +2 -2
- package/src/dirs.ts +6 -6
package/dist/types/dirs.d.ts
CHANGED
|
@@ -56,11 +56,11 @@ export declare function getLogPath(date?: Date): string;
|
|
|
56
56
|
*/
|
|
57
57
|
export declare function getPluginsDir(home?: string): string;
|
|
58
58
|
/** Where npm installs packages (~/.omp/plugins/node_modules). */
|
|
59
|
-
export declare function getPluginsNodeModules(): string;
|
|
59
|
+
export declare function getPluginsNodeModules(home?: string): string;
|
|
60
60
|
/** Plugin manifest (~/.omp/plugins/package.json). */
|
|
61
|
-
export declare function getPluginsPackageJson(): string;
|
|
61
|
+
export declare function getPluginsPackageJson(home?: string): string;
|
|
62
62
|
/** Plugin lock file (~/.omp/plugins/omp-plugins.lock.json). */
|
|
63
|
-
export declare function getPluginsLockfile(): string;
|
|
63
|
+
export declare function getPluginsLockfile(home?: string): string;
|
|
64
64
|
/** Get the remote mount directory (~/.omp/remote). */
|
|
65
65
|
export declare function getRemoteDir(): string;
|
|
66
66
|
/** Get the agent-managed worktrees directory (~/.omp/wt). */
|
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.5.
|
|
4
|
+
"version": "15.5.12",
|
|
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.5.
|
|
34
|
+
"@oh-my-pi/pi-natives": "15.5.12",
|
|
35
35
|
"beautiful-mermaid": "^1.1.3",
|
|
36
36
|
"handlebars": "^4.7.9",
|
|
37
37
|
"winston": "^3.19.0",
|
package/src/dirs.ts
CHANGED
|
@@ -260,18 +260,18 @@ export function getPluginsDir(home?: string): string {
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
/** Where npm installs packages (~/.omp/plugins/node_modules). */
|
|
263
|
-
export function getPluginsNodeModules(): string {
|
|
264
|
-
return path.join(getPluginsDir(), "node_modules");
|
|
263
|
+
export function getPluginsNodeModules(home?: string): string {
|
|
264
|
+
return path.join(getPluginsDir(home), "node_modules");
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/** Plugin manifest (~/.omp/plugins/package.json). */
|
|
268
|
-
export function getPluginsPackageJson(): string {
|
|
269
|
-
return path.join(getPluginsDir(), "package.json");
|
|
268
|
+
export function getPluginsPackageJson(home?: string): string {
|
|
269
|
+
return path.join(getPluginsDir(home), "package.json");
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
/** Plugin lock file (~/.omp/plugins/omp-plugins.lock.json). */
|
|
273
|
-
export function getPluginsLockfile(): string {
|
|
274
|
-
return path.join(getPluginsDir(), "omp-plugins.lock.json");
|
|
273
|
+
export function getPluginsLockfile(home?: string): string {
|
|
274
|
+
return path.join(getPluginsDir(home), "omp-plugins.lock.json");
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
/** Get the remote mount directory (~/.omp/remote). */
|