peachsim 0.1.1801 → 0.1.1802
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/cli/commands/package.ts +17 -2
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +43 -19
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +10 -4
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +44 -20
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +3 -3
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +3 -3
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +23 -23
- package/dist-lib/public-origins-lib.json +52 -52
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +44 -20
- package/dist-lib/swift-compile.cjs +8 -3
- package/dist-lib/swift-compile.mjs +8 -3
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +9 -4
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/appPackageContract.ts +5 -0
- package/src/expo-native-workspace.ts +2 -0
- package/src/nitro-superset.lock.json +33 -14
- package/src/swift-shared-sdk.ts +11 -1
- package/src/turbo-source.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -3951,7 +3951,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
3951
3951
|
);
|
|
3952
3952
|
const key = JSON.stringify(["v9", toolchainBin, sdk, frameworks, swiftSdkOptions()]);
|
|
3953
3953
|
const cached = sdkViews.get(key);
|
|
3954
|
-
if (cached) return cached;
|
|
3954
|
+
if (cached) return touchSdkView(cached);
|
|
3955
3955
|
const configuration = (0, import_node_child_process6.execFileSync)(
|
|
3956
3956
|
import_node_path9.default.join(toolchainBin, "swift"),
|
|
3957
3957
|
[
|
|
@@ -4035,6 +4035,11 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4035
4035
|
}
|
|
4036
4036
|
const options = ["--swift-sdks-path", view];
|
|
4037
4037
|
sdkViews.set(key, options);
|
|
4038
|
+
return touchSdkView(options);
|
|
4039
|
+
}
|
|
4040
|
+
function touchSdkView(options) {
|
|
4041
|
+
const now = /* @__PURE__ */ new Date();
|
|
4042
|
+
import_node_fs7.default.utimesSync(options[1], now, now);
|
|
4038
4043
|
return options;
|
|
4039
4044
|
}
|
|
4040
4045
|
function swiftSharedSdkInputFiles(moduleRoot) {
|
|
@@ -7552,7 +7557,7 @@ var executableLinkFlags = (root) => ` "-Xclang-linker", "-O0",
|
|
|
7552
7557
|
var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quoted, "-Wl,--end-lib"] : [];
|
|
7553
7558
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
7554
7559
|
var MULTI_MANIFEST_VERSION = 55;
|
|
7555
|
-
var compilerSourceDigest = true ? "
|
|
7560
|
+
var compilerSourceDigest = true ? "7c4d029be9f859618f690e055ecfedb7b7adbe138aaae050c8453b88aefedfd9" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
7556
7561
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
7557
7562
|
const hash = (0, import_node_crypto8.createHash)("sha256");
|
|
7558
7563
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -3901,7 +3901,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
3901
3901
|
);
|
|
3902
3902
|
const key = JSON.stringify(["v9", toolchainBin, sdk, frameworks, swiftSdkOptions()]);
|
|
3903
3903
|
const cached = sdkViews.get(key);
|
|
3904
|
-
if (cached) return cached;
|
|
3904
|
+
if (cached) return touchSdkView(cached);
|
|
3905
3905
|
const configuration = execFileSync3(
|
|
3906
3906
|
path9.join(toolchainBin, "swift"),
|
|
3907
3907
|
[
|
|
@@ -3985,6 +3985,11 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
3985
3985
|
}
|
|
3986
3986
|
const options = ["--swift-sdks-path", view];
|
|
3987
3987
|
sdkViews.set(key, options);
|
|
3988
|
+
return touchSdkView(options);
|
|
3989
|
+
}
|
|
3990
|
+
function touchSdkView(options) {
|
|
3991
|
+
const now = /* @__PURE__ */ new Date();
|
|
3992
|
+
fs4.utimesSync(options[1], now, now);
|
|
3988
3993
|
return options;
|
|
3989
3994
|
}
|
|
3990
3995
|
function swiftSharedSdkInputFiles(moduleRoot) {
|
|
@@ -7520,7 +7525,7 @@ var executableLinkFlags = (root) => ` "-Xclang-linker", "-O0",
|
|
|
7520
7525
|
var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quoted, "-Wl,--end-lib"] : [];
|
|
7521
7526
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
7522
7527
|
var MULTI_MANIFEST_VERSION = 55;
|
|
7523
|
-
var compilerSourceDigest = true ? "
|
|
7528
|
+
var compilerSourceDigest = true ? "7c4d029be9f859618f690e055ecfedb7b7adbe138aaae050c8453b88aefedfd9" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
7524
7529
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
7525
7530
|
const hash = createHash8("sha256");
|
|
7526
7531
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -6584,7 +6584,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
6584
6584
|
);
|
|
6585
6585
|
const key2 = JSON.stringify(["v9", toolchainBin, sdk, frameworks, swiftSdkOptions()]);
|
|
6586
6586
|
const cached = sdkViews.get(key2);
|
|
6587
|
-
if (cached) return cached;
|
|
6587
|
+
if (cached) return touchSdkView(cached);
|
|
6588
6588
|
const configuration = (0, import_node_child_process7.execFileSync)(
|
|
6589
6589
|
import_node_path9.default.join(toolchainBin, "swift"),
|
|
6590
6590
|
[
|
|
@@ -6668,6 +6668,11 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
6668
6668
|
}
|
|
6669
6669
|
const options = ["--swift-sdks-path", view];
|
|
6670
6670
|
sdkViews.set(key2, options);
|
|
6671
|
+
return touchSdkView(options);
|
|
6672
|
+
}
|
|
6673
|
+
function touchSdkView(options) {
|
|
6674
|
+
const now = /* @__PURE__ */ new Date();
|
|
6675
|
+
import_node_fs8.default.utimesSync(options[1], now, now);
|
|
6671
6676
|
return options;
|
|
6672
6677
|
}
|
|
6673
6678
|
function swiftSharedSdkInputFiles(moduleRoot) {
|
|
@@ -10152,7 +10157,7 @@ var executableLinkFlags = (root) => ` "-Xclang-linker", "-O0",
|
|
|
10152
10157
|
var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quoted, "-Wl,--end-lib"] : [];
|
|
10153
10158
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
10154
10159
|
var MULTI_MANIFEST_VERSION = 55;
|
|
10155
|
-
var compilerSourceDigest = true ? "
|
|
10160
|
+
var compilerSourceDigest = true ? "7c4d029be9f859618f690e055ecfedb7b7adbe138aaae050c8453b88aefedfd9" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
10156
10161
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
10157
10162
|
const hash = (0, import_node_crypto8.createHash)("sha256");
|
|
10158
10163
|
hash.update(`swift-compile
|
|
@@ -22494,7 +22499,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
|
|
|
22494
22499
|
}
|
|
22495
22500
|
return hash.digest("hex");
|
|
22496
22501
|
}
|
|
22497
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
22502
|
+
var STANDIN_SOURCE_DIGEST = true ? "5393643632ab792f513224a720a7fe55184a7d3aa3e5aaa68fea09f0550989f7" : standinSourceDigest();
|
|
22498
22503
|
|
|
22499
22504
|
// src/swift-standins.ts
|
|
22500
22505
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -185,7 +185,7 @@ var import_node_module = require("node:module");
|
|
|
185
185
|
var import_node_path2 = require("node:path");
|
|
186
186
|
|
|
187
187
|
// runtime-companion.json
|
|
188
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
188
|
+
var runtime_companion_default = { abi: 1, sha256: "e29eaf09a968e2f393cb09dd76017f54ba09ce314efcecc9348c62ffc5073aa5", file: "node/cli-e29eaf09a968e2f393cb09dd76017f54ba09ce314efcecc9348c62ffc5073aa5.cjs" };
|
|
189
189
|
|
|
190
190
|
// src/runtime-assets.ts
|
|
191
191
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1802 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -474,6 +474,7 @@ export declare class SootSimNode {
|
|
|
474
474
|
_paragraphBaselineOffset: number | null;
|
|
475
475
|
_paragraphLineCount: number;
|
|
476
476
|
_paragraphFitWidth: number | null;
|
|
477
|
+
_paragraphTextKitFit: number | null;
|
|
477
478
|
_paragraphTighteningDelta: number;
|
|
478
479
|
_paragraphText: string | null;
|
|
479
480
|
_paragraphRuns: {
|
|
@@ -2,6 +2,7 @@ import type { MaybeAsync } from './bridgeContract.d.ts';
|
|
|
2
2
|
import type { PeachHomeApp, PeachHomeStorageValue } from './shellBridgeContract.d.ts';
|
|
3
3
|
export interface SootSimElectronBridge {
|
|
4
4
|
personalHomeApps?: PeachHomeApp[];
|
|
5
|
+
launchEnvironment?: Record<string, string>;
|
|
5
6
|
homeAppStorage?(bundleUrl: string): Promise<PeachHomeStorageValue[]>;
|
|
6
7
|
captureScreen(full?: boolean): Promise<string | null>;
|
|
7
8
|
captureVideo(): Promise<unknown>;
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"e29eaf09a968e2f393cb09dd76017f54ba09ce314efcecc9348c62ffc5073aa5","file":"node/cli-e29eaf09a968e2f393cb09dd76017f54ba09ce314efcecc9348c62ffc5073aa5.cjs"}
|
|
@@ -25,6 +25,11 @@ export interface AppPackageManifest {
|
|
|
25
25
|
iconUrl?: string
|
|
26
26
|
// seed a new app's config once; never override the user's later choices.
|
|
27
27
|
defaults: Partial<SettingsValues>
|
|
28
|
+
// environment variable to host file (~/ is the user's home). the desktop host
|
|
29
|
+
// reads each file at launch into the app's ProcessInfo.environment, the way
|
|
30
|
+
// an Xcode scheme supplies launch environment; the values stay out of the
|
|
31
|
+
// package, the launch url and logs.
|
|
32
|
+
launchEnvironmentFiles: Record<string, string>
|
|
28
33
|
// staged file names whose text contains the build-time placeholder origin.
|
|
29
34
|
relocatableFiles: string[]
|
|
30
35
|
requiresServer: boolean
|
|
@@ -432,6 +432,7 @@ export async function prepareInstalledExpoWorkspace(app: string, work: string) {
|
|
|
432
432
|
return withSwiftRootLock(work, async (lease) => {
|
|
433
433
|
fs.cpSync(root, work, {
|
|
434
434
|
recursive: true,
|
|
435
|
+
mode: fs.constants.COPYFILE_FICLONE,
|
|
435
436
|
preserveTimestamps: true,
|
|
436
437
|
verbatimSymlinks: true,
|
|
437
438
|
filter: (source) => {
|
|
@@ -534,6 +535,7 @@ async function prepareWorkspace(
|
|
|
534
535
|
fs.mkdirSync(path.dirname(work), { recursive: true })
|
|
535
536
|
await fs.promises.cp(root, partial, {
|
|
536
537
|
recursive: true,
|
|
538
|
+
mode: fs.constants.COPYFILE_FICLONE,
|
|
537
539
|
preserveTimestamps: true,
|
|
538
540
|
verbatimSymlinks: true,
|
|
539
541
|
filter: (source) => !excluded(path.relative(root, source)),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"key": "
|
|
2
|
+
"key": "c2a99e07bc00f67e97c5309fa98ae765",
|
|
3
3
|
"inputs": {
|
|
4
4
|
"ios-deployment-target": "16.4",
|
|
5
5
|
"react-native": "0.88.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"provider:react-native-nitro-sound": "0.2.20\u00004a7507d1bfd9bbeb3cbc2e52385c3a9b0313c216353d96048a58720566639334",
|
|
17
17
|
"provider:react-native-nitro-sqlite": "10.1.0\u00005caf7edb2f36e20a9ad571987528928d5ef9dd78e473daa4d81dbecc64571d1e",
|
|
18
18
|
"provider:react-native-nitro-modules": "0.37.1\u0000bdb0a25e97222439e578796350b942a9931f72d9ad4d73b44871eee2aa3301bd",
|
|
19
|
-
"compiler": "
|
|
19
|
+
"compiler": "a5bdc2a24fa8bd39d392e37a04252fb47ec1cf47e6baacb7724233f3af4f4379"
|
|
20
20
|
},
|
|
21
21
|
"metadata": {
|
|
22
22
|
"platform": "ios",
|
|
@@ -24,25 +24,33 @@
|
|
|
24
24
|
{
|
|
25
25
|
"name": "react-native-nitro-base64",
|
|
26
26
|
"version": "1.1.2",
|
|
27
|
-
"hybridObjects": [
|
|
27
|
+
"hybridObjects": [
|
|
28
|
+
"NitroBase64"
|
|
29
|
+
],
|
|
28
30
|
"views": []
|
|
29
31
|
},
|
|
30
32
|
{
|
|
31
33
|
"name": "react-native-nitro-buffer",
|
|
32
34
|
"version": "0.3.0",
|
|
33
|
-
"hybridObjects": [
|
|
35
|
+
"hybridObjects": [
|
|
36
|
+
"NitroBuffer"
|
|
37
|
+
],
|
|
34
38
|
"views": []
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
"name": "react-native-nitro-cookies",
|
|
38
42
|
"version": "1.3.1",
|
|
39
|
-
"hybridObjects": [
|
|
43
|
+
"hybridObjects": [
|
|
44
|
+
"NitroCookies"
|
|
45
|
+
],
|
|
40
46
|
"views": []
|
|
41
47
|
},
|
|
42
48
|
{
|
|
43
49
|
"name": "react-native-nitro-geocoder",
|
|
44
50
|
"version": "0.1.2",
|
|
45
|
-
"hybridObjects": [
|
|
51
|
+
"hybridObjects": [
|
|
52
|
+
"NitroGeocoder"
|
|
53
|
+
],
|
|
46
54
|
"views": []
|
|
47
55
|
},
|
|
48
56
|
{
|
|
@@ -58,37 +66,48 @@
|
|
|
58
66
|
{
|
|
59
67
|
"name": "react-native-nitro-haptics",
|
|
60
68
|
"version": "0.2.3",
|
|
61
|
-
"hybridObjects": [
|
|
69
|
+
"hybridObjects": [
|
|
70
|
+
"Haptics"
|
|
71
|
+
],
|
|
62
72
|
"views": []
|
|
63
73
|
},
|
|
64
74
|
{
|
|
65
75
|
"name": "react-native-nitro-markdown",
|
|
66
76
|
"version": "0.16.1",
|
|
67
|
-
"hybridObjects": [
|
|
77
|
+
"hybridObjects": [
|
|
78
|
+
"MarkdownParser",
|
|
79
|
+
"MarkdownSession"
|
|
80
|
+
],
|
|
68
81
|
"views": []
|
|
69
82
|
},
|
|
70
83
|
{
|
|
71
84
|
"name": "react-native-nitro-network-info",
|
|
72
85
|
"version": "1.0.8",
|
|
73
|
-
"hybridObjects": [
|
|
86
|
+
"hybridObjects": [
|
|
87
|
+
"NitroNetworkInfo"
|
|
88
|
+
],
|
|
74
89
|
"views": []
|
|
75
90
|
},
|
|
76
91
|
{
|
|
77
92
|
"name": "react-native-nitro-sound",
|
|
78
93
|
"version": "0.2.20",
|
|
79
|
-
"hybridObjects": [
|
|
94
|
+
"hybridObjects": [
|
|
95
|
+
"Sound"
|
|
96
|
+
],
|
|
80
97
|
"views": []
|
|
81
98
|
},
|
|
82
99
|
{
|
|
83
100
|
"name": "react-native-nitro-sqlite",
|
|
84
101
|
"version": "10.1.0",
|
|
85
|
-
"hybridObjects": [
|
|
102
|
+
"hybridObjects": [
|
|
103
|
+
"NitroSQLite"
|
|
104
|
+
],
|
|
86
105
|
"views": []
|
|
87
106
|
}
|
|
88
107
|
],
|
|
89
|
-
"url": "https://r2.rnxsim.com/native/nitro/superset/
|
|
90
|
-
"hash": "
|
|
91
|
-
"icuUrl": "https://r2.rnxsim.com/native/nitro/superset/
|
|
108
|
+
"url": "https://r2.rnxsim.com/native/nitro/superset/c2a99e07bc00f67e97c5309fa98ae765/5dd0cc37c9a573cc1de902db6ce0412f46c57b5301e968cf2b62c8ca4e87f008.wasm",
|
|
109
|
+
"hash": "5dd0cc37c9a573cc1de902db6ce0412f46c57b5301e968cf2b62c8ca4e87f008",
|
|
110
|
+
"icuUrl": "https://r2.rnxsim.com/native/nitro/superset/c2a99e07bc00f67e97c5309fa98ae765/b6f7d63d7041aaf2485e76b68c284ce69e6157c9cefe0af780252a04e8c2f276",
|
|
92
111
|
"bundleFiles": {}
|
|
93
112
|
}
|
|
94
113
|
}
|
package/src/swift-shared-sdk.ts
CHANGED
|
@@ -215,7 +215,7 @@ export function swiftSharedSdkViewOptions(
|
|
|
215
215
|
)
|
|
216
216
|
const key = JSON.stringify(['v9', toolchainBin, sdk, frameworks, swiftSdkOptions()])
|
|
217
217
|
const cached = sdkViews.get(key)
|
|
218
|
-
if (cached) return cached
|
|
218
|
+
if (cached) return touchSdkView(cached)
|
|
219
219
|
const configuration = execFileSync(
|
|
220
220
|
path.join(toolchainBin, 'swift'),
|
|
221
221
|
[
|
|
@@ -309,6 +309,16 @@ export function swiftSharedSdkViewOptions(
|
|
|
309
309
|
}
|
|
310
310
|
const options = ['--swift-sdks-path', view]
|
|
311
311
|
sdkViews.set(key, options)
|
|
312
|
+
return touchSdkView(options)
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
// a view is only read after it is built, and disk cleanup retires cache
|
|
316
|
+
// directories by modification time, so every compile that selects one marks it
|
|
317
|
+
// used. otherwise a view older than the idle window is retired mid-compile and
|
|
318
|
+
// clang reports its headers missing.
|
|
319
|
+
function touchSdkView(options: string[]): string[] {
|
|
320
|
+
const now = new Date()
|
|
321
|
+
fs.utimesSync(options[1]!, now, now)
|
|
312
322
|
return options
|
|
313
323
|
}
|
|
314
324
|
|
package/src/turbo-source.ts
CHANGED
|
@@ -1582,7 +1582,6 @@ export async function collectTurboSources(options: {
|
|
|
1582
1582
|
'@interface NSNotification (PeachTurboRuntime)',
|
|
1583
1583
|
'@property (nullable, readonly, copy) NSDictionary *userInfo;',
|
|
1584
1584
|
'@end',
|
|
1585
|
-
'#endif',
|
|
1586
1585
|
'typedef struct __CFBundle *CFBundleRef;',
|
|
1587
1586
|
'#ifndef NSLocalizedStringWithDefaultValue',
|
|
1588
1587
|
'#define NSLocalizedStringWithDefaultValue(key, tbl, bundle, val, comment) ((void)(tbl), (void)(bundle), (void)(comment), (val) ?: (key))',
|