Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/vxrn/.depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ ignores:
- "@vxrn/query-string"
- "@vxrn/url-parse"
- "@vxrn/vendor"
# intentionally removed from deps due to vite 8 conflict, dynamically imported at runtime
- "qrcode-terminal"
12 changes: 10 additions & 2 deletions packages/vxrn/expo-plugin.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,21 @@ function addDepsPatchToAppBuildGradle(input) {
`
/**
* [vxrn/one] ensure patches are applied
* uses ExecOperations injection (Gradle 9 compatible)
*/
interface InjectedExecOps {
@Inject
ExecOperations getExecOps()
}

def injected = objects.newInstance(InjectedExecOps)

gradle.taskGraph.whenReady { taskGraph ->
tasks.named("createBundleReleaseJsAndAssets").configure {
doFirst {
def vxrnCli = new File(["node", "--print", "require.resolve('vxrn/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsolutePath() + "/run.mjs"
exec {
commandLine vxrnCli, "patch"
injected.execOps.exec {
commandLine "node", vxrnCli, "patch"
}
}
}
Expand Down
Loading