@limrun/api 0.39.4 → 0.39.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.
- package/CHANGELOG.md +4 -0
- package/folder-sync-ignore.d.mts +38 -0
- package/folder-sync-ignore.d.mts.map +1 -1
- package/folder-sync-ignore.d.ts +38 -0
- package/folder-sync-ignore.d.ts.map +1 -1
- package/folder-sync-ignore.js +107 -12
- package/folder-sync-ignore.js.map +1 -1
- package/folder-sync-ignore.mjs +107 -12
- package/folder-sync-ignore.mjs.map +1 -1
- package/folder-sync.d.mts +6 -0
- package/folder-sync.d.mts.map +1 -1
- package/folder-sync.d.ts +6 -0
- package/folder-sync.d.ts.map +1 -1
- package/folder-sync.js +153 -13
- package/folder-sync.js.map +1 -1
- package/folder-sync.mjs +153 -13
- package/folder-sync.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/xcode-instances-helpers.d.mts +6 -0
- package/resources/xcode-instances-helpers.d.mts.map +1 -1
- package/resources/xcode-instances-helpers.d.ts +6 -0
- package/resources/xcode-instances-helpers.d.ts.map +1 -1
- package/resources/xcode-instances-helpers.js +7 -25
- package/resources/xcode-instances-helpers.js.map +1 -1
- package/resources/xcode-instances-helpers.mjs +7 -25
- package/resources/xcode-instances-helpers.mjs.map +1 -1
- package/src/folder-sync-ignore.ts +128 -12
- package/src/folder-sync.ts +189 -17
- package/src/resources/xcode-instances-helpers.ts +13 -29
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -45,6 +45,12 @@ export type SyncOptions = {
|
|
|
45
45
|
* Return true to ignore, false to keep.
|
|
46
46
|
*/
|
|
47
47
|
ignore?: (relativePath: string) => boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Optional predicate for force-including paths that would otherwise be
|
|
50
|
+
* dropped (gitignored generated sources, default Xcode excludes). Same
|
|
51
|
+
* calling convention as `ignore`; return true to force-sync the path.
|
|
52
|
+
*/
|
|
53
|
+
include?: (relativePath: string) => boolean;
|
|
48
54
|
/**
|
|
49
55
|
* Extra files to sync on every sync pass.
|
|
50
56
|
*/
|
|
@@ -596,40 +602,18 @@ export class XcodeInstances extends GeneratedXcodeInstances {
|
|
|
596
602
|
ignoreFn: await createIgnoreFn(localCodePath, {
|
|
597
603
|
basisCacheDir,
|
|
598
604
|
log,
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
relativePath.startsWith('.build/') ||
|
|
603
|
-
relativePath.startsWith('DerivedData/') ||
|
|
604
|
-
relativePath.startsWith('Index.noindex/') ||
|
|
605
|
-
relativePath.startsWith('ModuleCache.noindex/') ||
|
|
606
|
-
relativePath.startsWith('.index-build/')
|
|
607
|
-
) {
|
|
608
|
-
return true;
|
|
609
|
-
}
|
|
610
|
-
if (
|
|
611
|
-
relativePath.startsWith('.swiftpm/') ||
|
|
612
|
-
relativePath.startsWith('Pods/') ||
|
|
613
|
-
relativePath.startsWith('Carthage/Build/')
|
|
614
|
-
) {
|
|
615
|
-
return true;
|
|
616
|
-
}
|
|
617
|
-
if (relativePath.includes('/xcuserdata/')) {
|
|
618
|
-
return true;
|
|
619
|
-
}
|
|
620
|
-
if (relativePath.includes('.dSYM/')) {
|
|
621
|
-
return true;
|
|
622
|
-
}
|
|
623
|
-
if (opts?.ignore?.(relativePath)) {
|
|
624
|
-
return true;
|
|
625
|
-
}
|
|
626
|
-
return false;
|
|
627
|
-
},
|
|
605
|
+
xcodeDefaults: true,
|
|
606
|
+
...(opts?.include ? { include: opts.include } : {}),
|
|
607
|
+
...(opts?.ignore ? { additional: opts.ignore } : {}),
|
|
628
608
|
}),
|
|
629
609
|
basisCacheDir,
|
|
630
610
|
watch: opts?.watch ?? true,
|
|
631
611
|
launchMode: 'ForegroundIfRunning',
|
|
632
612
|
log,
|
|
613
|
+
// The limbuild workspace sync understands symlink entries; the
|
|
614
|
+
// limulator app-install sync (ios-client.ts) does not and keeps
|
|
615
|
+
// the default skip behavior.
|
|
616
|
+
syncSymlinks: true,
|
|
633
617
|
...(additionalFiles ? { additionalFiles } : {}),
|
|
634
618
|
};
|
|
635
619
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.39.
|
|
1
|
+
export const VERSION = '0.39.5'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.39.
|
|
1
|
+
export declare const VERSION = "0.39.5";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.39.
|
|
1
|
+
export declare const VERSION = "0.39.5";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.39.
|
|
1
|
+
export const VERSION = '0.39.5'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|