-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.bluprintrc
58 lines (58 loc) · 1.6 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
{
"bluprint": "^0.6.3",
"name": "Graphics Kit",
"category": "Graphics rigs",
"actions": [{
"action": "prompt",
"questions": [{
"type": "text",
"name": "projectName",
"message": "What should we call this project?"
}]
}, {
"action": "remove",
"paths": [
".github/workflows/release.yaml",
".github/workflows/test.yaml",
".github/CODEOWNERS",
".github/COMMIT_ERROR_ISSUE_TEMPLATE.md",
".github/PULL_REQUEST_TEMPLATE.md",
"test/*",
"CHANGELOG.md",
"CONTRIBUTING.md",
"README.md",
"rngs-io.json"
]
}, {
"action": "move",
"paths": ["PROJECT_README.md", "README.md"]
}, {
"action": "regexreplace",
"files": ["package.json", "README.md"],
"replace": [
["projectName", "{{#slugify}}{{ projectName }}{{/slugify}}"],
["\"@reuters-graphics/graphics-kit\"", "\"{{#slugify}}{{ projectName }}{{/slugify}}\""]
]
}, {
"action": "execute",
"cmds": [
["git", ["init"]],
["git", ["add", "."]],
["git", ["commit", "-m", "initial"]],
["pnpm", ["install"]],
["npx", ["lefthook", "install"]],
["pnpm", ["startup:check-creds"]],
["pnpm", ["startup:create-repo"]],
[
"npx",
[
"rngs-io stories new --name 'page-en' --template cltmvzj5m0000lc089jz22aet --syncPath 'locales/en/content.json' --askFirst"
]
],
["pnpm", ["startup:ai-templates"]]
]
}, {
"action": "log",
"msg": "\n\n🏁 Finished creating your project, {cyan {{ projectName }}}!\n\nRun {green pnpm start} to begin developing.\n"
}]
}