"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeDevDependencies = void 0;
const fs_1 = __importDefault(require("fs"));
const path_1 = __importDefault(require("path"));
const removeDevDependencies = (projectPath) => {
    // remove monorepo next.config.js plugin
    const monorepoPlugin = path_1.default.join(projectPath, 'src/lib/next-config/plugins/monorepo-xmcloud.js');
    if (fs_1.default.existsSync(monorepoPlugin)) {
        fs_1.default.unlinkSync(monorepoPlugin);
    }
};
exports.removeDevDependencies = removeDevDependencies;
