lib/dopstick/generator/npm/generator.rb in dopstick-0.0.11 vs lib/dopstick/generator/npm/generator.rb in dopstick-0.0.12
- old
+ new
@@ -28,11 +28,10 @@
File.join(__dir__, "templates")
end
def copy_npm_templates
template "package.erb", "package.json"
- template "tests_workflow.erb", ".github/workflows/js-tests.yml"
template "tsconfig.erb", "tsconfig.json"
template "prettier.erb", "prettier.config.js"
template "jest.erb", "jest.config.js"
template "eslint.erb", ".eslintrc.js"
template "webpack.erb", "webpack.config.js"
@@ -49,9 +48,10 @@
template "contributing.erb", "CONTRIBUTING.md"
template "gitignore.erb", ".gitignore"
end
def copy_github_templates
+ template "tests_workflow.erb", ".github/workflows/js-tests.yml"
template "funding.erb", ".github/FUNDING.yml"
template "bug_report.erb", ".github/ISSUE_TEMPLATE/bug_report.md"
template "feature_request.erb",
".github/ISSUE_TEMPLATE/feature_request.md"
template "pull_request.erb", ".github/PULL_REQUEST_TEMPLATE.md"