@tinyrack/dotweave 0.41.1 → 0.42.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.
package/dist/lib/filesystem.d.ts
CHANGED
|
@@ -8,17 +8,17 @@ export declare const pathExists: (path: string) => Promise<boolean>;
|
|
|
8
8
|
* @description
|
|
9
9
|
* Reads path metadata while treating missing paths as an absent result.
|
|
10
10
|
*/
|
|
11
|
-
export declare const getPathStats: (path: string) => Promise<import("
|
|
11
|
+
export declare const getPathStats: (path: string) => Promise<import("fs").Stats | undefined>;
|
|
12
12
|
/**
|
|
13
13
|
* @description
|
|
14
14
|
* Reads path metadata while following symlinks and treating missing paths as an absent result.
|
|
15
15
|
*/
|
|
16
|
-
export declare const getFollowedPathStats: (path: string) => Promise<import("
|
|
16
|
+
export declare const getFollowedPathStats: (path: string) => Promise<import("fs").Stats | undefined>;
|
|
17
17
|
/**
|
|
18
18
|
* @description
|
|
19
19
|
* Lists directory entries in a stable name-sorted order.
|
|
20
20
|
*/
|
|
21
|
-
export declare const listDirectoryEntries: (path: string) => Promise<import("
|
|
21
|
+
export declare const listDirectoryEntries: (path: string) => Promise<import("fs").Dirent<string>[]>;
|
|
22
22
|
/**
|
|
23
23
|
* @description
|
|
24
24
|
* Writes a regular file node with the permissions dotweave should preserve.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../src/lib/filesystem.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,EAWN,MAAM,kBAAkB,CAAC;AAK1B;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAU,MAAM,MAAM,qBAU5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAU,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../src/lib/filesystem.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,EAWN,MAAM,kBAAkB,CAAC;AAK1B;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAU,MAAM,MAAM,qBAU5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAU,MAAM,MAAM,4CAa9C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAU,MAAM,MAAM,4CAatD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAU,MAAM,MAAM,2CAKtD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,GACxB,MAAM,MAAM,EACZ,MAAM,QAAQ,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC,EACF,WAAW,MAAM,kBAKlB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,MAAM,MAAM,EACZ,OAAO,MAAM,GAAG,KAAK,GAAG,UAAU,kBAqBnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAU,MAAM,MAAM,EAAE,YAAY,MAAM,kBAItE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,YAAY,MAAM,EAClB,YAAY,MAAM,EAClB,QAAQ,OAAO,CAAC,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,kBAkC1C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAChC,YAAY,MAAM,EAClB,UAAU,MAAM,kBA6BjB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAU,YAAY,MAAM,kBAc5D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,GAClC,YAAY,MAAM,EAClB,UAAU,MAAM,kBAcjB,CAAC"}
|
package/dist/services/set.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare const resolveSetTarget: (target: string, config: Awaited<ReturnTy
|
|
|
34
34
|
localPath: string;
|
|
35
35
|
relativePath: string;
|
|
36
36
|
repoPath: string;
|
|
37
|
-
stats: import("
|
|
37
|
+
stats: import("fs").Stats | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export declare const setTargetMode: (request: SetModeRequest, cwd: string) => Promise<SetModeResult>;
|
|
40
40
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinyrack/dotweave",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0",
|
|
4
4
|
"description": "A personal CLI tool for git-backed configuration sync.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"LICENSE"
|
|
41
41
|
],
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=24.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@stricli/core": "^1.2.6",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@biomejs/biome": "^2.4.14",
|
|
54
|
-
"@types/node": "^
|
|
54
|
+
"@types/node": "^24.0.0",
|
|
55
55
|
"@vitest/coverage-v8": "^4.1.5",
|
|
56
56
|
"execa": "^9.6.1",
|
|
57
57
|
"node-gyp": "^12.3.0",
|
|
58
58
|
"node-pty": "^1.1.0",
|
|
59
59
|
"typescript": "^6.0.3",
|
|
60
|
-
"vite": "^
|
|
60
|
+
"vite": "^8.0.10",
|
|
61
61
|
"vitest": "^4.1.5",
|
|
62
62
|
"@tinyrack/dotweave-tools": "1.0.0"
|
|
63
63
|
},
|
|
@@ -66,9 +66,8 @@
|
|
|
66
66
|
"build": "tsc -p tsconfig.build.json",
|
|
67
67
|
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
68
68
|
"prebuild": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"sea:smoke": "dotweave-tools sea smoke --skip-build",
|
|
69
|
+
"pkg:build": "dotweave-tools pkg build",
|
|
70
|
+
"pkg:smoke": "dotweave-tools pkg smoke --skip-build",
|
|
72
71
|
"start": "node dist/index.js",
|
|
73
72
|
"typecheck": "tsc -p tsconfig.json",
|
|
74
73
|
"test": "vitest run",
|