-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmplr.yml
64 lines (50 loc) · 1.37 KB
/
.tmplr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
steps:
- read: package_name
prompt: "What is the name of the package?"
default:
from: git.remote_name
fallback:
from: filesystem.rootdir
- read: package_description
prompt: "Describe the package in a sentence."
- read: package_author
prompt: "Who is the author of the package?"
default:
from: git.author_name
- read: repo_host
from: git.remote_provider
- read: repo_owner
from: git.remote_owner
- read: repo_name
from: git.remote_name
- read: repo_url
eval: 'https://{{ repo_host }}/{{ repo_owner }}/{{ repo_name }}'
- read: issues_url
eval: '{{ repo_url }}/issues'
- read: homepage_url
prompt: "What is the project home page?"
default: '{{ repo_url }}#readme'
- read: clone_url
prompt: "Where can people clone the project from?"
default:
from: git.remote_url
- use: trcps/npm-autopublish
with:
test_command: npm run coverage
lint_command: npm run lint
- copy: README.md.tmpl
to: README.md
- remove: node_modules
- update: '**/*.ts'
- update: package.json
- copy: workflows/**/*
to: .github/workflows
- remove: workflows
- use: trcps/license
with:
owner: '{{ package_author }}'
project_name: '{{ package_name }}'
project_url: '{{ homepage_url }}'
- remove: '**/*.tmpl'
include hidden: true
- remove: .tmplr.yml