@narumitw/pi-sync 0.39.0 → 0.40.1
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 +2 -2
- package/src/sync-policy.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narumitw/pi-sync",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.1",
|
|
4
4
|
"description": "Pi extension that syncs Pi configuration through Git, WebDAV, Cloudflare R2, or S3-compatible storage.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typecheck": "tsc --noEmit"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@narumitw/pi-tui-kit": "
|
|
39
|
+
"@narumitw/pi-tui-kit": "^0.40.0",
|
|
40
40
|
"fast-xml-parser": "^5.10.1",
|
|
41
41
|
"proper-lockfile": "^4.1.2"
|
|
42
42
|
},
|
package/src/sync-policy.ts
CHANGED
|
@@ -28,7 +28,7 @@ const TOP_LEVEL_FILE_PATHS = new Map<string, string>(
|
|
|
28
28
|
const TOP_LEVEL_DIRS = new Set<string>(
|
|
29
29
|
BUILT_IN_SYNC_ROOTS.filter((fileName) => !fileName.includes(".")),
|
|
30
30
|
);
|
|
31
|
-
const RESERVED_TOP_LEVEL_NAMES = new Set<string>([...
|
|
31
|
+
const RESERVED_TOP_LEVEL_NAMES = new Set<string>([...BUILT_IN_BY_LOWER.keys(), "sessions"]);
|
|
32
32
|
|
|
33
33
|
export function normalizeSyncInclude(value: unknown): string[] {
|
|
34
34
|
if (!Array.isArray(value)) {
|