UNPKG

@iobroker/create-adapter

Version:

Command line utility to create customized ioBroker adapters

36 lines (32 loc) 738 B
"use strict"; const templateFunction = answers => { const useNyc = answers.tools && answers.tools.indexOf("code coverage") > -1; const useDevContainer = answers.tools && answers.tools.includes("devcontainer"); const template = ` # No dot-directories except github/vscode .*/ !.vscode/ !.github/ ${useDevContainer ? `!.devcontainer/` : ""} *.code-workspace node_modules nbproject # npm package files iobroker.*.tgz Thumbs.db .commitinfo ${useNyc ? ` # NYC coverage files coverage ` : ""} # i18n intermediate files admin/i18n/flat.txt admin/i18n/*/flat.txt `; return template.trim(); }; templateFunction.customPath = ".gitignore"; module.exports = templateFunction; //# sourceMappingURL=_gitignore.js.map