nx-mesh
Version:
GraphQL Mesh support for Nx
16 lines • 673 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCodegenFiles = void 0;
const tslib_1 = require("tslib");
const devkit_1 = require("@nrwl/devkit");
const path = tslib_1.__importStar(require("node:path"));
function createCodegenFiles(tree, options) {
const examplePath = `./examples/${options.example}/codegen`;
(0, devkit_1.generateFiles)(tree, path.join(__dirname, examplePath), options.projectDirectory, {
projectDirectory: options.projectDirectory,
tmpl: '',
});
}
exports.createCodegenFiles = createCodegenFiles;
exports.default = createCodegenFiles;
//# sourceMappingURL=create-codegen-files.js.map