-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopier.yaml
More file actions
119 lines (101 loc) · 2.9 KB
/
Copy pathcopier.yaml
File metadata and controls
119 lines (101 loc) · 2.9 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
_answers_file: .copier-answers.yaml
_exclude:
- name-slug.jinja
- module-slug.jinja
project_name:
type: str
help: What is your project name?
project_description:
type: str
help: What is your project description?
project_name_formatted:
type: str
default: "{% include 'name-slug.jinja' %}"
when: false
module:
type: str
default: "{% include 'module-slug.jinja' %}"
when: false
github:
type: str
help: What is your GitHub User/Organization name?
team:
type: str
help: What is your name or your team's name?
when: "{{ add_extension not in ['uitk-svelte', 'uitk-webawesome'] }}"
email:
type: str
help: What is your email?
when: "{{ add_extension not in ['uitk-svelte', 'uitk-webawesome'] }}"
add_extension:
type: str
help: Which project template should Copier use?
choices:
Python / Pure:
value: python
Python / C++:
value: cpp
Python / JavaScript:
value: js
Python / Rust:
value: rust
Python / Jupyter Widget:
value: jupyter
Python / Rust + JavaScript + WebAssembly:
value: rustjswasm
Python / C++ + JavaScript + WebAssembly:
value: cppjswasm
JavaScript / UI Toolkit / Svelte:
value: uitk-svelte
JavaScript / UI Toolkit / Lit + Web Awesome:
value: uitk-webawesome
_subdirectory: "{% if add_extension == 'python' %}python/pure{% elif add_extension in ['uitk-svelte', 'uitk-webawesome'] %}javascript/{{ add_extension }}{% else %}python/{{ add_extension }}{% endif %}"
add_vcpkg:
type: bool
default: false
help: Add vcpkg dependency management
when: "{{ add_extension in ['cpp', 'cppjswasm'] }}"
python_version_primary:
type: str
default: 3.11
choices:
"3.10":
value: "3.10"
"3.11":
value: "3.11"
"3.12":
value: "3.12"
"3.13":
value: "3.13"
help: Primary version of Python to use in CI/CD
when: "{{ add_extension not in ['uitk-svelte', 'uitk-webawesome'] }}"
add_docs:
type: bool
default: false
help: Add documentation using Yardang/Sphinx
when: "{{ add_extension not in ['uitk-svelte', 'uitk-webawesome'] }}"
add_wiki:
type: bool
default: false
help: Add documentation using GitHub wiki
when: "{{ add_extension not in ['uitk-svelte', 'uitk-webawesome'] }}"
package_name:
type: str
help: What is the npm package name?
default: "@example/branding"
when: "{{ add_extension in ['uitk-svelte', 'uitk-webawesome'] }}"
brand_name:
type: str
help: What is the human-readable brand name?
default: "{{ project_name }}"
when: "{{ add_extension in ['uitk-svelte', 'uitk-webawesome'] }}"
css_prefix:
type: str
help: What prefix should global CSS custom properties use?
default: brand
when: "{{ add_extension in ['uitk-svelte', 'uitk-webawesome'] }}"
element_prefix:
type: str
help: What prefix should custom elements use?
default: brand
when: "{{ add_extension == 'uitk-webawesome' }}"