@limrun/api 0.28.5 → 0.28.7

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/exec-client.d.mts +5 -0
  9. package/exec-client.d.mts.map +1 -1
  10. package/exec-client.d.ts +5 -0
  11. package/exec-client.d.ts.map +1 -1
  12. package/exec-client.js.map +1 -1
  13. package/exec-client.mjs.map +1 -1
  14. package/http-proxy.d.mts +11 -0
  15. package/http-proxy.d.mts.map +1 -0
  16. package/http-proxy.d.ts +11 -0
  17. package/http-proxy.d.ts.map +1 -0
  18. package/http-proxy.js +66 -0
  19. package/http-proxy.js.map +1 -0
  20. package/http-proxy.mjs +62 -0
  21. package/http-proxy.mjs.map +1 -0
  22. package/index.d.mts +2 -1
  23. package/index.d.mts.map +1 -1
  24. package/index.d.ts +2 -1
  25. package/index.d.ts.map +1 -1
  26. package/index.js +3 -1
  27. package/index.js.map +1 -1
  28. package/index.mjs +1 -0
  29. package/index.mjs.map +1 -1
  30. package/ios-client.d.mts +18 -0
  31. package/ios-client.d.mts.map +1 -1
  32. package/ios-client.d.ts +18 -0
  33. package/ios-client.d.ts.map +1 -1
  34. package/ios-client.js +44 -2
  35. package/ios-client.js.map +1 -1
  36. package/ios-client.mjs +44 -2
  37. package/ios-client.mjs.map +1 -1
  38. package/ios-shim.d.mts +25 -0
  39. package/ios-shim.d.mts.map +1 -0
  40. package/ios-shim.d.ts +25 -0
  41. package/ios-shim.d.ts.map +1 -0
  42. package/ios-shim.js +352 -0
  43. package/ios-shim.js.map +1 -0
  44. package/ios-shim.mjs +346 -0
  45. package/ios-shim.mjs.map +1 -0
  46. package/package.json +21 -1
  47. package/resources/index.d.mts +1 -1
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +1 -1
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js.map +1 -1
  52. package/resources/index.mjs.map +1 -1
  53. package/resources/xcode-instances-helpers.d.mts +20 -0
  54. package/resources/xcode-instances-helpers.d.mts.map +1 -1
  55. package/resources/xcode-instances-helpers.d.ts +20 -0
  56. package/resources/xcode-instances-helpers.d.ts.map +1 -1
  57. package/resources/xcode-instances-helpers.js +4 -0
  58. package/resources/xcode-instances-helpers.js.map +1 -1
  59. package/resources/xcode-instances-helpers.mjs +4 -0
  60. package/resources/xcode-instances-helpers.mjs.map +1 -1
  61. package/src/client.ts +2 -0
  62. package/src/exec-client.ts +5 -0
  63. package/src/http-proxy.ts +85 -0
  64. package/src/index.ts +2 -0
  65. package/src/ios-client.ts +71 -2
  66. package/src/ios-shim.ts +401 -0
  67. package/src/resources/index.ts +1 -0
  68. package/src/resources/xcode-instances-helpers.ts +25 -0
  69. package/src/version.ts +1 -1
  70. package/version.d.mts +1 -1
  71. package/version.d.ts +1 -1
  72. package/version.js +1 -1
  73. package/version.mjs +1 -1
@@ -52,6 +52,11 @@ export type XcodeProjectConfig = {
52
52
  project?: string;
53
53
  scheme?: string;
54
54
  sdk?: 'iphonesimulator' | 'iphoneos' | 'watchsimulator' | 'watchos';
55
+ /**
56
+ * xcodebuild configuration. Omit to use limbuild's project-type default:
57
+ * Debug for native Xcode builds and Release for React Native / Expo builds.
58
+ */
59
+ configuration?: 'Debug' | 'Release';
55
60
  };
56
61
 
57
62
  export type XcodeSigningConfig = {
@@ -60,9 +65,25 @@ export type XcodeSigningConfig = {
60
65
  provisioningProfileBase64?: string;
61
66
  };
62
67
 
68
+ export type ReactNativeBuildConfig = {
69
+ /**
70
+ * Relative path from the synced workspace root to the Expo app directory.
71
+ * Omit to let limbuild auto-detect the app.
72
+ */
73
+ expoAppDir?: string;
74
+ /**
75
+ * Direct Metro / Expo development server URL for RN/Expo Debug builds, such
76
+ * as the https://...exp.direct URL printed by `expo start --tunnel`.
77
+ * Requires `configuration: 'Debug'`, Expo SDK 52+, React Native 0.76+, and
78
+ * the default Swift AppDelegate generated by Expo prebuild.
79
+ */
80
+ devServerURL?: string;
81
+ };
82
+
63
83
  export type XcodeBuildOptions = {
64
84
  upload?: { assetName: string } | { signedUploadUrl: string };
65
85
  signing?: XcodeSigningConfig;
86
+ reactNative?: ReactNativeBuildConfig;
66
87
  };
67
88
 
68
89
  export type XcodeClient = {
@@ -232,9 +253,13 @@ export class XcodeInstances extends GeneratedXcodeInstances {
232
253
  },
233
254
 
234
255
  xcodebuild(settings?: XcodeProjectConfig, options?: XcodeBuildOptions): ExecChildProcess {
256
+ if (options?.reactNative?.devServerURL && settings?.configuration !== 'Debug') {
257
+ throw new Error("reactNative.devServerURL requires xcodebuild configuration 'Debug'");
258
+ }
235
259
  const request: ExecRequest = {
236
260
  command: 'xcodebuild',
237
261
  ...(settings && { xcodebuild: settings }),
262
+ ...(options?.reactNative && { reactNative: options.reactNative }),
238
263
  ...(options?.signing && { signing: options.signing }),
239
264
  };
240
265
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.28.5'; // x-release-please-version
1
+ export const VERSION = '0.28.7'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.28.5";
1
+ export declare const VERSION = "0.28.7";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.28.5";
1
+ export declare const VERSION = "0.28.7";
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.28.5'; // x-release-please-version
4
+ exports.VERSION = '0.28.7'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.28.5'; // x-release-please-version
1
+ export const VERSION = '0.28.7'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map