t3-code-android-nightly/.repos/alchemy-effect/.pnpmfile.mjs
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

14 lines
493 B
JavaScript

import { existsSync } from "node:fs";
import { resolve } from "node:path";
import { bootstrap } from "./scripts/bootstrap-distilled.mjs";
export const hooks = {
updateConfig(config) {
// pnpm also runs this hook for parallel Turbo tasks. Only bootstrap a
// missing checkout; leave existing worktrees and their Git config alone.
if (!existsSync(resolve(import.meta.dirname, "submodules/distilled/.git"))) {
bootstrap(import.meta.dirname);
}
return config;
},
};