@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.
@@ -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
- additional: (relativePath: string) => {
600
- if (
601
- relativePath.startsWith('build/') ||
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.4'; // x-release-please-version
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.4";
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.4";
1
+ export declare const VERSION = "0.39.5";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.39.4'; // x-release-please-version
4
+ exports.VERSION = '0.39.5'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.39.4'; // x-release-please-version
1
+ export const VERSION = '0.39.5'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map