forked from platformsh/template-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby.migrate.json
69 lines (69 loc) · 3.01 KB
/
gatsby.migrate.json
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
{
"template": "gatsby",
"type": "nodejs",
"type_version": "16",
"remote": {
"major_version": "master",
"repository": "https://github.com/gatsbyjs/gatsby-starter-blog.git",
"latest_tag": null
},
"last_updated_on": "2022-04-05-13:59:54",
"migration": {
"files": {
"rel_template": [
"https://raw.githubusercontent.com/platformsh-templates/gatsby/master/README.md",
"https://raw.githubusercontent.com/platformsh-templates/gatsby/master/.platform.app.yaml",
"https://raw.githubusercontent.com/platformsh-templates/gatsby/master/.platform/services.yaml",
"https://raw.githubusercontent.com/platformsh-templates/gatsby/master/.platform/routes.yaml"
],
"rel_tb": [
"https://raw.githubusercontent.com/platformsh/template-builder/master/README.md",
"https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml",
"https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml",
"https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml"
],
"rel_root": [
"README.md",
".platform.app.yaml",
".platform/services.yaml",
".platform/routes.yaml"
]
},
"commands": {
"cleanup": [
"rm -rf /Users/chadcarlson/template-builder/templates/gatsby/build/"
],
"init": [
"git clone git@github.com:platformsh-templates/gatsby.git /Users/chadcarlson/template-builder/templates/gatsby/build/",
"git remote add project https://github.com/gatsbyjs/gatsby-starter-blog.git"
],
"update": [
"git checkout master",
"git fetch --all --depth=2",
"git fetch --all --tags",
"git merge --allow-unrelated-histories -X theirs --squash project/master"
],
"platformify": [
"rsync -aP /Users/chadcarlson/template-builder/common/all/ /Users/chadcarlson/template-builder/templates/gatsby/build/",
"rsync -aP /Users/chadcarlson/template-builder/templates/gatsby/files/ /Users/chadcarlson/template-builder/templates/gatsby/build/",
"rm -rf package-lock.json"
],
"branch": [
"git checkout -b updatesLocal"
],
"push": []
},
"migrate": {
"init": [
"mkdir gatsby && cd gatsby",
"git init",
"git remote add upstream https://github.com/gatsbyjs/gatsby-starter-blog.git",
"git branch -m main",
"git fetch --all --depth=2",
"git fetch --all --tags",
"git merge --allow-unrelated-histories -X theirs master"
],
"deps": []
}
}
}