peachsim 0.1.2190 → 0.1.2192
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 +126 -181
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +115 -175
- 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 -6
- package/dist-lib/host/bridge-host.cjs +126 -181
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +7 -5
- 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 +7 -2
- 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 +7 -5
- package/dist-lib/native-app-identity-project.cjs +6 -4
- package/dist-lib/native-app-identity-project.mjs +6 -4
- 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 +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 +126 -182
- package/dist-lib/swift-compile.cjs +20 -132
- package/dist-lib/swift-compile.mjs +20 -132
- 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 +41 -23
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +97 -157
- package/dist-lib/vite.cjs +4 -4
- 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 +3 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +21 -20
- package/src/home-paths.ts +0 -5
- package/src/kotlin-host.ts +6 -1
- package/src/nitro-adapter.lock.json +265 -265
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-compile.ts +21 -114
- package/src/swift-distribution.lock.json +17 -11
- package/src/swift-distribution.ts +3 -3
- package/src/swift-host.ts +12 -8
- package/src/swift-interface-bodies.ts +7 -1
- package/src/swift-objc-standin.ts +46 -8
- package/src/swift-packages.ts +1 -0
- package/src/swift-toolchain.ts +40 -30
- package/src/swift-wasm-prune.ts +3 -2
- package/src/turbo-runtime.lock.json +21 -21
- package/src/xcode-project.ts +6 -4
package/src/home-paths.ts
CHANGED
|
@@ -55,11 +55,6 @@ export function rnxHomeDir(): string {
|
|
|
55
55
|
return override && override.length > 0 ? path.resolve(override) : ambientHomeDir()
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
// where the pinned wasm SDK installs unless PEACH_SWIFT_SDKS_PATH names another
|
|
59
|
-
export function peachSwiftSdksDir(): string {
|
|
60
|
-
return process.env.PEACH_SWIFT_SDKS_PATH ?? path.join(rnxHomeDir(), 'swift', 'sdks')
|
|
61
|
-
}
|
|
62
|
-
|
|
63
58
|
// detect when peach is running from a source checkout (the Contrast monorepo)
|
|
64
59
|
// rather than a published npm install. used to skip auto-install of the
|
|
65
60
|
// persistent launchd / systemd agent: dev shells shouldn't register an agent
|
package/src/kotlin-host.ts
CHANGED
|
@@ -170,7 +170,7 @@ function entrySource(ids: string[]): string {
|
|
|
170
170
|
].join('\n')
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
const BUILD_FORMAT =
|
|
173
|
+
const BUILD_FORMAT = 20
|
|
174
174
|
const builds = new Map<string, Promise<KotlinArtifact>>()
|
|
175
175
|
|
|
176
176
|
function buildsDir(): string {
|
|
@@ -1342,6 +1342,7 @@ async function compileKotlin(
|
|
|
1342
1342
|
[
|
|
1343
1343
|
...common,
|
|
1344
1344
|
'-nowarn',
|
|
1345
|
+
'-Xpartial-linkage-loglevel=error',
|
|
1345
1346
|
`-Xinclude=${path.join(work, 'klib')}`,
|
|
1346
1347
|
'-Xir-produce-js',
|
|
1347
1348
|
'-ir-output-dir',
|
|
@@ -1449,6 +1450,10 @@ async function compileKotlin(
|
|
|
1449
1450
|
path.join(work, 'java-abi', `Spec${index}.kt`),
|
|
1450
1451
|
spec.file,
|
|
1451
1452
|
)
|
|
1453
|
+
output = output.replace(
|
|
1454
|
+
/^error: <app> @ (.+\.kt:\d+:\d+): (.*)$/gm,
|
|
1455
|
+
'$1: error: $2',
|
|
1456
|
+
)
|
|
1452
1457
|
throw new Error(
|
|
1453
1458
|
`kotlin compile failed:\n${output.trim() || (error instanceof Error ? error.message : String(error))}`,
|
|
1454
1459
|
)
|