peachsim 0.1.1906 → 0.1.1907
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 +33 -25
- 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 +19 -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 +34 -26
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +13 -13
- 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 +13 -13
- package/dist-lib/native-app-identity-project.cjs +13 -13
- package/dist-lib/native-app-identity-project.mjs +13 -13
- 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 +38 -30
- 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 +13 -13
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +3 -1
- package/src/nitro-adapter.lock.json +272 -272
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +8 -8
- package/src/turbo-runtime.lock.json +18 -18
- package/src/turbo-source.ts +6 -0
- package/src/xcode-project.ts +18 -17
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"checksum": "126c1ffe1333693500bf20fd4636ef875763219ddd01eda44739e4d0507b982b"
|
|
13
13
|
},
|
|
14
14
|
"framework": {
|
|
15
|
-
"distribution": "
|
|
15
|
+
"distribution": "4362d32ec9430c8e",
|
|
16
16
|
"wireAbi": "246b8412514b644113e6a26252c8ebd6de49ab4156ac5f5c98bb9e4c2ff2568b"
|
|
17
17
|
},
|
|
18
18
|
"archives": [
|
|
@@ -20,71 +20,71 @@
|
|
|
20
20
|
"headers": {
|
|
21
21
|
"reactNativeJsi": "0f8c2defbca69a27a848a81ae72363073bf9602fd316e57a75811be1a0528358"
|
|
22
22
|
},
|
|
23
|
-
"sha256": "
|
|
24
|
-
"size":
|
|
23
|
+
"sha256": "ff394389cc6c1a42fc59f542c3748788264e42332003066237db324d3520b2d4",
|
|
24
|
+
"size": 25405
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"headers": {
|
|
28
28
|
"reactNativeJsi": "21a624ea24fd17d56bf26832d496fc1177067f89640414c20e6486c7984dfb0a"
|
|
29
29
|
},
|
|
30
|
-
"sha256": "
|
|
30
|
+
"sha256": "2a23e3d1cb85c9003df39272ba22a3916c27d59269fff9b9e5aeb299ee96a4de",
|
|
31
31
|
"size": 26142
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"headers": {
|
|
35
35
|
"reactNativeJsi": "324aefd8591d9ce688bce7589c4c2b516cd33ecb95d35c47239a87a8fcf6a8da"
|
|
36
36
|
},
|
|
37
|
-
"sha256": "
|
|
38
|
-
"size":
|
|
37
|
+
"sha256": "840343a0783cc957cdf214a6a41958a5b5f62394a830350fdd0c53b47fa504fa",
|
|
38
|
+
"size": 25401
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"headers": {
|
|
42
42
|
"reactNativeJsi": "33596664ee7d7a6623f0796a6feb429543316c3a41b211150acda6e1d835286c"
|
|
43
43
|
},
|
|
44
|
-
"sha256": "
|
|
45
|
-
"size":
|
|
44
|
+
"sha256": "32dea71aa269f030408b9d91a19ba4b59ba6cb49cc5ba3bb5ea114845014de66",
|
|
45
|
+
"size": 25170
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"headers": {
|
|
49
49
|
"reactNativeJsi": "66b2cd5a38511195207f6c8a76aba735f9b9cc66a52a0d00780ffe5d331623f7"
|
|
50
50
|
},
|
|
51
|
-
"sha256": "
|
|
52
|
-
"size":
|
|
51
|
+
"sha256": "ffe5ee82c7f2f6c8f2c7c6a22a9b716a21d206f9dba1fdddaaf2abe41058daed",
|
|
52
|
+
"size": 25405
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"headers": {
|
|
56
56
|
"reactNativeJsi": "96db4e758dd53e9320cef7cad485e00aa06e7a982cefd920f17007de8a5bd9f9"
|
|
57
57
|
},
|
|
58
|
-
"sha256": "
|
|
59
|
-
"size":
|
|
58
|
+
"sha256": "89d7e064f4b71a7f9ab0fc22f364d32a50e684e7ecc9d4222bb2ccff8923a3aa",
|
|
59
|
+
"size": 26141
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"headers": {
|
|
63
63
|
"reactNativeJsi": "aeab590ddd1218df963462242d3954ce467b0fa88f70e91429e4ffc74d230893"
|
|
64
64
|
},
|
|
65
|
-
"sha256": "
|
|
66
|
-
"size":
|
|
65
|
+
"sha256": "844a6200698e17c19a8d1ee724571bc74b40213457e741d555024a24a6e47cf7",
|
|
66
|
+
"size": 26139
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"headers": {
|
|
70
70
|
"reactNativeJsi": "b5fb260522384dd7ab07d740cdc534b529922446fcec798341c7817d9eaa49f4"
|
|
71
71
|
},
|
|
72
|
-
"sha256": "
|
|
72
|
+
"sha256": "032ad09cd1e8971b5e2e78378621b7acf7f16681afcceadbbc39bebe584afa79",
|
|
73
73
|
"size": 25270
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"headers": {
|
|
77
77
|
"reactNativeJsi": "c6b391a1e870ccf7cdd534be63582862840f8245b99ebd253317deece1e6ffd5"
|
|
78
78
|
},
|
|
79
|
-
"sha256": "
|
|
79
|
+
"sha256": "108675f05d8e21af308aa72723ab7db846f64d12f33c7bdce1f8f318d59dc8d1",
|
|
80
80
|
"size": 26145
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"headers": {
|
|
84
84
|
"reactNativeJsi": "c8270f1315745ecc204c4209a4f50f58ff6f14b4a385ad6820a69800270b53c6"
|
|
85
85
|
},
|
|
86
|
-
"sha256": "
|
|
87
|
-
"size":
|
|
86
|
+
"sha256": "ade0e73de72d9b0ccce24b5f6284a352240d7d56698b2c679b55e683cb6c7924",
|
|
87
|
+
"size": 25107
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
90
|
}
|
package/src/turbo-source.ts
CHANGED
|
@@ -2753,6 +2753,12 @@ extern "C" __attribute__((export_name("peach_turbo_post_screenshot"))) void peac
|
|
|
2753
2753
|
object:nil];
|
|
2754
2754
|
}
|
|
2755
2755
|
|
|
2756
|
+
// the shake the device felt: React Native's dev window swizzle turns a motion
|
|
2757
|
+
// shake into this notification, which modules such as RNShake observe.
|
|
2758
|
+
extern "C" __attribute__((export_name("peach_turbo_post_shake"))) void peachTurboPostShake() {
|
|
2759
|
+
[[NSNotificationCenter defaultCenter] postNotificationName:@"RCTShowDevMenuNotification" object:nil];
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2756
2762
|
// the names the process answers, newline separated, for the host to claim:
|
|
2757
2763
|
// the global C++ map, the codegen module providers and each registered
|
|
2758
2764
|
// Objective-C TurboModule class
|
package/src/xcode-project.ts
CHANGED
|
@@ -390,7 +390,7 @@ function workspaceReferences(workspace: string): string[] {
|
|
|
390
390
|
* Package.resolved pins that workspace holds.
|
|
391
391
|
*/
|
|
392
392
|
export function enclosingXcodeWorkspace(xcodeproj: string): string | null {
|
|
393
|
-
const project = fs.realpathSync(xcodeproj)
|
|
393
|
+
const project = fs.realpathSync.native(xcodeproj)
|
|
394
394
|
for (let dir = path.dirname(project); ; dir = path.dirname(dir)) {
|
|
395
395
|
for (const name of fs.readdirSync(dir).sort()) {
|
|
396
396
|
if (!name.endsWith('.xcworkspace')) continue
|
|
@@ -399,7 +399,7 @@ export function enclosingXcodeWorkspace(xcodeproj: string): string | null {
|
|
|
399
399
|
if (
|
|
400
400
|
workspaceReferences(workspace).some(
|
|
401
401
|
(reference) =>
|
|
402
|
-
fs.existsSync(reference) && fs.realpathSync(reference) === project,
|
|
402
|
+
fs.existsSync(reference) && fs.realpathSync.native(reference) === project,
|
|
403
403
|
)
|
|
404
404
|
)
|
|
405
405
|
return workspace
|
|
@@ -450,7 +450,7 @@ function sameXcodeProject(reference: string, xcodeproj: string): boolean {
|
|
|
450
450
|
return (
|
|
451
451
|
fs.existsSync(reference) &&
|
|
452
452
|
fs.existsSync(xcodeproj) &&
|
|
453
|
-
fs.realpathSync(reference) === fs.realpathSync(xcodeproj)
|
|
453
|
+
fs.realpathSync.native(reference) === fs.realpathSync.native(xcodeproj)
|
|
454
454
|
)
|
|
455
455
|
} catch {
|
|
456
456
|
return false
|
|
@@ -613,7 +613,7 @@ function loadProject(xcodeproj: string): LoadedProject {
|
|
|
613
613
|
throw new Error(`${projectFile} has no PBXProject root`)
|
|
614
614
|
}
|
|
615
615
|
// canonical, so every member path agrees with the host's realpath checks
|
|
616
|
-
const projectDir = fs.realpathSync(
|
|
616
|
+
const projectDir = fs.realpathSync.native(
|
|
617
617
|
path.resolve(path.dirname(xcodeproj), str(project.projectDirPath) ?? ''),
|
|
618
618
|
)
|
|
619
619
|
const resolvePath = xcodePathResolver(objects, projectDir, path.join)
|
|
@@ -830,7 +830,7 @@ function expandSearchPath(
|
|
|
830
830
|
const current = queue[at]!
|
|
831
831
|
let real: string
|
|
832
832
|
try {
|
|
833
|
-
real = fs.realpathSync(current)
|
|
833
|
+
real = fs.realpathSync.native(current)
|
|
834
834
|
} catch {
|
|
835
835
|
continue
|
|
836
836
|
}
|
|
@@ -1343,7 +1343,7 @@ function workspaceProjects(
|
|
|
1343
1343
|
)
|
|
1344
1344
|
return
|
|
1345
1345
|
}
|
|
1346
|
-
const key = fs.realpathSync(xcodeproj)
|
|
1346
|
+
const key = fs.realpathSync.native(xcodeproj)
|
|
1347
1347
|
if (projectAt.has(key) || (!installedPods && key.split(path.sep).includes('Pods')))
|
|
1348
1348
|
return
|
|
1349
1349
|
if (isPodsProject(key)) cocoapods = installedPodsSandbox(path.dirname(key))
|
|
@@ -1430,7 +1430,7 @@ export function listXcodeAppTargets(
|
|
|
1430
1430
|
// Expo's default run scheme is the first application in the native target
|
|
1431
1431
|
// section, whose order can differ from the PBXProject targets array.
|
|
1432
1432
|
function defaultXcodeAppTarget(xcodeproj: string): string | undefined {
|
|
1433
|
-
const project = loadProject(fs.realpathSync(xcodeproj))
|
|
1433
|
+
const project = loadProject(fs.realpathSync.native(xcodeproj))
|
|
1434
1434
|
for (const [id, target] of Object.entries(project.objects)) {
|
|
1435
1435
|
if (!isDict(target) || target.isa !== 'PBXNativeTarget') continue
|
|
1436
1436
|
if (isIosAppTarget({ project, id, target }, { requireSources: false }))
|
|
@@ -1446,7 +1446,7 @@ export function readXcodeExtensionTargets(input: string): {
|
|
|
1446
1446
|
infoPlist: Record<string, unknown>
|
|
1447
1447
|
accentName: string | null
|
|
1448
1448
|
}[] {
|
|
1449
|
-
return workspaceProjects(fs.realpathSync(input)).projects.flatMap((project) =>
|
|
1449
|
+
return workspaceProjects(fs.realpathSync.native(input)).projects.flatMap((project) =>
|
|
1450
1450
|
projectTargets(project).flatMap((ref) => {
|
|
1451
1451
|
if (ref.target.productType !== 'com.apple.product-type.app-extension') return []
|
|
1452
1452
|
const name = str(ref.target.name) ?? ref.id
|
|
@@ -1498,7 +1498,7 @@ export function readXcodeScheme(
|
|
|
1498
1498
|
xcodeprojOrWorkspace: string,
|
|
1499
1499
|
scheme: string,
|
|
1500
1500
|
): { target: string; configuration: string } {
|
|
1501
|
-
const container = fs.realpathSync(xcodeprojOrWorkspace)
|
|
1501
|
+
const container = fs.realpathSync.native(xcodeprojOrWorkspace)
|
|
1502
1502
|
const { projects } = workspaceProjects(container)
|
|
1503
1503
|
const containers = [
|
|
1504
1504
|
...new Set([container, ...projects.map((project) => project.xcodeproj)]),
|
|
@@ -1556,7 +1556,8 @@ export function readXcodeScheme(
|
|
|
1556
1556
|
)
|
|
1557
1557
|
const project = projects.find(
|
|
1558
1558
|
(candidate) =>
|
|
1559
|
-
fs.existsSync(projectPath) &&
|
|
1559
|
+
fs.existsSync(projectPath) &&
|
|
1560
|
+
candidate.xcodeproj === fs.realpathSync.native(projectPath),
|
|
1560
1561
|
)
|
|
1561
1562
|
const target = project && projectTargets(project).find((ref) => ref.id === blueprint)
|
|
1562
1563
|
const name = target && str(target.target.name)
|
|
@@ -1691,7 +1692,7 @@ export async function resolveXcodeSwiftPackages(
|
|
|
1691
1692
|
target?: string,
|
|
1692
1693
|
configuration?: string,
|
|
1693
1694
|
): Promise<void> {
|
|
1694
|
-
if (fs.existsSync(workspaceResolvedFile(fs.realpathSync(input)))) return
|
|
1695
|
+
if (fs.existsSync(workspaceResolvedFile(fs.realpathSync.native(input)))) return
|
|
1695
1696
|
try {
|
|
1696
1697
|
readXcodeAppTarget(input, target, configuration, {
|
|
1697
1698
|
installedPods: true,
|
|
@@ -1734,7 +1735,7 @@ export function readXcodeAppTarget(
|
|
|
1734
1735
|
} = {},
|
|
1735
1736
|
): XcodeAppTarget {
|
|
1736
1737
|
// canonical, so every path returned agrees with the host's realpath checks
|
|
1737
|
-
const xcodeprojOrWorkspace = fs.realpathSync(input)
|
|
1738
|
+
const xcodeprojOrWorkspace = fs.realpathSync.native(input)
|
|
1738
1739
|
const workspace = xcodeprojOrWorkspace.endsWith('.xcworkspace')
|
|
1739
1740
|
? xcodeprojOrWorkspace
|
|
1740
1741
|
: null
|
|
@@ -1799,7 +1800,7 @@ export function readXcodeAppTarget(
|
|
|
1799
1800
|
project.object(portal)?.isa === 'PBXProject'
|
|
1800
1801
|
? project
|
|
1801
1802
|
: portalPath && fs.existsSync(portalPath)
|
|
1802
|
-
? projectAt.get(fs.realpathSync(portalPath))
|
|
1803
|
+
? projectAt.get(fs.realpathSync.native(portalPath))
|
|
1803
1804
|
: undefined
|
|
1804
1805
|
const remote = str(proxy.remoteGlobalIDString)
|
|
1805
1806
|
if (!owner || !remote) return undefined
|
|
@@ -2991,10 +2992,10 @@ export function readXcodeAppTarget(
|
|
|
2991
2992
|
// a workspace lock is authoritative. otherwise local package locks. with
|
|
2992
2993
|
// neither, a compiling read throws until the async resolve has written it.
|
|
2993
2994
|
let packageResolved = fs.existsSync(resolvedFile)
|
|
2994
|
-
? [fs.realpathSync(resolvedFile)]
|
|
2995
|
+
? [fs.realpathSync.native(resolvedFile)]
|
|
2995
2996
|
: [...new Set(localPackageDirs.map((dir) => path.join(dir, 'Package.resolved')))]
|
|
2996
2997
|
.filter((file) => fs.existsSync(file))
|
|
2997
|
-
.map((file) => fs.realpathSync(file))
|
|
2998
|
+
.map((file) => fs.realpathSync.native(file))
|
|
2998
2999
|
.sort()
|
|
2999
3000
|
if (packageResolved.length === 0) {
|
|
3000
3001
|
const requirements = remotePackageRequirements(projects)
|
|
@@ -3068,7 +3069,7 @@ export function readXcodeAppTarget(
|
|
|
3068
3069
|
source.kind === 'local' && fs.existsSync(source.dir) ? [source.dir] : [],
|
|
3069
3070
|
),
|
|
3070
3071
|
...new Set(podSourceDirs),
|
|
3071
|
-
].map((dir) => fs.realpathSync(dir)),
|
|
3072
|
+
].map((dir) => fs.realpathSync.native(dir)),
|
|
3072
3073
|
),
|
|
3073
3074
|
projectFiles: [
|
|
3074
3075
|
...new Set([
|
|
@@ -3091,7 +3092,7 @@ export function readXcodeAppTarget(
|
|
|
3091
3092
|
resourceProducts,
|
|
3092
3093
|
linkedProducts,
|
|
3093
3094
|
localPackageDirs: [
|
|
3094
|
-
...new Set(localPackageDirs.map((dir) => fs.realpathSync(dir))),
|
|
3095
|
+
...new Set(localPackageDirs.map((dir) => fs.realpathSync.native(dir))),
|
|
3095
3096
|
].sort(),
|
|
3096
3097
|
binaryFrameworks: [...binaryFrameworks]
|
|
3097
3098
|
.map(([name, file]) => ({ name, path: file }))
|