-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bluprintrc
70 lines (70 loc) · 1.79 KB
/
.bluprintrc
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
{
"bluprint": "^0.6.2",
"name": "graphics rig",
"category": "",
"actions": [{
"action": "prompt",
"questions": [{
"type": "text",
"name": "projectName",
"message": "What should we call this project?"
}],
"condition": ["bluprintPart", null]
}, {
"action": "remove",
"paths": ["README.md"],
"condition": ["bluprintPart", null]
}, {
"action": "move",
"paths": ["PROJECT_README.md", "README.md"],
"condition": ["bluprintPart", null]
}, {
"action": "render",
"engine": "mustache",
"files": ["README.md"],
"condition": ["bluprintPart", null]
}, {
"action": "regexreplace",
"files": ["package.json"],
"replace": [
["projectName", "{{#slugify}}{{ projectName }}{{/slugify}}"]
],
"condition": ["bluprintPart", null]
}, {
"action": "execute",
"cmds": [
["yarn"],
["chmod", ["ug+x", ".husky/pre-commit"]],
["chmod", ["ug+x", "bin/hooks/*"]],
["npx", ["get-ai", "project-files"]],
["runner", ["check:creds"]]
]
}, {
"action": "execute",
"cmds": [
["git", ["init"]],
["git", ["add", "."]],
["git", ["commit", "-m", "initial"]],
["runner", ["repo:create"]],
["runner", ["trello:create"]],
["yarn", ["husky", "install"]],
["yarn", ["gdoc:make-archie-doc"]],
["runner", ["start"]]
],
"condition": ["bluprintPart", null]
}, {
"action": "log",
"msg": "⚠️ {yellow NOTICE:} This rig will be retired in 2022. Consider using the new {cyan Graphics Kit} if you're starting a new project.",
"condition": ["bluprintPart", null]
}],
"parts": {
"Update my rig": [
"bin/**/*",
"config/**/*",
".tasksrc.js",
"package.json",
"src/js/tools/dev/**/*"
]
},
"mergeJson": true
}