Bundle compiler reads Agent/bundle.json describing outputs, bundles, typings, and externals. Package install is driven by Agent/package.json + Agent/package-lock.json (managed via frida-pm), so the lockfile is the source of truth for resolved versions. @types/frida-gum and @types/node are embedded into LumaTypings.swift at build time; the Resources d.ts is no longer checked in. Editor profiles append both as extra libs.
22 lines
756 B
JSON
22 lines
756 B
JSON
{
|
|
"output": {
|
|
"agent": "../Sources/LumaCore/Generated/LumaAgent.swift",
|
|
"typings": "../Sources/LumaCore/Generated/LumaTypings.swift"
|
|
},
|
|
"input": {
|
|
"bundles": [
|
|
{ "name": "core", "kind": "agent", "entrypoint": "Agent/core/luma.ts" },
|
|
{ "name": "drain", "kind": "agent", "entrypoint": "Agent/instruments/drain-agent.ts" },
|
|
{ "name": "tracer", "kind": "module", "entrypoint": "Agent/instruments/tracer.ts" },
|
|
{ "name": "codeShare", "kind": "module", "entrypoint": "Agent/instruments/codeshare.ts" }
|
|
],
|
|
"typings": [
|
|
{ "name": "fridaGum", "package": "@types/frida-gum" },
|
|
{ "name": "node", "package": "@types/node" }
|
|
],
|
|
"externals": [
|
|
"frida-java-bridge"
|
|
]
|
|
}
|
|
}
|