-
Notifications
You must be signed in to change notification settings - Fork 3
/
.backpack.yaml
65 lines (61 loc) · 1.67 KB
/
.backpack.yaml
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
#
# Your backpack configuration
#
version: 1
# projects_external:
# - name: community
# href: https://....
#
# set up projects as convenient shortcuts to your starter projects or templates.
# $ backpack new rust-starter
#
# projects:
# rust-starter:
# shortlink: jondot/rust-starter # you can use any custom prefix here too
# mode: new
# rust-ci:
# shortlink: jondot/rust-starter/-/.github # you can use any custom prefix here too
# mode: apply
# react:
# shortlink: foobar # you can use any custom prefix here too
#
#
projects:
react-prompts:
shortlink: kriasoft/react-starter-kit
actions:
- name: "name of file"
hook: before
interaction:
kind: input
prompt: name of your app
out: file_name
swaps:
- key: README.md
val_template: "{{file_name}}"
path: .*
- key: tsconfig.json
val: ts-config.json
##
# set up custom vendor prefixes, for convenience and also for custom git
# URLs such as hosted github or gitlab and others.
# $ backpack new ghe:jondot/rust-starter
#
# vendors:
# # overrides the default git vendor when you don't specify a prefix.
# # $ backpack my-org/my-repo
# default:
# kind: gitlab # options: gitlab | github | bitbucket
# base: my.gitlab.com
# custom:
# # custom github org to prefix, and also overrides the 'gh:' prefix.
# # $ backpack new gh:my-repo my-repo
# gh:
# kind: github
# base: github.com/my-org
#
# # sets the 'ghe' prefix to a custom git vendor for your organization, self-hosted.
# # $ backpack new ghe:my-team/my-repo my-repo
# ghe:
# kind: github
# base: github.enterprise.example.com