@coat/cli
Version:
TODO: See #3
27 lines (25 loc) • 612 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getDefaultFiles = getDefaultFiles;
var _coatManifestFile = require("../types/coat-manifest-file");
/**
* Creates files that are generated by default if the template
* does not overwrite them.
*
* For now it only contains a .gitignore file to prevent
* empty templates that check in their node_modules
* by default.
*/
function getDefaultFiles() {
return [{
file: ".gitignore",
content: `node_modules
# coat local files
/.coat
`,
type: _coatManifestFile.CoatManifestFileType.Text,
once: true
}];
}