peachsim 0.1.2303 → 0.1.2304
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/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 +45 -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 +3 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +43 -17
- 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 +45 -19
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- 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 +21 -11
- 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 +21 -11
- package/dist-lib/native-app-identity-project.cjs +18 -8
- package/dist-lib/native-app-identity-project.mjs +18 -8
- 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/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.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 +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- 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 +2 -2
- 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 +47 -21
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +23 -13
- package/dist-lib/vite.cjs +5 -5
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +21 -5
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +3 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-discovery-cache.ts +2 -3
- package/src/expo-native-workspace.ts +4 -0
- package/src/expo-swift-host.ts +11 -0
- package/src/native-static-libraries.ts +4 -4
- package/src/podspec-sources.ts +12 -0
- package/src/reap-browser.ts +3 -1
- package/src/xcode-project.ts +23 -7
package/src/xcode-project.ts
CHANGED
|
@@ -1311,8 +1311,6 @@ function targetMembers(
|
|
|
1311
1311
|
if (interfaceOutputs.has(output))
|
|
1312
1312
|
throw new Error(`${targetName}: duplicate Interface Builder output ${output}`)
|
|
1313
1313
|
interfaceOutputs.add(output)
|
|
1314
|
-
fs.rmSync(output, { recursive: true, force: true })
|
|
1315
|
-
fs.mkdirSync(path.dirname(output), { recursive: true })
|
|
1316
1314
|
const args = [
|
|
1317
1315
|
'ibtool',
|
|
1318
1316
|
'--compile',
|
|
@@ -1328,12 +1326,30 @@ function targetMembers(
|
|
|
1328
1326
|
.map((value) => value.trim())
|
|
1329
1327
|
if (families.includes('1')) args.push('--target-device', 'iphone')
|
|
1330
1328
|
if (families.includes('2')) args.push('--target-device', 'ipad')
|
|
1331
|
-
//
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1329
|
+
// ibtool takes seconds per file and every read of the project needs the
|
|
1330
|
+
// output, so a compile whose inputs are unchanged is kept.
|
|
1331
|
+
const stamp = `${output}.peach-inputs`
|
|
1332
|
+
const inputs = JSON.stringify({
|
|
1333
|
+
args,
|
|
1334
|
+
developer: settings('DEVELOPER_DIR'),
|
|
1335
|
+
source: createHash('sha256').update(fs.readFileSync(file)).digest('hex'),
|
|
1336
1336
|
})
|
|
1337
|
+
if (
|
|
1338
|
+
!fs.existsSync(output) ||
|
|
1339
|
+
!fs.existsSync(stamp) ||
|
|
1340
|
+
fs.readFileSync(stamp, 'utf8') !== inputs
|
|
1341
|
+
) {
|
|
1342
|
+
fs.rmSync(output, { recursive: true, force: true })
|
|
1343
|
+
fs.rmSync(stamp, { force: true })
|
|
1344
|
+
fs.mkdirSync(path.dirname(output), { recursive: true })
|
|
1345
|
+
// runner-toolchain-platform: darwin
|
|
1346
|
+
execFileSync('xcrun', args, {
|
|
1347
|
+
cwd: project.projectDir,
|
|
1348
|
+
stdio: ['ignore', 'pipe', 'pipe'],
|
|
1349
|
+
timeout: runScriptTimeoutMs,
|
|
1350
|
+
})
|
|
1351
|
+
fs.writeFileSync(stamp, inputs)
|
|
1352
|
+
}
|
|
1337
1353
|
projectInputs.add(file)
|
|
1338
1354
|
resources.delete(file)
|
|
1339
1355
|
for (const compiled of isDirectory(output) ? walkFiles(output) : [output])
|