"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findDemoPatches = exports.demoDependenciesToRemove = exports.DEMO_MARKUP_PREFIX = void 0;
var gluegun_1 = require("gluegun");
exports.DEMO_MARKUP_PREFIX = "@demo";
exports.demoDependenciesToRemove = ["@react-navigation/bottom-tabs", "expo-application"];
function findDemoPatches() {
    var patchesPath = gluegun_1.filesystem.path("./patches");
    // Return empty array if patches directory doesn't exist
    if (!gluegun_1.filesystem.exists(patchesPath))
        return [];
    var globs = exports.demoDependenciesToRemove.map(function (dep) { return "".concat(dep, "*.patch"); });
    var filePaths = gluegun_1.filesystem.cwd("./patches").find({
        matching: globs,
    });
    return filePaths;
}
exports.findDemoPatches = findDemoPatches;
//# sourceMappingURL=demo.js.map