#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const child_process_1 = require("child_process");
const packageDir = __dirname.substring(0, __dirname.lastIndexOf('dist') - 1);
const baseDir = packageDir.endsWith('node_modules/@zyno-io/dk-server-foundation') ? packageDir.substring(0, packageDir.length - 43) : packageDir;
(0, child_process_1.execSync)('npx deepkit-type-install', { cwd: baseDir });
(0, child_process_1.execSync)('npx patch-package --patch-dir ./node_modules/@zyno-io/dk-server-foundation/patches', { cwd: baseDir });
process.exit(0);
//# sourceMappingURL=dksf-install.js.map