UNPKG

@nrwl/schematics

Version:

Extensible Dev Tools for Monorepos: Schematics

19 lines (18 loc) 490 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); const path = require("path"); exports.default = { description: 'Add tools directory', run: () => { try { fs_1.mkdirSync('tools'); } catch (e) { } try { fs_1.mkdirSync(path.join('tools', 'schematics')); } catch (e) { } fs_1.writeFileSync(path.join('tools', 'schematics', '.gitkeep'), ''); } };