From 6310da99086ebfd178c171c541c8f5aa9696465b Mon Sep 17 00:00:00 2001 From: phatpham9 Date: Sun, 22 Mar 2020 16:07:35 +0700 Subject: [PATCH] fix(close #10): missing dotfiles in the output --- generators/app/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generators/app/index.js b/generators/app/index.js index c4f70a8..63d3615 100644 --- a/generators/app/index.js +++ b/generators/app/index.js @@ -37,13 +37,13 @@ module.exports = class extends Generator { { type: 'input', name: 'elementHomepageUrl', - message: 'Package homepage URL?', + message: 'Homepage URL?', default: `https://github.com/${githubUsername}/${this.appname}`, }, { type: 'input', name: 'elementBugsUrl', - message: 'Bugs tracking site?', + message: 'Bugs tracking URL?', default: `https://github.com/${githubUsername}/${this.appname}/issues`, }, { @@ -55,7 +55,7 @@ module.exports = class extends Generator { { type: 'input', name: 'elementRepositoryUrl', - message: 'Package repository URL?', + message: 'Repository URL?', default: `https://github.com/${githubUsername}/${this.appname}.git`, }, ]; @@ -68,7 +68,7 @@ module.exports = class extends Generator { writing() { this.fs.copyTpl( - [this.templatePath('**/*.*')], + [this.templatePath('**/*'), this.templatePath('**/.*')], this.destinationPath(), this.props, );